×
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

Global Variables

Global Variables

Global Variables

(OP)
I think I am having a problem using global variables.  I built an assembly of a box and I made the length a global variable in my assembly.  In the part files for the sides, I establish the global variable and set one length in the sketch equal to that variable.
When I open the assembly and change the global variable, it does not update in the parts.  I have to open or edit each side plus edit the sketch for it to update.  This doesn't seem right.  Is this the way it is supposed to work?  The display of the variable in the feature trees of the assembly and the part files updates, but the part won't until the sketch is opened for edit.  Control Q doesn't force anything.  What's up with this?

Timelord

RE: Global Variables

(OP)
Scott,

The sketch was not done in context.  I established a variable in the part file equal to the global variable and set the sketch length equal to it.  When I change the global variable in the assembly, its display in the assembly and in the part files in the feature tree update, but the parts do not.  Just opening the part file or editing it in context and hitting update doesn't work, I have to edit the sketch.  I don't have to do anything when in edit skletch except rebuild, the sketch opens with the length updated.

Timelord

RE: Global Variables

Which version of SW are you using?

Regards

RE: Global Variables

(OP)
I am using 2005 SP 0.1, the latest and greatest.

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