Method GetCodeAndDriversFromSubstitutableElement
GetCodeAndDriversFromSubstitutableElement(ElementId, ElementId, out string, out List<string>, out List<SmartObject>, out List<string>, out List<SmartDesignObject>)
Get code and drivers from a substitutable Element
Declaration
[OperationContract]
[AvailableSinceVersion(7, 19, 0, 0)]
void GetCodeAndDriversFromSubstitutableElement(ElementId inOperationId, ElementId inElementId, out string outCode, out List<string> outKernelDriverNames, out List<SmartObject> outKernelDriverValues, out List<string> outDesignDriverNames, out List<SmartDesignObject> outDesignDriverValues)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inOperationId | Identifier of the top inclusion operation holding sub-component to substitute. |
| ElementId | inElementId | Identifier of the substitutable element. |
| string | outCode | Instance code, or null if none. |
| List<string> | outKernelDriverNames | Instance kernel driver names, or null if none. |
| List<SmartObject> | outKernelDriverValues | Instance kernel driver values, or null if none. |
| List<string> | outDesignDriverNames | Instance design driver names, or null if none. |
| List<SmartDesignObject> | outDesignDriverValues | Instance design driver values, or null if none. |
Remarks
This method is available since v7.19.