Solid Edge Framework Type Library
ActiveSelectSet Property
Description
Returns the SelectSet object for the currently active window.
Property type
Read-only property
Syntax
Visual Basic
Public Property ActiveSelectSet As SelectSet
Example
Imports SolidEdgeFramework
Imports System.Runtime.InteropServices

Module Example
    <STAThread()> _
    Sub Main()
        Dim objApplication As SolidEdgeFramework.Application = Nothing
        Dim objSelectSet As SolidEdgeFramework.SelectSet = Nothing

        Try
            OleMessageFilter.Register()

            ' Connect to a running instance of Solid Edge.
            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            objSelectSet = objApplication.ActiveSelectSet
        Catch ex As Exception
            ' Write any errors to console.
            Console.WriteLine(ex.Message)
        Finally
            OleMessageFilter.Revoke()
        End Try
    End Sub
End Module
See Also

Application Object  | Application Members