×
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

Displaying results of variables on Drawings

Displaying results of variables on Drawings

Displaying results of variables on Drawings

(OP)
How can I display the result of a global variable, which sums the length of a chain made of 3 lines and an arc, on a drawing?

RE: Displaying results of variables on Drawings

Watco,

I am not sure what you mean by a global variable?  Are you doing this analysis in a model or drawing?

Regards,

Regg

RE: Displaying results of variables on Drawings

1) Create a "Total Length" Custom Property in the part.
2) Read the individual dimensions & the Total Length property into a Design Table in the part.
3) Create an AutoSum of the dimension values in the Total Length column & close the DT.
4) In the drawing, link a note to the Total Length property of the part.


Helpful SW websites  FAQ559-520
How to get answers to your SW questions  FAQ559-1091

RE: Displaying results of variables on Drawings

(OP)
Hello CorBlimeyLimey,
Thank you for the help.  One problem has come up though, when the "Total Length" property is displayed in the linked note on the drawing, it displays as a rounded up integer: 4.  I would like it to display as the entire evaluated value: 3.755.
Do you know how to do this?

RE: Displaying results of variables on Drawings

The linked note should display whatever is seen in the DT. You probably need to adjust the "Total Length" column to display the required precision of the value.


Helpful SW websites  FAQ559-520
How to get answers to your SW questions  FAQ559-1091

RE: Displaying results of variables on Drawings

(OP)
Well, I didn't use the DT.  I just made a custom property using a global variable: "Total Length".  Then linked the note on the drawing to the custom property "Total Length".  And after looking at it closer, this does not seem to be working.  The value on the note is -3, and the evaluated value on the custom property window is 3.775.
Strange.

RE: Displaying results of variables on Drawings

I had forgotten about the Global Variable/Equation method, but I just tried it & it did not work for me either. What should have been 8" returned -4 in the linked note. Plus the value did not update when the sketch lengths were changed. The Equation shows the correct value, however.

This looks like a bug! Report it to your VAR.

Try the DT method ... it works well.


Helpful SW websites  FAQ559-520
How to get answers to your SW questions  FAQ559-1091

RE: Displaying results of variables on Drawings

Watco & CBL,

I have been following your conversation.  Now that I understand what you are talking about, I tried to duplicate the problem with the total length note.  I get the correct length to display on my drawing.  If I change a length in the sketch and do a rebuild, it also corrects itself.  I am using SW2005 SP 5.0.  What version and SP are you two using?

Regards,

Regg

RE: Displaying results of variables on Drawings

(OP)
SW2005 SP0.1

Do you think it has anything to do with the "type" of variable in the custom property table?  It only accepts "text", "number" gives an error: "invalid value entered for type "number".

Watco

RE: Displaying results of variables on Drawings

Watco ... try updating to SP5 to see if that fixes the problem.


Helpful SW websites  FAQ559-520
How to get answers to your SW questions  FAQ559-1091

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