Method CreateOffsetPoint
CreateOffsetPoint(DocumentId, SmartPoint3D, SmartDirection3D, SmartReal)
Creates an offset point creation operation in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
ElementId CreateOffsetPoint(DocumentId inDocumentId, SmartPoint3D inOrigin, SmartDirection3D inDirection, SmartReal inDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartPoint3D | inOrigin | Origin point. |
| SmartDirection3D | inDirection | Offset direction. |
| SmartReal | inDistance | Offset distance. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created operation child point entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.