Home > Community > Forums > Custom IC SKILL > Filter Path from Selected set of shapes

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Filter Path from Selected set of shapes 

Last post Tue, Jun 11 2013 9:39 PM by Ajesh Dhanraj. 4 replies.
Started by Ajesh Dhanraj 27 May 2013 06:02 AM. Topic has 4 replies and 613 views
Page 1 of 1 (5 items)
Sort Posts:
  • Mon, May 27 2013 6:02 AM

    Filter Path from Selected set of shapes Reply

    Hei,

    Is there a command to filter paths from a selected set of shapes.

    Thanks in advance.

    Ajesh 

    • Post Points: 20
  • Mon, May 27 2013 6:35 AM

    • marcelpreda
    • Top 150 Contributor
    • Joined on Tue, Jan 19 2010
    • Bucharest, Romania
    • Posts 43
    • Points 695
    Re: Filter Path from Selected set of shapes Reply

    hi Ajesh,

     

    you have to look for objType property.

    soemthing like

    my_path_set = setof(x my_fig_set x~>objType == "path")

     

    BR,

    Marcel

    Filed under:
    • Post Points: 20
  • Mon, May 27 2013 6:54 AM

    Re: Filter Path from Selected set of shapes Reply
    Thanks Marcel, Could you make it a little clear. I have just started self learning on SKILL. Thanks Ajesh.
    • Post Points: 20
  • Mon, May 27 2013 8:34 AM

    Re: Filter Path from Selected set of shapes Reply

    Ajesh,

    It might have helped if you were a little clearer as to what you meant by "Filter".

    You might have wanted to just do this (this code will deselect any paths from the shapes selected, which will "filter" them - but I don't know whether that is what you meant by filter).

    foreach(fig geGetSelSet()
      when(fig~>objType geDeselectFig(fig))
    )

    In IC615 you can also use the layer (actually the object palette, I think) to control which types of shapes are selectable.

    Regards,

    Andrew

    • Post Points: 20
  • Tue, Jun 11 2013 9:39 PM

    Re: Filter Path from Selected set of shapes Reply
    Thanks Marcel and Andrew,
    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by Ajesh Dhanraj at 27 May 2013 06:02 AM. Topic has 4 replies.