Home > Community > Forums > Custom IC SKILL > how to select all the layers in a window and merge the layers

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: *

 how to select all the layers in a window and merge the layers  

Last post Fri, Mar 27 2009 8:00 AM by SUBBHAREDDY. 4 replies.
Started by SUBBHAREDDY 24 Mar 2009 05:08 AM. Topic has 4 replies and 2530 views
Page 1 of 1 (5 items)
Sort Posts:
  • Tue, Mar 24 2009 5:08 AM

    how to select all the layers in a window and merge the layers Reply

    Hi  

    how to select all the layers in a layout window and merge the layers.

    I want  to write a skill code for these ?

    Pls help me out.

     Thanks and regards

    Subbhareddy 

    • Post Points: 5
  • Tue, Mar 24 2009 6:56 AM

    Re: how to select all the layers in a window and merge the layers Reply

    Hi

    There is a layout window suppose.

    Selecting all the layers,where we will use "ctrl+A" and merge it.

    I want skill code for this.

     

    Thanks and regards

    Subbhareddy

     

    • Post Points: 20
  • Thu, Mar 26 2009 8:55 AM

    Re: how to select all the layers in a window and merge the layers Reply

     dbLayerOr takes a list of database ID's and merges them without affecting the original data objects. We had a discussion on finding the shapes on a layer in a previous post:

    myLPP = setof( lpp cvId~>lpps lpp~>layerName == "myMetal")

    myLppShapes = myLPP~>shapes

    dbLayerOr( cvId  list( "myMergedMetal" "drawing") myLppShapes))

    You would then delete the original objects. If you wanted to merge through the hierarchy, you would use dbGetOvelaps on the bounding box and transform any object which is at a lower level of hierarchy. Here the use of a scratch cell or the dbPointArrayOr commands may be useful.

    The layer Booleans and the Point Array functions are defined in the Virutoso Design Environment SKILL Reference.

     Ted

    • Post Points: 20
  • Thu, Mar 26 2009 9:11 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: how to select all the layers in a window and merge the layers Reply

    Hi,

    If you are interested in performing layer operations through the hierarchy, there is a SourceLink solution solution that can do this through a form-driven interface that is similar to the built-in Create -> Layer Generation menu (it is Tools -> Layer Generation in IC61x).

    SourceLink Solution 11237840

    You could adapt this SKILL code if you did not want to use a form in your flow.

     Regards,

    Lawrence.

    • Post Points: 20
  • Fri, Mar 27 2009 8:00 AM

    Re: how to select all the layers in a window and merge the layers Reply

    Hi

     Thanks,it works fine.

     Thanks and regards

    Subbhreddy

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by SUBBHAREDDY at 24 Mar 2009 05:08 AM. Topic has 4 replies.