Method CreateSmartRealParameter
CreateSmartRealParameter(DocumentId, SmartReal)
Creates a smart real parameter creation operation in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
ElementId CreateSmartRealParameter(DocumentId inDocumentId, SmartReal inSmartReal)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartReal | inSmartReal | Smart real value. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created operation child parameter entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
The smart real parameter creation operation created is in "unit auto" mode set to false, it may be changed using the
SetSmartRealParameterCreationUnitAuto(ElementId, bool) method.
This method is available since v7.6.