de_variables()
Sets the Top Design for Variables, Top Design Representation Type, and Path to Specific Instance of Design to Layout values for the design pointed to by designP. These values are used during the search for variable declarations for the purpose of artwork generation in layout. If designP is omitted or NULL, the value for the design in the current window is set.
Syntax:
de_variables(designName, repType, pathToDsn[, windowH]);
where
designName is the name of a design.
repType is an enumerated type of representation, where:
- REP_SCHEM = Schematic representation
- REP_LAY = Layout representation
pathToDsn is the component path from the top design, down to the current design. It is made up of instance names separated by periods. This field only needs to be filled in as necessary to avoid ambiguity (i.e., in cases where there are several VARs in the hierarchy).
windowH is a handle to the window. If the window handle argument is not present, the function takes the handle of the current widow. Optional.
Example:
decl designName, designP, pathToDsn;
designName=de_current_design_name();
designP=db_get_design(designName);
pathToDsn="MyVars.varset1";
de_variables(designName, REP_SCHEM, pathToDsn);
Where Used:
Schematic, Layout
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()