Method SetInclusionCodeAndDrivers2
SetInclusionCodeAndDrivers2(ElementId, string, List<string>, List<SmartObject>, List<string>, List<SmartDesignObject>)
Sets the code and drivers of a family inclusion operation.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 17, 0, 0)]
void SetInclusionCodeAndDrivers2(ElementId inElementId, string inCode, List<string> inKernelDriverNames, List<SmartObject> inKernelDriverValues, List<string> inDesignDriverNames, List<SmartDesignObject> inDesignDriverValues)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the inclusion operation to modify. |
| string | inCode | Instance code, or null if none. |
| List<string> | inKernelDriverNames | Instance kernel driver names, or null if none. |
| List<SmartObject> | inKernelDriverValues | Instance kernel driver values, or null if none. |
| List<string> | inDesignDriverNames | Instance kernel driver names, or null if none. |
| List<SmartDesignObject> | inDesignDriverValues | Instance kernel driver values, or null if none. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.17.