db_get_rep_attribute()
Retrieves a representation's attribute, given a representation handle and an attribute key.
Syntax:
db_get_rep_attribute( repHandle, repAttribute);
where
repHandle is the handle of a design representation, as returned from db_get_rep().
repAttribute is the representation attribute, where:
- REP_TYPE = Design type code, either REP_SCHEM or REP_LAY
- REP_OWNER = Retrieves rep's design handle
- REP_PRF_FILE = Name of rep's preference file
- REP_LAY_FILE = Name of rep's layers file
- REP_SYMBOL = Retrieves rep's symbol handle
- REP_BBOX = Bounding box handle
- REP_PROPERTY = Head of property list
Example:
decl repHandle = db_get_current_design_rep(); decl fileName = db_get_rep_attribute(repHandle, REP_LAY_FILE);
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()