Method CreateJointsDrivingTask
CreateJointsDrivingTask(DocumentId, JointDrivingType, JointDrivingInterpolationType, List<SmartReal>, List<ElementId>, List<List<SmartReal>>)
Creates a joints driving task in a specified document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 6, 0, 0)]
ElementId CreateJointsDrivingTask(DocumentId inDocumentId, JointDrivingType inType, JointDrivingInterpolationType inInterpolationType, List<SmartReal> inTimes, List<ElementId> inJointIds, List<List<SmartReal>> inValues)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| JointDrivingType | inType | Driving type. |
| JointDrivingInterpolationType | inInterpolationType | Interpolation type. |
| List<SmartReal> | inTimes | Times. |
| List<ElementId> | inJointIds | Identifiers of joints to drive. |
| List<List<SmartReal>> | inValues | Joints driving values. |
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.