Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

layer and layouts

Last post 09-02-2008 2:20 PM by James Westgate. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 08-28-2008 11:33 PM

    layer and layouts

    it looks like applying a layout to the diagram affects all the shapes on all layers?

    is that true?

    what if want to only apply to a specific  layer?

    thanks

    Filed under:
    • 164.144.248.25
  • 09-01-2008 2:34 PM In reply to

    Re: layer and layouts

    This would need to be a manual process. You need to loop through each Element and compare the Layer property, adding the element to a collection for removal. Once this is done, iterate through the temporary collection a  remove the associated key from the Shapes/Lines collection.

     We will look to add this functionality in a future version.

    • 86.147.176.127
  • 09-01-2008 11:28 PM In reply to

    Re: layer and layouts

     ok for removal that idea will work fine.

     but i really wondered about the layout feature which would be much better if it could be applied to specific layers.

     thanks

    • 75.109.178.174
  • 09-02-2008 2:20 PM In reply to

    Re: layer and layouts

    Answering the question now .. you can override the QueryShape and QueryLine methods of the Graph class to only consider items in a particular layer. This is something we will look to add in a future version,

    Filed under:
    • 86.149.156.77
Page 1 of 1 (4 items)