[Frage] Insert Object from Allplan Library


Hi,

Is there a function in Visual Scripting to insert an object from Allplan Library? For example, I created a steel truss that needs to be copied a lot of times on X-direction and Y-direction. I want to make an algorithm that inserts it 20 times on X and 10 times on Y, at a specified distance. If the truss needs to be modified, I would like to be able to update the Library object and then run the copying script. Every example I could find using Visual Scripting starts from creating the object and then copying it.

Hi,

currently we support only PythonPart placement from the library.

The functionality for the other library objects (Smart Symbols, Symbols, Fixtures) is currently only accessible through PythonParts development. The inclusion of these objects in a node is planned, but we do not have a release date yet.

Best regards
Horst

Hi,

Thank you for your answer.
Is there another possibility to make a series of arrays from one object? I tried doing it with the "Copy along path" function, but the problem is that the copies are inserted as a single pythonpart, while the original is a "Structural framing beam". Attached is the result I would like to obtain via a script starting from the circled object. I did this manually, but if something needs to be changed, I have to redo it every time.

Is there another kind of scripting (similar to Autocad lisp) where you can insert the commands as a list and the program will execute them in order?

Best regards,
Vlad

Anhänge (1)

Typ: image/png
74-mal heruntergeladen
Größe: 699,71 KiB

Normally you can explode the PythonPart object if you want to get the individual objects inside one PythonPart.

Which node did you use to select existing structural framing beams from Allplan? As far as I know, nodes such as CopyAlongPath doesn't work with existing objects in Allplan.

Zitiert von: Cyberpunk17
Is there another kind of scripting (similar to Autocad lisp) where you can insert the commands as a list and the program will execute them in order?

You can try coded-PythonPart to automate your custom process. But for that you need to learn Python API a little bit.

Product Owner API, Allplan GmbH


Verwendung von Cookies:
Um die Webseite optimal gestalten und fortlaufend verbessern zu können, verwendet Allplan Cookies.
Durch die weitere Nutzung der Webseite erklären Sie sich mit der Verwendung von Cookies einverstanden.  -  Mehr Informationen

Schließen