Class TechnologistHelper
Inheritance
TechnologistHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class TechnologistHelper
Methods
Calculate toolpath of all operations of the project
Declaration
public static void CalculateAllOperationsToolpath(this ComWrapper<ICamApiTechnologist> technologistCom, bool calcLinksBetweenOperations)
Parameters
Calculate toolpath of the current operation
Declaration
public static void CalculateToolpath(this ComWrapper<ICamApiTechnologist> technologistCom, bool calcLinksBetweenOperations)
Parameters
CreateOperation(ComWrapper<ICamApiTechnologist>, string, string, string)
Create new operation of the specified type in the current technologist
Declaration
public static ComWrapper<ICamApiTechOperation> CreateOperation(this ComWrapper<ICamApiTechnologist> technologistCom, string operationTypeId, string afterOperationId, string prototypeOperationId)
Parameters
Returns
CreatePart(ComWrapper<ICamApiTechnologist>, int)
Create new part item in the current technologist
Declaration
public static ComWrapper<ICamApiPart> CreatePart(this ComWrapper<ICamApiTechnologist> technologistCom, int externalId)
Parameters
Returns
CreateSetupStage(ComWrapper<ICamApiTechnologist>)
Create new setup stage in the current technologist
Declaration
public static ComWrapper<ICamApiSetupStage> CreateSetupStage(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
CurrentOperation(ComWrapper<ICamApiTechnologist>)
Current operation of the technologist
Declaration
public static ComWrapper<ICamApiTechOperation> CurrentOperation(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
EnumerateOperationTypes(ComWrapper<ICamApiTechnologist>)
Lists all tech operation types in a technologist
Declaration
public static IEnumerable<ComWrapper<ICamApiTechOperationType>> EnumerateOperationTypes(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
EnumerateOperations(ComWrapper<ICamApiTechnologist>, TCamApiReorderingMode)
Lists all tech operations in a technologist
Declaration
public static IEnumerable<ComWrapper<ICamApiTechOperation>> EnumerateOperations(this ComWrapper<ICamApiTechnologist> technologistCom, TCamApiReorderingMode reorderingMode)
Parameters
Returns
GetActiveReorderingModeOfSimulation(ComWrapper<ICamApiTechnologist>)
Get active reordering mode when simulating technology
Declaration
public static TCamApiReorderingMode GetActiveReorderingModeOfSimulation(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
GetActiveReorderingModeOfTechnology(ComWrapper<ICamApiTechnologist>)
Get active reordering mode when designing technology
Declaration
public static TCamApiReorderingMode GetActiveReorderingModeOfTechnology(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
GetAvailableOperationTypeIds(ComWrapper<ICamApiTechnologist>)
Get list of IDs for operation types available to be created in the current technologist
Declaration
public static ComWrapper<IListString> GetAvailableOperationTypeIds(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
GetOperations(ComWrapper<ICamApiTechnologist>, TCamApiReorderingMode)
Get iterator for operations tree
Declaration
public static ComWrapper<ICamApiTechOperationIterator> GetOperations(this ComWrapper<ICamApiTechnologist> technologistCom, TCamApiReorderingMode reorderingMode)
Parameters
Returns
OperationTypes(ComWrapper<ICamApiTechnologist>)
Get iterator for operation types available in the current technologist
Declaration
public static ComWrapper<ICamApiTechOperationTypeIterator> OperationTypes(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
PartAndStageList(ComWrapper<ICamApiTechnologist>)
Get parts and setup stages in the current technologist
Declaration
public static ComWrapper<ICamApiPartAndStageList> PartAndStageList(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
Reset toolpath of all operations
Declaration
public static void ResetAllOperationsToolpath(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Reset toolpath of the current operation
Declaration
public static void ResetToolpath(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
RootOperation(ComWrapper<ICamApiTechnologist>)
Root operation of the technologist
Declaration
public static ComWrapper<ICamApiTechOperation> RootOperation(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters
Returns
SetCurrentOperation(ComWrapper<ICamApiTechnologist>, ComWrapper<ICamApiTechOperation>)
Current operation of the technologist
Declaration
public static void SetCurrentOperation(this ComWrapper<ICamApiTechnologist> technologistCom, ComWrapper<ICamApiTechOperation> value)
Parameters
SwitchOperationEnability(ComWrapper<ICamApiTechnologist>)
Switch Enabled property of the current operation to the opposite state
Declaration
public static void SwitchOperationEnability(this ComWrapper<ICamApiTechnologist> technologistCom)
Parameters