Context:
A model I need to export information from has property value groups and values assigned to many elements. In addition, there are diagrams that display property value groups and property values without being assigned to any elements. They are located there as being specific to the system(s) displayed in the diagram in general.
I have succesfully got all of the information of the property value groups and values that have been assigned to any element. The problem is getting the ones that are ‘floating’ in the diagrams, unassigned.
The goal of my script:
Retrieve Property Value Groups and their contained Property Values from PAB diagrams that are relevant to different systems.
My question:
Is there a known method for exporting diagrams and their information from the ‘Representations per category’ section of a model as opposed to the system engineering? (I understand I may have to get the system engineering anyway as the diagrams display the system engineering)
Alternatively I could attempt to run a script on a specific diagram however I’m not sure how to get the popup to recognise a Diagram. The right click option obviously works for CapellaElements but I don’t know how to target a specific diagram to then export contained elements.