Class ProjectHelper
Inheritance
ProjectHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class ProjectHelper
Methods
CAMAPIGeomModel(ComWrapper<ICamApiProject>)
Declaration
public static ComWrapper<ICAMAPIGeometryModel> CAMAPIGeomModel(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
CoordinateSystems(ComWrapper<ICamApiProject>)
List of coordinate systems
Declaration
public static ComWrapper<ICamApiListCoordinateSystem> CoordinateSystems(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
FeatureFinder(ComWrapper<ICamApiProject>)
Feature finder — provides access to recognized features of the current project
Declaration
public static ComWrapper<ICamApiFeatureFinder> FeatureFinder(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
FilePath(ComWrapper<ICamApiProject>)
Declaration
public static string FilePath(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
GeomImporter(ComWrapper<ICamApiProject>)
Geometrical files importer
Declaration
public static ComWrapper<ICAMAPIGeometryImporter> GeomImporter(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
Id(ComWrapper<ICamApiProject>)
Unique identifier of project
Declaration
public static string Id(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
Machine(ComWrapper<ICamApiProject>)
Declaration
public static ComWrapper<ICamApiMachine> Machine(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
Global properties about the project's machine
Declaration
public static ComWrapper<ICamApiMachineInfo> MachineInformation(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
NCMaker(ComWrapper<ICamApiProject>)
Declaration
public static ComWrapper<ICamApiNCMaker> NCMaker(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
PLMConnectionId(ComWrapper<ICamApiProject>)
Unique identifier of the PLM connection, if the project was loaded from PLM
Declaration
public static Guid PLMConnectionId(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
PLMItemId(ComWrapper<ICamApiProject>)
Unique identifier of the project inside PLM system, if the project was loaded from PLM
Declaration
public static string PLMItemId(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
SaveCLDataInfo(ComWrapper<ICamApiProject>, string, ComWrapper<ICamApiTechOperationIterator>?)
Creates new file with CLData and returns the list of operations used to generate it
Declaration
public static ComWrapper<ICamApiNCMakerCLDataInfo> SaveCLDataInfo(this ComWrapper<ICamApiProject> projectCom, string outputFileName, ComWrapper<ICamApiTechOperationIterator>? operationsIterator = null)
Parameters
Returns
SaveClData(ComWrapper<ICamApiProject>, string, ComWrapper<ICamApiTechOperationIterator>?)
Create new file with CLData (will overwrite existing file)
Declaration
public static void SaveClData(this ComWrapper<ICamApiProject> projectCom, string outputFileName, ComWrapper<ICamApiTechOperationIterator>? operationsIterator = null)
Parameters
SetMachine(ComWrapper<ICamApiProject>, Guid, string, string)
Set machine for the project by guid, file path and type name
Declaration
public static void SetMachine(this ComWrapper<ICamApiProject> projectCom, Guid guid, string filePath, string typeName)
Parameters
Declaration
public static void SetOperationTool(this ComWrapper<ICamApiProject> projectCom, string operationID, string toolID)
Parameters
SimulationTolerances(ComWrapper<ICamApiProject>)
Simulation tolerance settings of the project
Declaration
public static ComWrapper<ICamApiSimulationTolerances> SimulationTolerances(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
Simulator(ComWrapper<ICamApiProject>)
Manager of simulation of the project
Declaration
public static ComWrapper<ICamApiSimulator> Simulator(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
Snapshots(ComWrapper<ICamApiProject>)
Declaration
public static ComWrapper<IListCamApiSnapshot> Snapshots(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
Technologist(ComWrapper<ICamApiProject>)
Declaration
public static ComWrapper<ICamApiTechnologist> Technologist(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns
The list of machining tools used in the project
Declaration
public static ComWrapper<ICamApiMachiningToolsList> ToolsList(this ComWrapper<ICamApiProject> projectCom)
Parameters
Returns