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

techFindPurposeDef

techFindPurposeDef(
d_techfileID
tx_purpose
)
=> d_purposeDefID / nil

Description

Returns the purposeDefID in the specified technology database or a referenced technology database in an ITDB graph of the specified technology database. This function returns the purposeDefID as per the specified purpose name or purpose number.

Arguments

d_techfileID

The database identifier of the technology database.

tx_purpose

The purpose name or number.

Value Returned

d_purposeDefID

The purposeDefID is returned in the specified technology database.

nil

Unable to find PurposeDef ID.

Example

drawing = techFindPurposeDef(tf "drawing")

Returns the purposeDefID based on database identifier, tf, and purpose, drawing.


Return to top
 ⠀
X