1
Automation Interface, Add-Ins and Tools / Get DiagramObject objects
« on: May 02, 2013, 07:13:00 pm »
Hello,
I want to set the style of all components in all diagrams automatically using jscript. I created an SQL search and have the Object_IDs of the desired DiagramObjects. However, I couldn't find a function to get the DiagramObject using the ID (something similar to Reposityor.GetElementByID (long ElementID) ).
Do I really have to iterate over each Diagram there iterate over Diagram.DiagramObjects?
Sven
I want to set the style of all components in all diagrams automatically using jscript. I created an SQL search and have the Object_IDs of the desired DiagramObjects. However, I couldn't find a function to get the DiagramObject using the ID (something similar to Reposityor.GetElementByID (long ElementID) ).
Do I really have to iterate over each Diagram there iterate over Diagram.DiagramObjects?
Sven