Solid Edge Assembly Type Library
Relations3d Collection
Members 
Description
A collection of relationships for parts and subassemblies that are contained in the referenced assembly.
Remarks
You can access the Relations3d object through either the AssemblyDocument object or the Occurrence object. You access a specific relationship through the Item method. The Relations3d collection that belongs to the AssemblyDocument object provides a way to access all relationships that are defined for a part. There are three types of 3-D relationships: AxialRelation3d, GroundRelation3d, and PlanarRelation3d, and you can determine the type by means of the Type property.
Example
Imports System.IO
Imports System.Runtime.InteropServices

Module Example
    <STAThread()> _
    Sub Main()

        Dim objApplication As SolidEdgeFramework.Application
        Dim objAssemblyDocument As SolidEdgeAssembly.AssemblyDocument
        Dim objRelations3d As SolidEdgeAssembly.Relations3d

        Try
            OleMessageFilter.Register()

            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            objAssemblyDocument = objApplication.ActiveDocument
            objRelations3d = objAssemblyDocument.Relations3d

        Catch ex As Exception
            Console.WriteLine(ex.Message)
        Finally
            OleMessageFilter.Revoke()
        End Try
    End Sub
End Module
See Also

Relations3d Members