Method CreatePartSetupManagementOperation
CreatePartSetupManagementOperation(DocumentId, List<ElementId>, StockType, List<ElementId>)
Creates the part setup management operation in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 15, 0, 0)]
ElementId CreatePartSetupManagementOperation(DocumentId inDocumentId, List<ElementId> inFinishes, StockType inStockType, List<ElementId> inEnvironments)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| List<ElementId> | inFinishes | Identifiers of targets of the finishes parts. |
| StockType | inStockType | Type of the enclosing stock. |
| List<ElementId> | inEnvironments | Identifiers of targets of the environments. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the part setup management operation. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.15.