db_get_property_attribute()

Returns a property attribute, given a handle to the property and an attribute key.

Syntax:

db_get_property_attribute(propHandle, propAttribute);

where

propHandle is the handle to a property.

propAttribute is the property attribute can be one of the following:

  • PROPERTY_NAME = Name of the property; a string
  • PROPERTY_TYPE = The property type; indicates how the value is represented, where:
    • 0 = unknown type
    • 1= long value
    • 2 = double value
    • 3 = string value
  • PROPERTY_VALUE_LONG = Property value = long
  • PROPERTY_VALUE_STRING = Property value = a string; a string
  • PROPERTY_VALUE_DOUBLE = Property value = double; real

Example:
decl propHandle = db_get_dg_attribute(dgHandle, DG_PROPERTY);
decl propType=db_get_property_attribute(propHandle, PROPERTY_TYPE);
Where Used:

Schematic, Layout

 

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

Contents
Additional Resources