GetSchematicObjectType Function

Returns the object type given an object handle property. All objects, Instances, Wires and Annotation objects have a handle property. This function will return the object type given the handle.

Arguments

Number Type Compulsory Default Description
1 String Yes Handle property value
2 Real No current schematic Schematic id

Argument 1

Handle property value

Argument 2

Schematic id

Returns

Return type: String

returns a string with one of the following values
instance Instance
wire Wire
annotation Annotation object
no_object Handle doesn't exist
no_schematic no open schematic or schematic handle invalid