GetProperties (Schematic Editor)

To get the names of properties for a specified tab and element.

UI Access NA
Parameters
Name Type Description
<tab> String One of six choices, "PassedParameterTab", "ComponentTab", "Component", "BaseElementTab", "Quantities", "Signals"
<objectId> String Instance ID of object with the property
Return Value Array of strings, the property names

 

Python Syntax GetProperties(<tab>, <objectId>)
Python Example

comparray = oEditor.GetAllComponents()

for i in comparray:

instval = oEditor.GetPropertyValue

("PassedParameterTab",i,"InstanceName")

proparray = oEditor.GetProperties ("Quantities",i)

for j in proparray:

direction = oEditor.GetPropertyAttribute

("Quantities",i, j, "Direction")

AddInfoMessage(str(j) + " = (direction) " +

str(direction))