Interface IPartSettingDocument
Gives access to Part Setting documents.
Namespace: TopSolid.Cam.NC.Kernel.Automating
Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
Syntax
public interface IPartSettingDocument
  Remarks
This interface is available since v7.15.
Methods
CreatePartSetupManagementOperation(DocumentId, List<ElementId>, StockType, List<ElementId>)
Creates the part setup management operation in a document.
Declaration
ElementId CreatePartSetupManagementOperation(DocumentId inDocumentId, List<ElementId> inFinishes, StockType inStockType, List<ElementId> inEnvironments)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify.  | 
      
| System.Collections.Generic.List<ElementId> | inFinishes | Identifiers of targets of the finishes parts.  | 
      
| StockType | inStockType | Type of the enclosing stock.  | 
      
| System.Collections.Generic.List<ElementId> | inEnvironments | Identifiers of targets of the environments.  | 
      
Returns
| Type | Description | 
|---|---|
| ElementId | Identifier of the part setup management operation.  | 
      
Remarks
StartModification(String, Boolean) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.15.
IsPartSetting(DocumentId)
Tells whether a document is a part setting document.
Declaration
bool IsPartSetting(DocumentId inDocumentId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to analyze.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Boolean | The document is a part setting document.  |