techGetPurposeAbbrev
techGetPurposeAbbrev(d_techID tx_purpose) =>t_layerAbbrev/ nil
Description
Returns the abbreviation of the specified purpose from the specified technology database. ASCII technology file location: techPurposes subsection in the layerDefinitions section; it lists the layer purposes used with technology data.
For more information about techPurposes, see
Arguments
|
Valid values: The name or number of an existing purpose; a purpose number must be an integer, |
Value Returned
|
The technology database does not exist, the purpose is not defined in the technology database, or the purpose has no abbreviation assigned. |
Example
techGetPurposeAbbrev(tfID 257)
=> "drwg"
Returns the abbreviation of purpose number 257 defined in the techPurposes subsection of the layerDefinitions section of the technology database identified by tfID.
techGetPurposeAbbrev(tfID "drawing")
=> "drwg"
Returns the abbreviation of the drawing purpose defined in the techPurposes subsection of the layerDefinitions section of the technology database identified by tfID.
Return to top