×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Balloon size must be greater than zero
4

Balloon size must be greater than zero

Balloon size must be greater than zero

(OP)
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?

RE: Balloon size must be greater than zero

Check to make sure the units of the drawing are inches.

RE: Balloon size must be greater than zero

(OP)
I failed to mention that the file is in inches, yes.

RE: Balloon size must be greater than zero

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

RE: Balloon size must be greater than zero

Going to bump this. When you click the balloon icon, I get the same error

RE: Balloon size must be greater than zero

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".

RE: Balloon size must be greater than zero

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

RE: Balloon size must be greater than zero

(OP)
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?

RE: Balloon size must be greater than zero

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

RE: Balloon size must be greater than zero

3
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

RE: Balloon size must be greater than zero

Tim,

Thank you. That worked for me.

RE: Balloon size must be greater than zero

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

RE: Balloon size must be greater than zero

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

RE: Balloon size must be greater than zero

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources