Search Results for

    Show / Hide Table of Contents

    Class TopSolidDesignHostInstance

    Represents a TopSolid'Design host instance providing WCF services for automating.

    Inheritance
    System.Object
    TopSolidDesignHostInstance
    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.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

    TopSolidDesignHostInstance(TopSolidHostInstance)

    Initializes a new instance of the TopSolidDesignHostInstance class.

    Declaration
    public TopSolidDesignHostInstance(TopSolidHostInstance inTopSolidHostInstance)
    Parameters
    Type Name Description
    TopSolidHostInstance inTopSolidHostInstance

    TopSolid host instance.

    Properties

    Assemblies

    Gets access to assemblies, or null if not connected.

    Declaration
    public IAssemblies Assemblies { get; }
    Property Value
    Type Description
    IAssemblies

    Boms

    Gets access to bill of materials (BOMs), or null if not connected.

    Declaration
    public IBoms Boms { get; }
    Property Value
    Type Description
    IBoms

    Coatings

    Gets access to coatings, or null if not connected.

    Declaration
    public ICoatings Coatings { get; }
    Property Value
    Type Description
    ICoatings

    Features

    Gets access to features, or null if not connected.

    Declaration
    public IFeatures Features { get; }
    Property Value
    Type Description
    IFeatures

    IsConnected

    Tells whether TopSolid is connected.

    Declaration
    public bool IsConnected { get; }
    Property Value
    Type Description
    System.Boolean

    Materials

    Gets access to materials, or null if not connected.

    Declaration
    public IMaterials Materials { get; }
    Property Value
    Type Description
    IMaterials

    Mechanisms

    Gets access to mechanisms, or null if not connected.

    Declaration
    public IMechanisms Mechanisms { get; }
    Property Value
    Type Description
    IMechanisms

    MultiLayers

    Gets access to multi Layer, or null if not connected.

    Declaration
    public IMultiLayer MultiLayers { get; }
    Property Value
    Type Description
    IMultiLayer

    Parts

    Gets access to parts, or null if not connected.

    Declaration
    public IParts Parts { get; }
    Property Value
    Type Description
    IParts

    Representations

    Gets access to representations, or null if not connected.

    Declaration
    public IRepresentations Representations { get; }
    Property Value
    Type Description
    IRepresentations

    Simulations

    Gets access to simulations, or null if not connected.

    Declaration
    public ISimulations Simulations { get; }
    Property Value
    Type Description
    ISimulations

    Substitutions

    Gets access to substitutions, or null if not connected.

    Declaration
    public ISubstitutions Substitutions { get; }
    Property Value
    Type Description
    ISubstitutions

    Tools

    Gets access to tools, or null if not connected.

    Declaration
    public ITools Tools { get; }
    Property Value
    Type Description
    ITools

    Unfoldings

    Gets access to unfoldings, or null if not connected.

    Declaration
    public IUnfoldings Unfoldings { get; }
    Property Value
    Type Description
    IUnfoldings

    Methods

    Connect()

    Connects to TopSolid application.

    Declaration
    public void Connect()

    Disconnect()

    Disconnect from TopSolid application.

    Declaration
    public void Disconnect()
    In This Article
    • Mentions légales
    • C.G.U
    • Données personnelles

    Copyright © 2024 TopSolid Tous droits réservés