Method CreateAxis
CreateAxis(DocumentId, Axis3D)
Creates an axis entity in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
ElementId CreateAxis(DocumentId inDocumentId, Axis3D inGeometry)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| Axis3D | inGeometry | Axis geometry. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created axis entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.