DC attribute unit changing

Hi,
I use Sketchup 2024, the latest upgrade. Despite the model unit being mm, I could not change the DC unit attribute to mm, only inch/cm.

Here is a screenshot of the strange behaviour of DC attributes and options:

  • I set the “width” attribute to “User can edit as text + mm”, but it enables to use only cm (in attrib window)
    The options dialogue shows the width attribute in mm, but it is multiplied by 25.4 (10 inches): it reads the attribute as an inch!!!
  • the real value shown by the measurement: 100 mm

How can I resolve this very annoying behaviour?
Thanks for any advice…

Check the “Display units format” box in Window menu>Model Info>Units.
This is a known bug in Dynamic Components since day 1. If the box isn’t checked, DC units revert to inches.

1 Like

Thank you, it was checked.
I tried to check off/on and restarted the Sketchup: no effect, it does not work correctly.

I wasa thinking that the units were running amok in the attributes dialog.

I would set the display option to “End user’s model units”.

1 Like

Thanks! That works and is important:
both “Unit” and an “Display in” must be “centimeter”

I am just wondering why I could not choose millimetres??

The Units and Display in can be different.

You can set the Units to Centimetres or Inches and this is how the units will display and calculate in the Component Attributes Window.

image

And you can also set the Display in to Millimetres (or Metres) and this is how they will be displayed and entered in the Components Options Window (the Window where you control the Dynamic Component). This allows you to enter 1800 instead of 180.

image

1 Like

Thanks! It works! The critical setting is to set the “Unit” to “cm” in the attributes setting window; after that, the “Display in” maybe mm or cm.
But sometimes the restart of Sketchup is recommended