Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Balloon size must be greater than zero 4

Status
Not open for further replies.

ROK99

Mechanical
Oct 15, 2012
57
Some users are getting error: "Balloon Size Must Be Greater Than Zero" whenever they try to make a balloon (ID Symbol). They cannot even enter the dialog box. It stops cold.

When we go through Preferences and Customer Defaults, there is the number .125 inches. It appears to be set up correctly every way we can check it. But as I said, the dialog box will not even open. Totally stuck.

We are in NX 9
Thoughts?
 
Replies continue below

Recommended for you

Check to make sure the units of the drawing are inches.
 
I failed to mention that the file is in inches, yes.
 
Do you get the balloon dialog appearing? If you do, try resetting the dialog with the circular arrow at the top right of the dialog. Otherwise, you'll have to find the dialog memory file (*.dlx) that will sit in your user folder and delete or rename it.

Anthony Galante
Senior Support Engineer

NX5.0.6, NX6.0.5, NX7.5.5, NX8.0.0 -> NX8.0.3
NX8.5.0 -> NX8.5.3, NX9.0.0 -> NX9.0.3, NX10 Beta
 
Going to bump this. When you click the balloon icon, I get the same error
 
We also have this problem sometimes. We now are on NX8. As I understand, this error comes from the older drawings (created with NX2 or earlier version).
The only solution is go to Preferences -> Annotation and press "Load all defaults".
 
Try the following journal, it will reset the balloon diameter without changing any other annotation values.

Code:
Option Strict Off
Imports System
Imports NXOpen

Module Module1

    Sub Main()

        Dim theSession As Session = Session.GetSession()
        If IsNothing(theSession.Parts.Work) 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 = "reset ID balloon diameter"
        Dim markId1 As Session.UndoMarkId
        markId1 = theSession.SetUndoMark(Session.MarkVisibility.Visible, undoMarkName)

        Dim balloonSize As Double

        If workPart.PartUnits = BasePart.Units.Millimeters Then
            'metric part units
            balloonSize = theSession.OptionsManager.GetRealValue("Drafting_idSymbolSize_MU")
            If balloonSize < 2 Then
                balloonSize = 12
            End If
        Else
            'english part units
            balloonSize = theSession.OptionsManager.GetRealValue("Drafting_idSymbolSize_EU")
            If balloonSize < 0.06 Then
                balloonSize = 0.5
            End If

        End If

        Dim symbolPreferences1 As Annotations.SymbolPreferences
        symbolPreferences1 = workPart.Annotations.Preferences.GetSymbolPreferences()
        symbolPreferences1.IdSymbolSize = balloonSize
        workPart.Annotations.Preferences.SetSymbolPreferences(symbolPreferences1)
        symbolPreferences1.Dispose()

        lw.Close()

    End Sub

End Module

www.nxjournaling.com
 
Thanks.
But not sure what you mean by: "follow the journal."

Those are not things a user can do. This journal has to be run as a program, right? From NX Open? What format do we save the journal in?
 
Open a text editor such as notepad (don't use Word, unless you are sure how to save as plain text), copy and paste the code above into a new document. Save it in a convenient location with a meaningful name (such as "reset_balloon_dia.vb") and be sure the file extension is ".vb" and not ".txt". In NX, 'play' the journal; in NX 8.5 this can be found in the Tools menu (Tools -> journal -> play...), browse to the journal you saved, select it, and press the "run" button. For NX 9, I think the "play journal" command is on the tools ribbon. The journal can be run by any user that has a modeling license.

www.nxjournaling.com
 
Not that cowski's journal won't work and probably isn't a better idea, but I called GTAC when having this issue and they had me do a reset dialog memory. Preferences -> User Interface -> General tab Reset Dialog Memory. Haven't had this issue since doing so. Downside is that is resets all of your dialogs.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Pro x64 SP1
Intel Xeon 2.53 GHz 6GB RAM
NVIDIA Quadro 4000 2GB
 
Just to clarify - I didn't intend to imply that cowski's journal was a bad idea, but rather the opposite. Poor choice of words on my part.

The GTAC suggestion will affect all dialogs - cowski's journal shouldn't do that to the dialogs.

Tim Flater
NX Designer
NX 9.0.2.5 Win7 Pro x64 SP1
Intel Xeon 2.53 GHz 6GB RAM
NVIDIA Quadro 4000 2GB
 
Also, just to be clear, I'm not entirely sure that the journal approach will work. I've not run into this issue myself, nor have I been able to reproduce it. The journal should reset the default balloon diameter; for those having this problem, I'd be interested in feedback - did it work?

www.nxjournaling.com
 
Actually, it did not.
We just did the "Reset All..." suggestion mentioned above and that worked.

This only seems to happen on really old files. Something is not translating when we jump many versions.

But thanks all, for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor