techDeletePurpose
techDeletePurpose(
d_techID
tx_purpose
)
=> t / nil
Description
Deletes 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.
This function does not purge all references of the purpose from the technology database. If the purpose is referenced in another section of the technology database, an error will occur when an application attempts to use that data. To prevent these errors, you must delete all references to the purpose from the ASCII technology file and recompile it.
For more information about techPurposes, see
Arguments
Value Returned
|
The technology database does not exist or the purpose is not defined in the technology database. |
Example
techDeletePurpose(tfID 13)
=> t
Deletes the purpose number 13 from the technology database identified by tfID.
techDeletePurpose(tfID "drawing5")
=> t
Deletes the purpose drawing5 from the technology database identified by tfID.
Return to top