Class TopSolidCamHostInstance
Represents a TopSolid'Cam host instance providing WCF services for automating.
Inheritance
Inherited Members
Namespace: TopSolid.Cam.NC.Kernel.Automating
Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
Syntax
public class TopSolidCamHostInstance
Remarks
When automating several instances of TopSolid at the same time one must make and use several instances of this class (one per TopSolid instance), otherwize if only one instance of TopSolid is to be automated, it is possible to simply use the TopSolidCamHost static class.
This class is available since v7.10.
Constructors
TopSolidCamHostInstance(TopSolidHostInstance)
Initializes a new instance of the TopSolidCamHostInstance class.
Declaration
public TopSolidCamHostInstance(TopSolidHostInstance inTopSolidHostInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| TopSolidHostInstance | inTopSolidHostInstance | TopSolid host instance. |
Properties
CamSketch
Gets access to Cam sketch, or null if not connected.
Declaration
public ICamSketch CamSketch { get; }
Property Value
| Type | Description |
|---|---|
| ICamSketch |
Documents
Gets access to documents, or null if not connected.
Declaration
public IDocuments Documents { get; }
Property Value
| Type | Description |
|---|---|
| IDocuments |
IsConnected
Tells whether TopSolid is connected.
Declaration
public bool IsConnected { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Machines
Gets access to machine tools, or null if not connected.
Declaration
public IMachineTools Machines { get; }
Property Value
| Type | Description |
|---|---|
| IMachineTools |
NCFiles
Gets access to NC Files, or null if not connected.
Declaration
public INCFiles NCFiles { get; }
Property Value
| Type | Description |
|---|---|
| INCFiles |
NCPostProcessor
Gets access to NC post-processor, or null if not connected.
Declaration
public INCPostProcessor NCPostProcessor { get; }
Property Value
| Type | Description |
|---|---|
| INCPostProcessor |
Operations
Gets access to operations, or null if not connected.
Declaration
public IOperations Operations { get; }
Property Value
| Type | Description |
|---|---|
| IOperations |
Origins
Gets access to originstools, or null if not connected.
Declaration
public IOrigins Origins { get; }
Property Value
| Type | Description |
|---|---|
| IOrigins |
Parameters
Gets access to operation parameters, or null if not connected.
Declaration
public IParameters Parameters { get; }
Property Value
| Type | Description |
|---|---|
| IParameters |
Parts
Gets access to Cam parts, or null if not connected.
Declaration
public IParts Parts { get; }
Property Value
| Type | Description |
|---|---|
| IParts |
PartSettingDocuments
Gets access to part setting documents, or null if not connected.
Declaration
public IPartSettingDocument PartSettingDocuments { get; }
Property Value
| Type | Description |
|---|---|
| IPartSettingDocument |
Pockets
Gets access to machine pockets, or null if not connected.
Declaration
public IPockets Pockets { get; }
Property Value
| Type | Description |
|---|---|
| IPockets |
Programs
Gets access to Cam programs, or null if not connected.
Declaration
public IPrograms Programs { get; }
Property Value
| Type | Description |
|---|---|
| IPrograms |
Simulation
Gets access to simulation, or null if not connected.
Declaration
public ISimulation Simulation { get; }
Property Value
| Type | Description |
|---|---|
| ISimulation |
StaticOperations
Gets access to static operations, or null if not connected.
Declaration
public IStaticOperations StaticOperations { get; }
Property Value
| Type | Description |
|---|---|
| IStaticOperations |
ToolPath
Gets access to operation tool path, or null if not connected.
Declaration
public IToolPath ToolPath { get; }
Property Value
| Type | Description |
|---|---|
| IToolPath |
Tools
Gets access to tools, or null if not connected.
Declaration
public ITools Tools { get; }
Property Value
| Type | Description |
|---|---|
| ITools |
Verify
Gets access to verification, or null if not connected.
Declaration
public IVerify Verify { get; }
Property Value
| Type | Description |
|---|---|
| IVerify |
WorldCoordinateSystems
Gets access to WCSs, or null if not connected.
Declaration
public IWorldCoordinateSystems WorldCoordinateSystems { get; }
Property Value
| Type | Description |
|---|---|
| IWorldCoordinateSystems |
Methods
Connect()
Connects to TopSolid Cam application.
Declaration
public void Connect()
Disconnect()
Disconnect from TopSolid application.
Declaration
public void Disconnect()