GetPropertyValue
Returns the value of a single property belonging to a specific <PropServer> and
<PropTab>. This function is available with the Project, Design or Editor
objects, including definition editors.
Tip: Use the script recording feature and edit
a property, and then view the resulting script to see the format for
that property.
| UI Access
|
N/A
|
| Parameters
|
|
|
|
|
| <PropTab> |
String |
One of the following, where tab titles are
shown in parentheses:- PassedParameterTab ("Parameter Values")
- DefinitionParameterTab (Parameter Defaults")
- LocalVariableTab ("Variables" or "Local Variables")
- ProjectVariableTab ("Project variables")
- ConstantsTab ("Constants")
- BaseElementTab ("Symbol" or "Footprint")
- ComponentTab ("General")
- Component("Component")
- CustomTab ("Intrinsic Variables")
- Quantities ("Quantities")
- Signals ("Signals")
|
| <PropServer> |
String |
An object identifier, generally returned
from another script method, such as CompInst@R;2;3 |
| <PropName> |
String |
Name of the property. |
|
| Return Value
|
String value of the property.
|
| Python Syntax
|
GetPropertyValue
(<PropTab>, <PropServer>, <PropName>)
|
| Python Example
|
selectionArray = oEditor.GetSelections()
for k in selectionArray:
val = oEditor.GetPropertyValue("PassedParameterTab", k, "R")
...
|
| VB Syntax |
GetPropertyValue
(<PropTab>, <PropServer>, <PropName>)
|
| VB Example
|
selectionArray = oEditor.GetSelections
for k in selectionArray:
val = oEditor.GetPropertyValue("PassedParameterTab", k, "R")
...
|