×
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

Attribute Text Link Properties...

Attribute Text Link Properties...

Attribute Text Link Properties...

(OP)
When I add an Attribute link to a leader text note on a drawing, the values from the model are showing with 5 deciaml places.  How can I change the number of decimal places that are shown?  Also, if two attributes are used in the same text note, can I apply different decimal places to each?

I have a chamfer that needs to have a tolerance on the length and the angle, but Catia does not do this.  So I am applying attribute links to from the chamfer feature of the model to a leader text note on the drawing.  I know I could use a simple text note, but it isn't parametric.

I want my note to read:
.050±.005 x 45°±5° (Not 0.05000 x 45.00000)

Thanks,

RE: Attribute Text Link Properties...

(OP)
I realize that the number of deciaml places being shown in the text note is the default setting in Option => Parameters & Units, but I would like to change the note without changing the model default.

Not sure if this can be done?

RE: Attribute Text Link Properties...

Other than turn off trailing zero in tools options, do not think it is possible.

Regards,
Derek

RE: Attribute Text Link Properties...

you could use some of the string functions in knowledgeware to preprocess the string in a parameter then attribute link to the parameter

Using the following
round(Real, String, Integer):Real
ToString(Real) : String
string.Extract(StartIndex: Integer, Length: Integer) : String

Proberbly the best
ToString(round(MODEL_PARAMETER,"in",3)

or much cruder
ToString(MODEL_PARAMETER).Extract(0,4)

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