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 AddQuantityDispatchProperty2(self, DispScope:"IDispatch", Name:str, Description:str, PropName:str, Dimension:str, DisplayUnit:str, InternalUnit:str, 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 value 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.
- Flags
- Bitwise combination of AgEAttrAddFlags flags.






