create_design_default_parm()

Defines a default parameter template for new parameters added to a parametric subnetwork of the current design type. Current design type can be set using set_design_type().

See also: create_design_default_item(), create_parm().

Syntax:

create_design_default_parm(name, label, attrib, formSet, unitCode, defaultValue);

where

name is a string, name of the parameter.

label is a descriptive string for the parameter.

attrib is an integer indicating special parameter, usually 0.

formSet is the name of the form set used for this value.

unitCode is the choice for units, where:

  • STRING_UNIT = −2
  • UNITLESS_UNIT = −1
  • FREQUENCY_UNIT = 0
  • RESISTANCE_UNIT = 1
  • CONDUCTANCE_UNIT = 2
  • INDUCTANCE_UNIT = 3
  • CAPACITANCE_UNIT = 4
  • LENGTH_UNIT = 5
  • TIME_UNIT = 6
  • ANGLE_UNIT = 7
  • POWER_UNIT = 8
  • VOLTAGE_UNIT = 9
  • CURRENT_UNIT = 10
  • DISTANCE_UNIT = 11
  • TEMPERTURE_UNIT = 12
  • DB_GAIN_UNIT = 13

defaultValue is optional; a real number or a value returned from the prm() function. The prm() function generates an acceptable default value for parameters with different form sets.

Example:

create_design_default_parm("X", "", 0, "StdFormSet", -1, "");

Where Used:

Schematic

 

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

Contents
Additional Resources