×
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

Family Table and repeat region

Family Table and repeat region

Family Table and repeat region

(OP)
Hi,

Shall any one help me how to control the decimal places in the family table. By default its having 14 decimal places I want to control for 2 decimal places.

This is because, in drawing table, created by Repeat region is showing 3 decimal places I have to control for 2 decimal places.

Thanks and regards
Muzamil

RE: Family Table and repeat region

In the value for the family table, enter [.2} after the dimension expression. The value in the square brackets controls the number of decimal places to display.
 

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: Family Table and repeat region

(OP)
Thanks, Actully I entered as you suggest but the expression is showing error. For example
    D1 = ALCK_D1*25.4 [.2]
Here D1 is the value which is displaying in the family table. May I know whether I am giving the control in the right place?

Thanks and regards
Muzamil

RE: Family Table and repeat region

In the family table, put it like this: D1[.2]
 

"Wildfires are dangerous, hard to control, and economically catastrophic."

Ben Loosli

RE: Family Table and repeat region

Add the following to your config.pro

default_dec_places 2

this will set it to 2 decimal places

RE: Family Table and repeat region

(OP)
Yes, I agree with this but it will distrube all other files and other users. I need this decimal adjustment in only one file. I used Itos function also but its completly round off the number. I need 2 decimal places to display in partfamily table.

Is it possible to control for the user defined parameter in a partfamily to 2 decimal places !!!!!!?

Thanks and regards
Muzamil

RE: Family Table and repeat region

I don't think you can control it in the family table but you can control it's display on the drawing with the &D1[.2] notation.

RE: Family Table and repeat region

(OP)
Yes, your right I got the control on the display in the drawing by using
&fam.inst.param.value[.2]
This controls the display to 2 decimal places.

Thanks for all your support.

Thanks and regards
Muzamil

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