Class TopSolidDraftingHostInstance
Represents a TopSolid'Drafting host instance providing WCF services for automating.
Inherited Members
Namespace: TopSolid.Cad.Drafting.Automating
Assembly: TopSolid.Cad.Drafting.Automating.dll
Syntax
[AvailableSinceVersion(7, 10, 0, 0)]
public class TopSolidDraftingHostInstance
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 TopSolidDraftingHost static class.
This class is available since v7.10.
Constructors
| Name | Description |
|---|---|
| TopSolidDraftingHostInstance(TopSolidHostInstance) | Initializes a new instance of the TopSolidDraftingHostInstance class. |
Properties
| Name | Description |
|---|---|
| Annotations | Gets access to tables in drafting documents, or null if not connected. |
| Dimensions | Gets access to drafting documents dimensions, or null if not connected. |
| Draftings | Gets access to drafting documents, or null if not connected. |
| IsConnected | Tells whether TopSolid is connected. |
| Styles | Gets access to drafting documents, or null if not connected. |
| Tables | Gets access to tables in drafting documents, or null if not connected. |
Methods
| Name | Description |
|---|---|
| Connect() | Connects to TopSolid application. |
| Disconnect() | Disconnect from TopSolid application. |