Method RedirectInclusionWithCodeAndDrivers
RedirectInclusionWithCodeAndDrivers(ElementId, DocumentId, string, List<string>, List<SmartObject>)
Redirects an inclusion operation to a family with specified code and drivers.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 12, 300, 80)]
void RedirectInclusionWithCodeAndDrivers(ElementId inElementId, DocumentId inDefinitionId, string inCode, List<string> inDriverNames, List<SmartObject> inDriverValues)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the inclusion operation to modify. |
| DocumentId | inDefinitionId | Identifier of the new family definition document to include. |
| string | inCode | Instance code, or null if none. |
| List<string> | inDriverNames | Instance driver names, or null if none. |
| List<SmartObject> | inDriverValues | Instance 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.12.300.080.