News:

Please remember to do a search before you ask a question!

Main Menu

How do you change dimension rounding and decimal precision for a drawing,

Started by jrdarrah, July 14, 2022, 11:26:31 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

jrdarrah

I've been able to add dimensions and change properties for each one. I need to change the rounding to  0.001 and decimal precision to 3 for all dimensions being added to the drawing. Is there a way using the SDK to change those two values for the drawing before adding any dimensions?

nikkipollard

The property to change is "$DIMRND"
DimGraphic.Properties.Item("$DIMRND").Value = 0.001
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

Quote from: jrdarrah on July 14, 2022, 11:26:31 AMI've been able to add dimensions and change properties for each one. I need to change the rounding to  0.001 and decimal precision to 3 for all dimensions being added to the drawing. Is there a way using the SDK to change those two values for the drawing before adding any dimensions?

There is a much easier way than using SDK:
>Use Dimension Styles, via the Style Manager; or-- or in conjunction with-- Property Values Presets.


Don't know what those are?  Read about them in the Help Documentation; or you might be fortunate enough that one of IMSI/TurboCAD's videos on their YouTube channel covers these topics.  There is also "Getting Started" videos available via your opened session of TurboCAD (in the Help menu).  There are also instructive videos on IMSI-Design/TurboCAD's website; maybe they have one or two on those topics.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

nikkipollard

Quote from: Alvin Gregorio on July 15, 2022, 03:37:28 AM
Quote from: jrdarrah on July 14, 2022, 11:26:31 AMI've been able to add dimensions and change properties for each one. I need to change the rounding to  0.001 and decimal precision to 3 for all dimensions being added to the drawing. Is there a way using the SDK to change those two values for the drawing before adding any dimensions?

There is a much easier way than using SDK:
>Use Dimension Styles, via the Style Manager; or-- or in conjunction with-- Property Values Presets.


Don't know what those are?  Read about them in the Help Documentation; or you might be fortunate enough that one of IMSI/TurboCAD's videos on their YouTube channel covers these topics.  There is also "Getting Started" videos available via your opened session of TurboCAD (in the Help menu).  There are also instructive videos on IMSI-Design/TurboCAD's website; maybe they have one or two on those topics.
I think this is part of a program that does more then add dimensions Alvin.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h