Method CreateRigidGroupDrivingTask
CreateRigidGroupDrivingTask(DocumentId, RigidGroupDrivingType, ElementId, SmartFrame3D, List<SmartReal>, List<SmartReal>, List<SmartReal>, List<SmartReal>, List<SmartReal>, List<SmartReal>, List<SmartReal>, List<bool>)
Creates a rigid group driving task in a specified document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
ElementId CreateRigidGroupDrivingTask(DocumentId inDocumentId, RigidGroupDrivingType inType, ElementId inRigidGroupId, SmartFrame3D inDrivingFrame, List<SmartReal> inTimes, List<SmartReal> inRotationsX, List<SmartReal> inRotationsY, List<SmartReal> inRotationsZ, List<SmartReal> inTranslationsX, List<SmartReal> inTranslationsY, List<SmartReal> inTranslationsZ, List<bool> inIsCirculars)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| RigidGroupDrivingType | inType | Driving type. |
| ElementId | inRigidGroupId | Identifier of definition of rigid group to drive. |
| SmartFrame3D | inDrivingFrame | Driving frame. |
| List<SmartReal> | inTimes | Times. |
| List<SmartReal> | inRotationsX | Rotations X component. |
| List<SmartReal> | inRotationsY | Rotations Y component. |
| List<SmartReal> | inRotationsZ | Rotations Z component. |
| List<SmartReal> | inTranslationsX | Translations X component. |
| List<SmartReal> | inTranslationsY | Translations Y component. |
| List<SmartReal> | inTranslationsZ | Translations Z component. |
| List<bool> | inIsCirculars | Whether to use circular interpolation. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created task. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.6.