• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. Can we create a rectangle with the flight layers

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 143
  • Views 14988
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can we create a rectangle with the flight layers

Neeraj Vardhan
Neeraj Vardhan over 11 years ago

Hi,

 

Is it possible to create rectangles of given bbox with the flight layers in layout. Currently i am using marker layer but want to change it to flight layers for neat vissibilty of error. Basically i just need a rectangle over my error box not a cross over it. 

 

Regards

Neeraj 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Yes. Just provide the right layer-purpose-pair to the dbCreateRect function. Isn't that obvious? Or am I missing something? If you know how to create a rectangle on the marker layer, surely you can do it for any other layer too?

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 11 years ago

    Hi Andrew,

    The script is running fine after i closed the tool. I wanted to add few features to the script such as

    1. it should automatically pick the bBox of the prBoundary layer without the need of selecting it such as this command geGetSelSet().

    2. I want to delete all the highlites done by flight layer with one bindkey.

     

    Regards'

    Neeraj 

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Neeraj,

    I see no reason why you should have to close the tool to make this work, but I can't see your code.

    Where you just telling us what you're planning to do in your second two points, or was there a question that you meant to ask? Neither are difficult, and reading the documentation and some experimentation would allow you to implement them both easily.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 11 years ago
    Andrew, I am not sure even how it started working after an exit. Coming to the script, I am using a script developed internal to my company and trying to make it more valuable. Basically it reports bBox of some errors with reference to the bBox, i wanted to load it and be highlighted by the flight layer by a bindkey then i wanted to remove these flight layers by a bindkey. I am unable to find the bBox of the prBoundary with out selecting it. So wanted to ask is there a command or line of code to do this. And the second one is how can i delete all the flight layers with one bindkey. If you could tell me how can we achieve about two points it will be helpful. Thanks for a prompt reply . Regards Neeraj
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    Are you using IC5141 or IC61X? I need to know this for the prBoundary information, because it's different between CDB and OA databases.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 11 years ago
    I am using 6.1.5 version Andrew. Regards Neeraj
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    procedure(CCFdeleteLayer(@key (cvId geGetEditCellView()) (layerName "y0") (purpose "flight"))
      foreach(shape
        car(exists(lpp cvId~>lpps lpp~>layerName==layerName && lpp~>purpose==purpose))~>shapes
        dbDeleteObject(shape)
      )
      t
    )

    Then call:

    CCFdeleteLayer(?layerName "theLayer" ?purpose "drawing")

    or whatever. I didn't know what you meant by "flight" layer - so I just picked a layer with a flight purpose.

    To find the bBox of the prBoundary, that's easy:

    geGetEditCellView()~>prBoundary~>bBox

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Neeraj Vardhan
    Neeraj Vardhan over 11 years ago

    Andrew its working, I have integrated these commands within my script. 

    Thanks & Regards

    Neeraj  

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information