Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Ralf_Krieg
in reply to: breinkemeyer

Hello

 

You can change the selection priority for drawings with the little pulldown in the quick access toolbar to part selection. After this, if you hover over the screw flights, all lines should be highlighted. Right click and click on "hidden lines" in the context menu.

Or you can test the iLogic rule below. Start it and pick one line (if the line has visible or hidden line style is not relevant) and the hidden lines will be set to invisible.

To reset the invisible lines, right click on an empty space of the drawing view and select "show hidden lines".

Dim oApp As Inventor.Application= ThisApplication
Dim oDrawDoc As DrawingDocument = oApp.ActiveDocument
Dim oDrawCurveSeg As DrawingCurveSegment= oApp.CommandManager.Pick(kDrawingCurveSegmentFilter, "Pick a line of the component")
Dim oDrawCurve As DrawingCurve= oDrawCurveSeg.Parent
Dim oDrawView As DrawingView = oDrawCurve.Parent
Dim oEdgeProxy As EdgeProxy= oDrawCurve.ModelGeometry
Dim oOcc As ComponentOccurrence = oEdgeProxy.ContainingOccurrence
Dim oDrawCurves As DrawingCurvesEnumerator = oDrawView.DrawingCurves(oOcc)

For Each oDrawCurve In oDrawCurves
    For Each oDrawCurveSeg In oDrawCurve.Segments
        If oDrawCurveSeg.HiddenLine = True Then
            oDrawCurveSeg.Visible = False
        End If
    Next
Next

 

 


R. Krieg
RKW Solutions
www.rkw-solutions.com