• 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. get shape attributes

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 144
  • Views 13656
  • 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

get shape attributes

ahata
ahata over 13 years ago

 Hi,

I would like to get the layotu attributes, such as the layerName and bbo. The following code allows me to do it

 

               cv = geGetWindowCellView( wid )
               layer = "PO"      
               poly = length(setof( shape cv~>shapes shape~>layerName == layert  ))

However this code requieres the layout to be opened in a windows. Can I get the shape attributes without opening a windows?

 I tried this, but it did not work...

cvId = dbOpenCellViewByType( ALO_LIB_ID cellVariant "layout" "maskLayout" "w" )

numShapes = length(setof( shape cv~>shapes shape~>layerName == "M1" ))   

This code does not get the number of shapes.. 

Thanks

  • Cancel
Parents
  • Quek
    Quek over 13 years ago

    Hi Ahata

    You should not be using "w" mode as it erases the original contents of the cellview. You should open the cellview in read-only mode:

    cv=dbOpenCellViewByType(ALO_LIB_ID cellVariant "layout")

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Quek
    Quek over 13 years ago

    Hi Ahata

    You should not be using "w" mode as it erases the original contents of the cellview. You should open the cellview in read-only mode:

    cv=dbOpenCellViewByType(ALO_LIB_ID cellVariant "layout")

    Best regards
    Quek

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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