pkxCreateFuncDefPin
pkxCreateFuncDefPin(
pkx_funcDefId
t_number
t_use
x_swapCode
)
=> pkx_funcDefPinId / nil
Description
(Virtuoso MultiTech Framework) Creates a funcDefPin object in the specified funcDef object and returns its ID.
Arguments
|
pkx_funcDefId
|
ID of a funcDef object.
|
|
t_number
|
Name of the pin, represented by a combination of a string and a number. For example, I10.
|
|
t_use
|
Value indicating the logical use of the funcDefPin object.
Valid values: IN, OUT, BI, TRI, OCA, OCL, POWER, GROUND, NC, and UNSPEC.
|
|
x_swapCode
|
Code indicating whether the funcDefPin object can be swapped with another pin.
|
Value Returned
|
pkx_funcDefPinId
|
ID of the created funcDefPin object.
|
|
nil
|
The funcDefPin object was not created.
|
Example
Creates the funcDefPin object in the funcDef object and returns its ID.
funcDefPin = pkxCreateFuncDefPin(funcDef "A" "IN" 1)
Related Topics
Views in the Unified Library
Return to top