Adding cells to category when creating them

Discussion in 'Cadence' started by Svenn Are Bjerkem, May 17, 2005.

  1. Hi,

    when creating a new cellView there is no posibility to assign it to a
    category from the create dialog (Maybe a PCR for Cadence). I have to
    edit the category and then add the cell to it. This is boring in the
    long run, but I need the categories, otherwise I have total chaos. The
    copy function has this feature, but I do not want to create new
    cellviews by copying old ones.

    Is there a command that creates a new cell view on the CIW command line
    and put it into a catetory in one and the same operation?

    Kind regards,
     
    Svenn Are Bjerkem, May 17, 2005
    #1
  2. No. Not without writing one. Looks like a good enhancement request
    though - do you want to log it via customer support?

    Andrew.
     
    Andrew Beckett, May 17, 2005
    #2
  3. Ok, I have filed a support request. Problem is that I don't expect that
    enhancement to reach the version of icfb that I use in the current project.

    Is it possible to assign a category to a cell view in SKILL? I guess so,
    so I will check the manuals when I have some more time
     
    Svenn Are Bjerkem, May 18, 2005
    #3
  4. Svenn Are Bjerkem

    S. Badel Guest

    Is it possible to assign a category to a cell view in SKILL? I guess so,
    Yes, in skdfref/design management/ddCat interface

    cat = ddCatOpen( ddGetObj("LIBNAME") "CATEGORY" "a" )
    ddCatAddItem( cat "CELLNAME" "cell" )
    ddCatSave( cat )
    ddCatClose( cat )

    also, a few dm functions

    dmCreateCellCategory()
    dmAddCellToCategory()
    dmRemoveCellCategory()
    dmRemoveCellFromCategory()

    for fun, i tried to do it automatically in a trigger

    procedure( myPostCreateTrigger( parent file type obj )

    when( type == "ddCellType"
    cat = ddCatOpen( parent "CATEGORY" "a" )
    ddCatAddItem( cat obj~>name "cell" )
    ddCatSave( cat )
    ddCatClose( cat )
    ) ; when

    t
    )


    ddRegTrigger( "PostCreateObj" 'myPostCreateTrigger )

    you might want to display a form a that point to choose the category.

    cheers,

    stéphane
     
    S. Badel, May 18, 2005
    #4
  5. Stéphane, thanks a lot for your efforts. I will check out your code when
    I have a little bit better time.
     
    Svenn Are Bjerkem, May 18, 2005
    #5
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.