Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Ruff

Pages: [1]
1
I was inspired by Java inserting into a legend
I have no issues adding the legend to the diagram but they entries to the legend aren't added.  Any ideas why this my not work are welcome.  (version 15.2.1554)

Here's the SQL statement in generates:(I can't post code but a paste link like this works?!?)


Link to Stack Overflow since I can't post code here.

2
Automation Interface, Add-Ins and Tools / Posting with ANY type of code
« on: January 03, 2025, 07:16:41 am »
Is anyone else able to get a message passed the cleaner Spam protection.  If I add any code it fails... :(

3
If an element is in a package, how can you script a way to located all the diagrams that it's contained in?

(I'm aware of Element.Diagrams and I'm not looking for sub-diagrams of the element, I'm talking across the repository.)

Would using the Element.Connectors.DiagramID be the answer or does the Connectors DiagramID hold another meaning?

4
I'm trying to import a new set of elements that supercede the existing ones.
I have migrate the relationships but when I try to replace the items in existing diagrams I'm having issues.

In the existing diagram DiagramObjects should have Top, Left, Bottom, Right.  This would help me to add the new relationship in the same spot.  But when I read this value, they're undefined.  I tried viewing their style and sure enough they're is no values for l,r,b,t.

I also just for giggles tried setting the value (DiagramObjects.Left = 50) updating the object and reloading the diagram, but this does nothing as well.

I can add an object with l,r,b,t and that works but how can we move thing via scripting?

Any ideas on how to get positioning of an DiagramObjects?

Pages: [1]