1
Automation Interface, Add-Ins and Tools / Re: How to set CompositeDiagram on an Element
« on: May 11, 2022, 05:39:48 pm »
Thanks Geert,
Well actually the SetCompositeDiagram() works in my case so I do not have to use your more dangerous query solution.
I am a bit ashamed to say that I just did not scroll down enough in the help text to find this myself.
In my defense I have now completed a kickstart script that will generate a basic set of diagrams with navigation between them based on an well structure model.
It is really amazing at times what you can do with the scripts although it is hard to get them dummy proof, as a mistake in your script (or in my case an unanticipated use of a script in a different context) can do a lot of harm to your repository. So my kickstart script is heavy user only ;-)
Well actually the SetCompositeDiagram() works in my case so I do not have to use your more dangerous query solution.
I am a bit ashamed to say that I just did not scroll down enough in the help text to find this myself.
In my defense I have now completed a kickstart script that will generate a basic set of diagrams with navigation between them based on an well structure model.
It is really amazing at times what you can do with the scripts although it is hard to get them dummy proof, as a mistake in your script (or in my case an unanticipated use of a script in a different context) can do a lot of harm to your repository. So my kickstart script is heavy user only ;-)