×
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

using variables in drafts?

using variables in drafts?

using variables in drafts?

(OP)
I am importing a variable used in a part into my draft template. The problem I am having is the format is not right. If I use the distance variable, it comes in with "in"(inch mark) as a suffix. If I use scalar variable, it comes in with only 2 decimal places. I want 3 decimal places with no "in" suffix. I have tried changing the precision in both the properties and the style I'm using. Nothing seems to change it. I am also using ST3.

RE: using variables in drafts?

I am assuming here that you just want to get rid of th "in" suffix and that you are using property text in the draft file.
The property text will be something like %{variablename¦GP}

You need to add the /NU qualifier after the variable name to get rid of the units so it will read %{variablename/NU¦GP}.
There are quite a few qualifiers so look for property text in the Help topics.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.

Where would we be without sat-nav?

RE: using variables in drafts?

(OP)
For some reason if the variable is being called from a part %{GrooveEnd/CP|R1} and the variable type is set at distance, the /NU does not work. I was able to get the format I want by changing the type to Scaler.
Thanks for yor reply BC. I was able to find other property handlers that come in handy.

RE: using variables in drafts?

Alternatively you should be able to remove all references to measurement units by unchecking an option in the model.
It's somewhere in Solid Edge Options but I can't remember which tab.

bc.
2.4GHz Core2 Quad, 4GB RAM,
Quadro FX4600.

Where would we be without sat-nav?

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