Class ProjectHelper
Inheritance
ProjectHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class ProjectHelper
Methods
FeatureFinder(ComWrapper<ICamIpcProject>)
Feature finder — provides access to recognized features of the current project
Declaration
public static ComWrapper<ICamIpcFeatureFinder> FeatureFinder(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
FilePath(ComWrapper<ICamIpcProject>)
Declaration
public static string FilePath(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
GeomImporter(ComWrapper<ICamIpcProject>)
Geometrical files importer
Declaration
public static ComWrapper<ICamIpcGeometryImporter> GeomImporter(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
GeomModel(ComWrapper<ICamIpcProject>)
Declaration
public static ComWrapper<ICamIpcGeometryModel> GeomModel(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
Id(ComWrapper<ICamIpcProject>)
Unique identifier of project
Declaration
public static string Id(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
LoadMachineFromXmlProp(ComWrapper<ICamIpcProject>)
Rebuild the project machine from its current XML properties — the apply step for edits
made through Machine.XMLProp. Also rebuilds the state derived from the machine.
Declaration
public static void LoadMachineFromXmlProp(this ComWrapper<ICamIpcProject> project)
Parameters
NCMaker(ComWrapper<ICamIpcProject>)
Declaration
public static ComWrapper<ICamIpcNCMaker> NCMaker(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
PLMConnectionId(ComWrapper<ICamIpcProject>)
Identifier of the PLM connection the project came from; Guid.Empty when there is no
PLM origin.
Declaration
public static Guid PLMConnectionId(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
PLMItemId(ComWrapper<ICamIpcProject>)
Identifier of the project inside the PLM system it was loaded from; empty string when
the project has no PLM origin. Use PLMConnectionId to tell which PLM system it belongs to.
Declaration
public static string PLMItemId(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
SetMachine(ComWrapper<ICamIpcProject>, Guid, string, string)
Set machine for the project by guid, file path and type name
Declaration
public static void SetMachine(this ComWrapper<ICamIpcProject> project, Guid guid, string filePath, string typeName)
Parameters
Simulator(ComWrapper<ICamIpcProject>)
Manager of simulation of the project
Declaration
public static ComWrapper<ICamIpcSimulator> Simulator(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
Snapshots(ComWrapper<ICamIpcProject>)
Declaration
public static ComWrapper<IListCamIpcSnapshot> Snapshots(this ComWrapper<ICamIpcProject> project)
Parameters
Returns
Technologist(ComWrapper<ICamIpcProject>)
Declaration
public static ComWrapper<ICamIpcTechnologist> Technologist(this ComWrapper<ICamIpcProject> project)
Parameters
Returns