Skill Qn: Getting the cellview type from the ddViewId

Discussion in 'Cadence' started by Suresh Jeevanandam, Dec 14, 2005.

  1. Is it possible to find the cellviewtype of a cellview given that I know
    only the ddId of the cellview.

    ddId = ddGetObj("MyLibName" "MyCellName" "MyViewName")

    I am checking if this is pointing to a "schematic" viewType by checking
    the value of member("sch.cdb" ddId->files~>name)

    Is there any other /clean/ way of doing this.

    regards,
    Suresh
     
    Suresh Jeevanandam, Dec 14, 2005
    #1
  2. Suresh,

    ddId=ddGetObj("MyLibName" "MyCellName" "MyViewName" "*")
    ddMapGetFileViewType(ddId)

    will do it.

    The "*" tells it to get the file object for the master file, and then the second
    function does the mapping using the registry.

    Andrew.
     
    Andrew Beckett, Dec 14, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.