Home > Community > Forums > Custom IC SKILL > How to use hierarchy objects in dbLayerSize() command.

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 use hierarchy objects in dbLayerSize() command. 

Last post Wed, Feb 6 2013 2:02 AM by Sarvani. 2 replies.
Started by Sarvani 04 Feb 2013 03:37 AM. Topic has 2 replies and 779 views
Page 1 of 1 (3 items)
Sort Posts:
  • Mon, Feb 4 2013 3:37 AM

    • Sarvani
    • Top 75 Contributor
    • Joined on Mon, Mar 12 2012
    • VIZAG, Andhra Pradesh
    • Posts 112
    • Points 1,920
    How to use hierarchy objects in dbLayerSize() command. Reply

    Hi all,

            I have to generate M1 layer under M2 in layout.

    cv=geGetEditCellView()

     figList2= dbGetOverlaps(cv list(car(pts) car(pts)) list("M2" "drawing") 32 t)

     dbLayerSize(cv list("M1" "drawing")   figList2 -0.08)

    It works well for M2 layers in present level. Doesn't works for hirerchy M2 layers. Please help me.

     

    Thank you,

    Sarvani.

    • Post Points: 20
  • Tue, Feb 5 2013 3:18 AM

    Re: How to use hierarchy objects in dbLayerSize() command. Reply

    You probably need to copy the shapes from the lower cells to the top level before sizing them. For example:

    procedure(abGetOverlapShape(overlap)
      if(listp(overlap) then
          abGetOverlapShape(cadr(overlap))
      else
          overlap
      )
    )

    flattenendFigList2=foreach(mapcar overlap figList2
      srcShape=abGetOverlapShape(overlap)
      dbCopyFig(srcShape cv dbGetHierPathTransform(overlap))
    )

    Once you've sized them, you might want to delete these flattened shapes.

    Regards,

    Andrew.

     

    • Post Points: 20
  • Wed, Feb 6 2013 2:02 AM

    • Sarvani
    • Top 75 Contributor
    • Joined on Mon, Mar 12 2012
    • VIZAG, Andhra Pradesh
    • Posts 112
    • Points 1,920
    Re: How to use hierarchy objects in dbLayerSize() command. Reply

     Thank you very much Andrew. It's working now. I have used dbConcatTransform command for every level instead of dbGetHierPathTransform because of 5141 version.

     Sarvani.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Sarvani at 04 Feb 2013 03:37 AM. Topic has 2 replies.