Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Line identification 2

Status
Not open for further replies.
Replies continue below

Recommended for you

Turn off object names in the Visualisation Preferences.

2021-03-03_21-07-32_zg8fvm.png


Anthony Galante
Senior Support Engineer


NX4 to NX CR with almost every MR (18versions)
 
Anthony Galante

Thanks a lot for your comment and solution.

Best regards.

Tom

NX12 Windows 10 / Teamcenter 10

 
Friends

In the same way, in drafting module all views show a "box" all around the views. ¿how can I get off that?

Thanks for your comments

Tom
round_box_krtc7x.jpg


NX12 Windows 10 / Teamcenter 10
 
The "box" represents the drafting view border. I suggest leaving it on as it does not print (nor is it exported to PDF) and it makes selecting and aligning views much easier. However, if you simply can't abide seeing them, you can turn them off in the drafting preferences (view -> workflow -> border -> display). The setting is part specific, meaning turning it off in part A will not affect part B. If you create new drawings from a template, open the template and change the setting; any new drawings created from the template will inherit the setting (existing drawings will need to be changed manually).

www.nxjournaling.com
 
cowski

Awesome, and thanks for your comments and suggestions, and is correct as you say "simply I can't abide seeing them".

Best regards

Tom

NX12 Windows 10 / Teamcenter 10

 
Another option is to change the color of the border to something close to the background but not the same. It allows your eyes to pass over them easier and yet allows you to see them when you need to find them.

Also, someone once made this journal for me. You can create a button for it and it toggles the drafting views borders on and off. So the borders are always a simple click away.

Code:
Option Strict Off
Imports System
Imports NXOpen

Module Module1

    Sub Main()

        Dim theSession As Session = Session.GetSession()
        If IsNothing(theSession.Parts.BaseWork) Then
            'active part required
            Return
        End If

        Dim workPart As Part = theSession.Parts.Work
        Dim lw As ListingWindow = theSession.ListingWindow
        lw.Open()

        Const undoMarkName As String = "toggle drafting view borders"
'        Dim markId1 As Session.UndoMarkId
'        markId1 = theSession.SetUndoMark(Session.MarkVisibility.Visible, undoMarkName)

        Dim preferencesBuilder1 As Drafting.PreferencesBuilder
        preferencesBuilder1 = workPart.SettingsManager.CreatePreferencesBuilder()

        preferencesBuilder1.ViewWorkflow.DisplayBorders = Not preferencesBuilder1.ViewWorkflow.DisplayBorders

        Dim nXObject1 As NXObject
        nXObject1 = preferencesBuilder1.Commit()

        preferencesBuilder1.Destroy()

        lw.Close()

    End Sub


    Public Function GetUnloadOption(ByVal dummy As String) As Integer

        'Unloads the image immediately after execution within NX
        GetUnloadOption = NXOpen.Session.LibraryUnloadOption.Immediately

    End Function

End Module

Ken
My brain is like a sponge. A sopping wet sponge. When I use it, I seem to lose more than I soak in.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor