1
Automation Interface, Add-Ins and Tools / How to set CompositeDiagram on an Element
« on: May 11, 2022, 05:08:47 pm »
In the GUI you can easily add a ChildDiagram to an Element by using "New Child Diagram" either by creating a new Diagram with "Composite Structure Diagram" or linking an existing with "Select Composite Diagram".
I am generating a skeleton set of Diagrams based on my model and I would like to link the created diagrams to 'their' Element. However in the API the attribute CompositeDiagram is Readonly
Notes: Read only
If the element is Composite, returns its associated diagram; otherwise returns null.
Diagram Class
Also from the other side; Diagram object I do not find a way to set this, anybody did this before?
I am generating a skeleton set of Diagrams based on my model and I would like to link the created diagrams to 'their' Element. However in the API the attribute CompositeDiagram is Readonly
Notes: Read only
If the element is Composite, returns its associated diagram; otherwise returns null.
Diagram Class
Also from the other side; Diagram object I do not find a way to set this, anybody did this before?