*Error* unknown: dbSetq: Can not set attribute
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
*Error* unknown: dbSetq: Can not set attribute

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
saby
Guest





Posted: Fri Oct 28, 2005 8:10 am    Post subject: *Error* unknown: dbSetq: Can not set attribute Reply with quote

Hi,
I imported the DEF file into DFII. I want to open the imported design
with the layout view of the std-cells and not the abstract view. So, I
wrote a small piece of skill code that will replace all the "abstract"
cell views with "layout" e.g.

cv~>cellView = "layout"

But doing so gives me the error:
*Error* unknown: dbSetq: Can not set attribute - viewName

Is it an illegal operation? Becase manually I can do this by changing
the "abstract" to "layout" in properties menu. What can be the reason?

Also, is there a way to directly open the imported DEF into virtuoso
layout and not the preview? I read a similar discussion on this
lastweek, but I could not find the property that needs to be changed
that will make virtuoso( not preview) to handle the design. Any
comments?

Regards
Saby.

Back to top
Andrew Beckett
Guest





Posted: Sun Oct 30, 2005 9:10 pm    Post subject: Re: *Error* unknown: dbSetq: Can not set attribute Reply with quote

On 27 Oct 2005 20:52:58 -0700, "saby" <s_saby23@yahoo.com> wrote:

Quote:
Hi,
I imported the DEF file into DFII. I want to open the imported design
with the layout view of the std-cells and not the abstract view. So, I
wrote a small piece of skill code that will replace all the "abstract"
cell views with "layout" e.g.

cv~>cellView = "layout"

But doing so gives me the error:
*Error* unknown: dbSetq: Can not set attribute - viewName

Is it an illegal operation? Becase manually I can do this by changing
the "abstract" to "layout" in properties menu. What can be the reason?

Also, is there a way to directly open the imported DEF into virtuoso
layout and not the preview? I read a similar discussion on this
lastweek, but I could not find the property that needs to be changed
that will make virtuoso( not preview) to handle the design. Any
comments?

Regards
Saby.

Changing the cellView attribute would never be the right thing to do, since the
cellView attribute indicates which cellView the object belongs to. If it was an
instance id that you're talking about, the atttribute that most people try to
change (and fail) is viewName:

instId~>viewName="layout".

The libName, cellName, viewName attributes cannot be directly changed. You can
change the "master" attribute to the new cellView Id, and then the libName,
cellName, viewName attributes will show the right thing (effectively they're
derived in this context). The edit properties form disguises all this from you
in order to make it easier for you to change.

e.g:

instId~>master=dbOpenCellViewByType(instId~>libName instId~>cellName "layout")

or you could use the dbSetInstHeaderMasterName() function to change all
instances of the same type at the same time.

There is a menu Design->Remaster Instances which can be used for this. Simply
fill in the viewName fields only, from "abstract" to "layout". This would avoid
you having to write the SKILL in the first place.

As for changing it to open in Virtuoso Layout Editor, you can do this with the
Design->Set Default Application menu. In years gone by, I got rid of the preview
magic properties by using the following SKILL code:

/***************************************************************
* *
* (abResetViewType libName cellName viewName) *
* *
* Reset the viewType by removing the viewSubType property on *
* a cellView. *
* *
***************************************************************/

(procedure (abResetViewType libName cellName viewName)
(let (cv)
(setq cv (dbOpenCellViewByType libName cellName viewName "" "a"))
(when cv
(dbDeletePropByName cv "viewSubType")
(dbSave cv)
(dbClose cv)
)))

Regards,

Andrew.
Back to top
saby
Guest





Posted: Mon Oct 31, 2005 1:10 am    Post subject: Re: *Error* unknown: dbSetq: Can not set attribute Reply with quote

Dear Andrew,
Thanks for your insightful comments. It solved my problem.

regards
saby.

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB