db_get_design_attribute()
Returns an attribute of a design, given the design handle and an attribute key.
Syntax:
db_get_design_attribute(designHandle, designAttribute);
where
designHandle is the handle to a design, as returned from db_get_design().
designAttribute is an attribute code, where:
- DESIGN_TYPE is the design type (circuit, system, etc.); an integer.
- DESIGN_MODIFIED is a flag indicating modification status, where:
- 0 = not modified
- 1 = modified
- DESIGN_REP_SCHEM is the name of representation's schem file.
- DESIGN_REP_LAY is the name of representation's layout file.
- DESIGN_NAME is the name of design.
- DESIGN_PROPERTY is the head of property list.
- DESIGN_STAMP is the last-saved Time design.
- DESIGN_COMMENT is the comment at top of design file.
Example:
decl dHandle = db_get_design("myamp");
decl attrib = db_get_design_attribute(dHandle, DESIGN_TYPE);
Download Example File:
The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
Netlist with Node Names
Swap all components with themselves
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()