[Frage] What is $ModelObject format and which nodes interact with it? [Gelöst]

Schlagworte:
  • ModelObject

Greetings everyone,

As written in the topic subject, what is ModelObject format in VS and which nodes interact with it?

Task:
Since AllPlan doesn't allow change of thickness in multiple wall elements at once view the "Change architecture properties" at once, decided to make a script for it.

How I guess it should work:
Select objects via Area input -> Filter the wall elements (it can be done also using attributes) -> This is where the problem happens -> "ModifyWallTierThickness" or "GetWallProperties" (as it allows change of thickness by default)

Tried using the "ModifyModelObject" and "SetModelObjectGeometry" nodes but I can't find any selection nodes that can feed $ModelObject format. What is this format and any ideas how to deal with it?

Kind regards,
Dobromir

Lösung anzeigen Lösung verbergen

The $ModelObject is a reference to an existing object in Allplan. Nodes, which can interact with them, is located under ModelObjects in the library.

For your task, you can try the example \Architecture\Modification\ModifyWallTierThickness.pyp, if it helps. You can then modify the script based on your own requirement.

Product Owner API, Allplan GmbH

The $ModelObject is a reference to an existing object in Allplan. Nodes, which can interact with them, is located under ModelObjects in the library.

For your task, you can try the example \Architecture\Modification\ModifyWallTierThickness.pyp, if it helps. You can then modify the script based on your own requirement.

Product Owner API, Allplan GmbH