Solid Edge Assembly Type Library
MirrorPlane Property
Description
Property type
Read-write property
Syntax
Visual Basic
Public Property MirrorPlane As Object
Example
Imports System.IO
Imports System.Runtime.InteropServices

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

        Dim objApplication As SolidEdgeFramework.Application = Nothing
        Dim objAssemblyDocument As SolidEdgeAssembly.AssemblyDocument = Nothing
        Dim objAssemblyCopies As SolidEdgeAssembly.AssemblyCopies = Nothing
        Dim objAssemblyCopy As SolidEdgeAssembly.AssemblyCopy = Nothing
        Dim objMirrorAsmRefPlane As SolidEdgeAssembly.AsmRefPlane = objAssemblyCopy.MirrorPlane

        Try
            OleMessageFilter.Register()

            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            objAssemblyDocument = objApplication.ActiveDocument
            objAssemblyCopies = objAssemblyDocument.AssemblyCopies
            objAssemblyCopy = objAssemblyCopies.Item("Assembly Copy_1")
            objMirrorAsmRefPlane = objAssemblyCopy.MirrorPlane

            If (objMirrorAsmRefPlane Is Nothing) Then
                Console.WriteLine("No mirror plane")
            Else
                Console.Write("Mirror plane: ")
                Console.WriteLine(objMirrorAsmRefPlane.Name)
            End If

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

AssemblyCopy Object  | AssemblyCopy Members  | Solid Edge ST5 - What's New