Class TopSolidDesignHostInstance
Represents a TopSolid'Design host instance providing WCF services for automating.
Inherited Members
Namespace: TopSolid.Cad.Design.Automating
Assembly: TopSolid.Cad.Design.Automating.dll
Syntax
[AvailableSinceVersion(7, 10, 0, 0)]
public class TopSolidDesignHostInstance
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 TopSolidDesignHost static class.
This class is available since v7.10.
Constructors
| Name | Description |
|---|---|
| TopSolidDesignHostInstance(TopSolidHostInstance) | Initializes a new instance of the TopSolidDesignHostInstance class. |
Properties
| Name | Description |
|---|---|
| Assemblies | Gets access to assemblies, or null if not connected. |
| Boms | Gets access to bill of materials (BOMs), or null if not connected. |
| Coatings | Gets access to coatings, or null if not connected. |
| Features | Gets access to features, or null if not connected. |
| Finishings | Gets access to finishings, or null if not connected. |
| IsConnected | Tells whether TopSolid is connected. |
| Materials | Gets access to materials, or null if not connected. |
| Mechanisms | Gets access to mechanisms, or null if not connected. |
| MultiLayers | Gets access to multi Layer, or null if not connected. |
| Parts | Gets access to parts, or null if not connected. |
| Processes | Gets access to processes, or null if not connected. |
| Representations | Gets access to representations, or null if not connected. |
| Simulations | Gets access to simulations, or null if not connected. |
| Substitutions | Gets access to substitutions, or null if not connected. |
| Tools | Gets access to tools, or null if not connected. |
| Unfoldings | Gets access to unfoldings, or null if not connected. |
Methods
| Name | Description |
|---|---|
| Connect() | Connects to TopSolid application. |
| Disconnect() | Disconnect from TopSolid application. |