GetInstanceID [Component Instance]

Use: Returns the instanceID of the CompInstance.

Command: None

Syntax: GetInstanceID()

Return Value: String

VB Example: id = CompInstance.GetInstanceID();

Returns id of compInstance (e.g. 7) and stores it in "id".

Note that this is not the same number as the one used in the RefDes.

 

Python Syntax GetInstanceID()
Python Example

id = CompInstance.GetInstanceID()