Jump to content

RTOS AutoCAD 2024 broken?


Aftertouch

Recommended Posts

Hi all, 

Got something special....

 

AutoCAD 2023:

(Setq layoutwidth 1189.0)

(rtos layoutwidth 2 2)

"1189.00"

 

AutoCAD 2024:

(Setq layoutwidth 1189.0)

(rtos layoutwidth 2 2)

"1189"

 

Is this some kind of variable im missing... or is AutoCAD2024 broken?

Link to comment
Share on other sites

There are system variables control the form of the outcome.

From help document:

Remarks

The rtos function returns a string that is the representation of number according to the settings of mode, precision, and the AutoCAD UNITMODE, DIMZIN, LUNITS, and LUPREC system variables.

The mode and precision arguments correspond to the AutoCAD LUNITS and LUPREC system variables. If you omit the arguments, rtos uses the current settings of LUNITS and LUPREC.

Link to comment
Share on other sites

@Tharwat

Hi Tharwat,

Ive been looking into all settings, but cannot find the solution.

 

Also, in the properties window, the 'SCALE' for example doenst down 1.00, but just 1.

 

I use the same installment for AutoCAD 2022, 2023 and 2024, and only 2024 shows this problem. 😫

Link to comment
Share on other sites

Hi to you too.

The suppression of the scale in properties palette is related to LUPREC system variable but for RTOS function , you can change the system variable DIMZIN to zero then convert the to string then return it back.

Link to comment
Share on other sites

@Tharwat

Hi Tharwat,

DIMZIN was the problem.

When i checked it, it was at '8', wich i assumed was a precision, but its a mode...

 

Learned something again! 😁

Link to comment
Share on other sites

Yeah, the DIMZIN is the supervisor :D for the RTOS function conduct along with LUPREC , and you can review the quite many options that the DIMZIN variable has.

image.png.8dd8ca15342dca25ff9961cefa053509.png

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...