Solid Edge Assembly Type Library
SingleFrameForTangentialPaths Property
Description
If a frame contains tangential paths, we can control whether to create single frame occurrence for collinear paths or not using this property.
Property type
Read-write property
Syntax
Visual Basic
Public Property SingleFrameForTangentialPaths As Boolean
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 objStructuralFrames As SolidEdgeAssembly.StructuralFrames = Nothing
        Dim objStructuralFrame As SolidEdgeAssembly.StructuralFrame = Nothing

        Try
            OleMessageFilter.Register()

            objApplication = Marshal.GetActiveObject("SolidEdge.Application")
            objAssemblyDocument = objApplication.ActiveDocument
            objStructuralFrames = objAssemblyDocument.StructuralFrames

            ' Loop through all of the structural frames.
            For Each objStructuralFrame In objStructuralFrames
                objStructuralFrame.SingleFrameForTangentialPaths = True
            Next

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

StructuralFrame Object  | StructuralFrame Members  | Solid Edge ST3 - What's New