Add an Attribute of type quantity to the Attribute Scope. It is recommended that any name used for these configuration properties not include spaces because certain interfaces to the properties may not work correctly.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
|
| [Managed C++] |
|---|
|
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
|
[Python - STK API ] |
|---|
def AddQuantityMinMaxDispatchProperty2(self, DispScope:"IDispatch", Name:str, Description:str, PropName:str, Dimension:str, DisplayUnit:str, InternalUnit:str, MinVal:float, MaxVal:float, Flags:int) -> None: |
- DispScope
- The attribute container (scope) where the attribute will be added.
- Name
- Name of the attribute to add, it is recommended that the name does not include spaces because certain interfaces to the properties may not work correctly.
- Description
- Description of the attribute to add.
- PropName
- Name of the property to be called to set/get the values of this attribute. The property must be of the type quantity (as double).
- Dimension
- Dimension associated with this quantity.
- DisplayUnit
- Default display units (used in the User Interface).
- InternalUnit
- Unit used to set/get the PropName property.
- MinVal
- Minimum value allowed (as double).
- MaxVal
- Maximum value allowed (as double).
- Flags
- Bitwise combination of AgEAttrAddFlags flags.






