Class TopSolidWireTechnologyHostInstance
Represents a TopSolid'Wire host instance providing WCF services for automating.
Inheritance
Inherited Members
Namespace: TopSolid.Cam.NC.Wire.Automating
Assembly: TopSolid.Cam.NC.Wire.Automating.dll
Syntax
public class TopSolidWireTechnologyHostInstance
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 TopSolidWireTechnologyHost static class.
This class is available since v7.10.
Constructors
TopSolidWireTechnologyHostInstance(TopSolidHostInstance)
Initializes a new instance of the TopSolidWireTechnologyHostInstance class.
Declaration
public TopSolidWireTechnologyHostInstance(TopSolidHostInstance inTopSolidHostInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| TopSolidHostInstance | inTopSolidHostInstance | TopSolid host instance. |
Properties
Documents
Gets access to documents, or null if not connected.
Declaration
public IWireTechnologyDocuments Documents { get; }
Property Value
| Type | Description |
|---|---|
| IWireTechnologyDocuments |
IsConnected
Tells whether TopSolid is connected.
Declaration
public bool IsConnected { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
WireCuttingConditions
Gets access to wire technologies, or null if not connected.
Declaration
public IWireCc WireCuttingConditions { get; }
Property Value
| Type | Description |
|---|---|
| IWireCc |
WireTechnologies
Gets access to wire technologies, or null if not connected.
Declaration
public IWireTechnologies WireTechnologies { get; }
Property Value
| Type | Description |
|---|---|
| IWireTechnologies |
Methods
Connect()
Connects to TopSolid Cam application.
Declaration
public void Connect()
Disconnect()
Disconnect from TopSolid application.
Declaration
public void Disconnect()