Method RedirectInclusion
RedirectInclusion(ElementId, DocumentId)
Redirects an inclusion operation.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 7, 201, 100)]
void RedirectInclusion(ElementId inElementId, DocumentId inDefinitionId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of the inclusion operation to modify. |
| DocumentId | inDefinitionId | Identifier of the new definition document of the part or assembly to include. |
Remarks
The previous definition document must be a part or an assembly, not a family.
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.7.201.100.