OperationalEntites created by Python4Capella cannot be added to OEBD

Hello everyone,

After creation of Operational Entities by scripting, the created elements can not be added to Operational Entities Breakdown Diagram only operational entities created from palette are added to diagram.So can anyone help in clarification of this issue.


Setters implementation is limited in the Python API at the moment. Depending on how the diagram is specified you might need to add elements manually. If the diagram is synchronized on the other hand, adding the object to a reference and an object that should be displayed on the diagram, opening the diagram in Capella should be enough to see the new object on the diagram. You can also try the refresh command on the diagram. Right click and use the refresh menu or the refresh button in the diagram toolbar.

1 Like