Method CreateFrameWithOffset
CreateFrameWithOffset(DocumentId, SmartFrame3D, SmartDirection3D, SmartReal)
Creates a frame entity in a document by offset.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 18, 400, 600)]
ElementId CreateFrameWithOffset(DocumentId inDocumentId, SmartFrame3D inFrame, SmartDirection3D inOffsetDirection, SmartReal inOffsetDistance)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartFrame3D | inFrame | Original Frame. |
| SmartDirection3D | inOffsetDirection | Offset direction. |
| SmartReal | inOffsetDistance | Offset value. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created frame entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.