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

techGetPurposeNum

techGetPurposeNum(
d_techID
t_purposeName 
) 
=> x_purposeNumber / nil

Description

Returns the purpose number associated with the specified purpose name 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.

t_purposeName

The purpose name.

Value Returned

x_purposeNumber

The purpose number.

nil

The technology database does not exist or the purpose is not defined in the technology database.

Example

techGetPurposeNum(tfID "drawing") 
=> 257

Returns the purpose number 257 for the purpose drawing from the technology database identified by tfID.


Return to top
 ⠀
X