Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

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 techPurposes in Virtuoso Technology Data ASCII Files Reference.

Arguments

d_techID

The database identifier of the technology database.

tx_purpose

The purpose name or number.

Valid values: The name or number of an existing purpose; a purpose number must be an integer, 1 through 128, plus 256 through 232-1026

Value Returned

t_purposeAbbrev

The abbreviation of the purpose name.

nil

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
 ⠀
X