Book a Demo

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.


Messages - MichaelMurrayNL

Pages: [1]
1
Thanks Geert.  Useful reply! 

I realize I will have to do the hard work now....


2
Hopefully we can all agree that the automatic layouts in sparx is terrible, basic at best.

 - I am trying to do some custom auto-layout scripts by setting left,right,top,bottom coordinates of objects. 
 - I have learned/understand that the x axis needs to be negative.
 - I have learned/understand that if anything goes "wonky" that the object is restored to some default location at the top left.
 - I have mined all the previous posts, but could not find a good resource.[/li][/list]


My question:  Has anyone done something similar or know of a good piece of documentation or examples.  Can you point me in the right direction.

Here is what I want to do.
 - I would like to move the objects to a specific location.
 - I would like to move evenly space endpoints (to prevent them being on top of each other)
 - I would like to move objects without accidently moving "nested" objects.
 - I would like to "unnest objects" if needed, multiple levels deep.
 - I would like to "nest objects" when needed, multiple levels deep.
 - I would like to align objects with an offset (like a tree structure). (Maybe I can do it with my first request manually)

Any helpful comments will be appreciated.




3
OK - I now have code to extract this, if anyone ever needs it.

I know this post if quite old, but would love it if you could share this code.

Pages: [1]