Search Results for

    Show / Hide Table of Contents

    Class TopSolidHost

    Represents TopSolid host providing WCF services for automating.

    Inheritance
    object
    TopSolidHost
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: TopSolid.Kernel.Automating
    Assembly: TopSolid.Kernel.Automating.dll
    Syntax
    [AvailableSinceVersion(7, 6, 0, 0)]
    public static class TopSolidHost
    Remarks

    This class is available since v7.6.

    Fields

    Name Description
    AngularPrecision

    Geometric angular precision (in radians): two lines which make an angle of less than this value are considered parallel.

    LinearPrecision

    Geometric linear precision (in meters): two points which are less than this distance apart are considered coincident.

    Properties

    Name Description
    Application

    Gets access to the application, or null if not available.

    Arguments

    Gets or sets the arguments to declare to the TopSolid process when the process needs to be started. To set before the call to the Connect() methods.

    Classifications

    Gets access to classifications, or null if not available.

    ClientAddress

    Gets the client IP address used for receiving events when using TCP, or null for not managing events.

    ClientName

    Gets the client name, or null if anonymous.

    ClientPort

    Gets the client port used for receiving events when using TCP, or 0 for not managing events.

    ClientVersion

    Gets the version of TopSolid used to build this application.

    Documents

    Gets access to documents, or null if not available.

    DocumentsEventsHost

    Gets access to the documents events service host, or null if not created.

    Elements

    Gets access to elements, or null if not available.

    Entities

    Gets access to entities, or null if not available.

    Families

    Gets access to families, or null if not available.

    Geometries2D

    Gets access to 2D geometric entities, or null if not available.

    Geometries3D

    Gets access to 3D geometric entities, or null if not available.

    Healing

    Gets access to layer entities, or null if not available.

    HostAddress

    Gets the host IP address, or null if not using TCP.

    HostInstance

    Gets the host instance.

    HostPort

    Gets the host port, or 0 if not using TCP.

    IsConnected

    Tells whether TopSolid is connected.

    Layers

    Gets access to layer entities, or null if not available.

    Licenses

    Gets access to licenses, or null if not available.

    Materials

    Gets access to materials, or null if not available.

    Operations

    Gets access to operations, or null if not available.

    Options

    Gets access to documents options, or null if not available.

    Parameters

    Gets access to parameter entities, or null if not available.

    Pdm

    Gets access to the PDM, or null if not available.

    PdmAdmin

    Gets access to the PDM administration, or null if not available.

    PdmSecurity

    Gets access to the PDM security, or null if not available.

    PdmWorkflow

    Gets access to the PDM administration, or null if not available.

    PipeName

    Gets or sets the name used to make named pipe, or null for default.

    Shapes

    Gets access to shape entities, or null if not available.

    Sketches2D

    Gets access to 2D sketches, or null if not available.

    Sketches3D

    Gets access to 3D sketches, or null if not available.

    Textures

    Gets access to textures, or null if not available.

    Units

    Gets access to units, or null if not available.

    User

    Gets access to the user, or null if not available.

    Version

    Gets the version of TopSolid host, or 0 if not connected.

    Visualization3D

    Gets access to 3D visualization, or null if not available.

    Methods

    Name Description
    Connect()

    Connects to TopSolid application.

    Connect(bool, int)

    Connects to TopSolid application.

    Connect(bool, int, string)

    Connects to TopSolid application.

    Connect(string)

    Connects to TopSolid application.

    DefineConnection(string, int, string, int)

    Defines the connection between this client application and TopSolid host for remote access.

    Disconnect()

    Disconnects from TopSolid application.

    HandleDocumentsEvents(Type)

    Starts documents events handling.

    ParseVersion(string)

    Parses a string version (i.e. "7.8.200.0" to get the corresponding integer version (i.e. 708200000).

    Events

    Name Description
    Exited

    This event is raised when the host process was running on the local machine and has exited.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.