de_set_preference()

Sets the value of any preference. Refer to de_get_preference() for preferences and values. Returns: none.

See also: de_get_preference(), de_set_resolution_for_arc(), de_set_undo_edit_count().

Syntax:

de_set_preference(preference, prefValue, [repType | repHandle]);

where

preference is an integer or predefined preference variable.

prefValue is an integer or predefined preference value variable.

repType is the type of representation, where:

  • REP_SCHEM = schematic representation
  • REP_LAY = layout representation

repHandle is the handle of a design representation

Example:
// Set the Trace conversion technology type to PCB
// In Schem/Lay window Options > Preferences Trace tab, 
// under Element Set
de_set_preference(TRACE_TECH_P, PREF_TRACE_TECH_PCB);

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.

Flatten Design
Generate SnP Component
Select All on Layer

Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources