Method CreateOrigin
CreateOrigin(DocumentId, SmartText, ElementId, SmartBoolean, ElementId, ElementId, SmartText)
Creates an origin entity in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
ElementId CreateOrigin(DocumentId inDocumentId, SmartText inDescription, ElementId inFrameId, SmartBoolean inAutoPos, ElementId inRigidGroupId, ElementId inPartId, SmartText inType)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| SmartText | inDescription | Description. |
| ElementId | inFrameId | Base frame. |
| SmartBoolean | inAutoPos | Automatic positionning flag. |
| ElementId | inRigidGroupId | Machine element associated with this origin. |
| ElementId | inPartId | Part owner of the new origin. |
| SmartText | inType | Type of the origin. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created origin entity. |