techCreateCustomViaVariant
techCreateCustomViaVariant(
d_techfileID
t_viaVariantName
t_viaDefName
l_viaParams
)
=> d_viaVariantID / nil
Description
Creates the custom via variant in the current technology database.
Arguments
|
d_techfileID
|
The technology file identifier of the technology database.
|
|
t_viaVariantName
|
The name of the standard via variant to create.
Valid values: Any string that is unique in the database
|
|
t_viaDefName
|
The name of the standard via definition to create.
Valid values: Any string that is unique in the database
|
|
l_viaParams
|
A list of the via parameters.
Valid values: Any string unique in the database
The list has the following syntax:
l_viaParams = ((t_paramName g_paramValue)…)
-
t_paramName is the name of the via parameter.
-
g_paramValue is the value of the parameter.
|
Value Returned
|
l_viaVariantID
|
The technology file was created successfully with the database identifier viaVariantID.
|
|
nil
|
It fails to create customViaVariant probably because of either the technology database does not exist or there is no definition for a specified layer in the technology database.
|
Example
v3 = techCreateCustomViaVariant(tf "cvv" "myVia2" list(list("p1" 2) list("p2" 0.1)))
=> db:0x056de796
Returns the custom via variant in the current technology database.
Return to top