Home > Community > Forums > Custom IC SKILL > prBoundary translation

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

 prBoundary translation  

Last post Tue, Oct 13 2009 9:54 PM by sooky. 2 replies.
Started by sooky 08 Oct 2009 06:14 PM. Topic has 2 replies and 1357 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Oct 8 2009 6:14 PM

    • sooky
    • Not Ranked
    • Joined on Wed, Jul 16 2008
    • Posts 8
    • Points 70
    prBoundary translation Reply

    hi all:

     I want to translate my prBoundary of PBCEL wrote as a "rect" in  CDB into  OA with the objType is "prBoundary" .

      the  script in CBD now :

            Bound = rodCreateRect(
                   ?cvId          pcCellView
                   ?name          "Bound"                           ==> OA : the boundary that  objType is "prBoundary". 
                   ?layer         list("prBoundary" "drawing")
                   ?bBox          list(0.0:0.0 2.0:14.0)
                  )

    thanks for your help.

     

    • Post Points: 20
  • Fri, Oct 9 2009 1:34 AM

    Re: prBoundary translation Reply

    You can either just create the PrBoundary object directly:

    boundObj=dbCreatePRBoundary(
        pcCellView
        list(0.0:0.0 0.0:14.0 2.0:14.0 2.0:0.0)
        )
    

    or if you want to create a ROD object first (for example, to align to, or whatever) you can do:

    Bound = rodCreateRect(
           ?cvId          pcCellView
           ?name          "Bound" 
           ?layer         list("prBoundary" "drawing")
           ?bBox          list(0.0:0.0 2.0:14.0)
          )
    ; after we've finished using the Bound rod object for whatever
    ; we need it for, convert it into a PrBoundary object.
    boundObj=dbCreatePRBoundary(
        pcCellView
        list(Bound~>upperLeft Bound~>upperRight Bound~>lowerRight Bound~>lowerLeft)
        )
    ; don't need the original ROD object any more
    dbDeleteObject(Bound~>dbId)

    Regards,

    Andrew.

    • Post Points: 20
  • Tue, Oct 13 2009 9:54 PM

    • sooky
    • Not Ranked
    • Joined on Wed, Jul 16 2008
    • Posts 8
    • Points 70
    Re: prBoundary translation Reply

    It works well 

    Thank you Andrew.

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by sooky at 08 Oct 2009 06:14 PM. Topic has 2 replies.