Class TopSolidDraftingHost
Represents TopSolid'Drafting host providing WCF services for automating.
Inheritance
System.Object
TopSolidDraftingHost
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TopSolid.Cad.Drafting.Automating
Assembly: TopSolid.Cad.Drafting.Automating.dll
Syntax
[AvailableSinceVersion(7, 6, 0, 0)]
public static class TopSolidDraftingHost
Remarks
This class is available since v7.6.
Properties
Annotations
Gets access to annotations in drafting documents, or null if not connected.
Declaration
public static IAnnotations Annotations { get; }
Property Value
Type | Description |
---|---|
IAnnotations |
Draftings
Gets access to drafting documents, or null if not connected.
Declaration
public static IDraftings Draftings { get; }
Property Value
Type | Description |
---|---|
IDraftings |
HostInstance
Gets the host instance.
Declaration
public static TopSolidDraftingHostInstance HostInstance { get; }
Property Value
Type | Description |
---|---|
TopSolidDraftingHostInstance |
IsConnected
Tells whether TopSolid is connected.
Declaration
public static bool IsConnected { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Tables
Gets access to tables in drafting documents, or null if not connected.
Declaration
public static ITables Tables { get; }
Property Value
Type | Description |
---|---|
ITables |
Methods
Connect()
Connects to TopSolid application.
Declaration
public static void Connect()
Disconnect()
Disconnect from TopSolid application.
Declaration
public static void Disconnect()