Class TopSolidCaeHostInstance
Represents a TopSolid'Cae host instance providing WCF services for automating.
Inherited Members
Namespace: TopSolid.Cae.Kernel.Automating
Assembly: TopSolid.Cae.Kernel.Automating.dll
Syntax
public class TopSolidCaeHostInstance
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), otherwise if only one instance of TopSolid is to be automated, it is possible to simply use the TopSolidCaeHost static class.
This class is available since v7.17.
Constructors
TopSolidCaeHostInstance(TopSolidHostInstance)
Initializes a new instance of the TopSolidCaeHostInstance class.
Declaration
public TopSolidCaeHostInstance(TopSolidHostInstance inTopSolidHostInstance)
Parameters
| Type | Name | Description |
|---|---|---|
| TopSolidHostInstance | inTopSolidHostInstance | TopSolid host instance. |
Properties
Documents
Gets access to Cae documents, or null if not connected.
Declaration
public ICAEDocuments Documents { get; }
Property Value
| Type | Description |
|---|---|
| ICAEDocuments |
IsConnected
Tells whether TopSolid is connected.
Declaration
public bool IsConnected { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Results
Gets access to Cae results, or null if not connected.
Declaration
public IResults Results { get; }
Property Value
| Type | Description |
|---|---|
| IResults |
Methods
Connect()
Connects to TopSolid application.
Declaration
public void Connect()
Disconnect()
Disconnect from TopSolid application.
Declaration
public void Disconnect()