Discussion:
Adding cells to category when creating them
(too old to reply)
Svenn Are Bjerkem
2005-05-17 14:43:02 UTC
Permalink
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
Andrew Beckett
2005-05-17 15:33:30 UTC
Permalink
Post by Svenn Are Bjerkem
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,
No. Not without writing one. Looks like a good enhancement request
though - do you want to log it via customer support?

Andrew.
Svenn Are Bjerkem
2005-05-18 07:21:02 UTC
Permalink
Post by Andrew Beckett
No. Not without writing one. Looks like a good enhancement request
though - do you want to log it via customer support?
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
S. Badel
2005-05-18 08:29:20 UTC
Permalink
Post by Svenn Are Bjerkem
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
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
Svenn Are Bjerkem
2005-05-18 10:23:31 UTC
Permalink
Stéphane, thanks a lot for your efforts. I will check out your code when
I have a little bit better time.
--
Svenn
Loading...