Solid Edge Assembly Type Library
SelectSet Property
Description
Returns the current selection set for the referenced document.
Property type
Read-only property
Syntax
Visual Basic
Public Property SelectSet As SelectSet
Remarks
The selection set is a collection object that holds all selected objects.
Example
Private Sub Form_Load()
    Dim objApp As SolidEdgeFramework.Application
    Dim objDoc As SolidEdgeAssembly.AssemblyDocument
    Dim objSelectSet As SolidEdgeFramework.SelectSet
    ' Report errors
    Const PI = 3.14159265358979
    ' Create/get the application with specific settings
    On Error Resume Next
    Set objApp = GetObject(, "SolidEdge.Application")
    If Err Then
        Err.Clear
        Set objApp = CreateObject("SolidEdge.Application")
        Set objDoc = objApp.Documents.Add("SolidEdge.AssemblyDocument")
        objApp.Visible = True
    Else
        Set objDoc = objApp.ActiveDocument
    End If
    ' Getting the SelectSet object for the Assembly document
    Set objSelectSet = objDoc.SelectSet
    ' USER DISPLAY
    ' Release objects
    Set objApp = Nothing
    Set objDoc = Nothing
    Set objSelectSet = Nothing
End Sub
See Also

AssemblyDocument Object  | AssemblyDocument Members