Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

AutoCAD measurement x 100 times when dimension in layout

20719085
Enthusiast

AutoCAD measurement x 100 times when dimension in layout

20719085
Enthusiast
Enthusiast

Hi there fellas,

 

I'm having this very weird problem where I'm trying to dimension everything on an A3 layout that contains various scaled drawings (in order to keep text height at 2mm). When I first used dimension it worked correctly. Because there is a dim style in the office I match property to get the newly created dimension to match the one we are using. Then I use addselected to mark another distance. However, the distance showing up as 100 times bigger than it should be. And if I use it to addselected it gets another 100 times bigger... (see image below)

 

Has anyone come across with this problem? What's causing it and how can it be solved?

 

Cheers!

 

Dim.PNG

0 Me gusta
Responder
2.987 Vistas
18 Respuestas
Respuestas (18)

andkal
Collaborator
Collaborator

its not going to be a perfect solution but as a walkaround you can match properties from that dimmension showing "200" to the other dimensions.


• www.autolisps.blogspot.com - Productivity plugins for Autocad and Autocad MEP
• Autodesk AppStore
0 Me gusta

imadHabash
Mentor
Mentor

Hi,

 

i suggest to check DIMLFAC system variable value. 

 

Regards,

Imad Habash

EESignature

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> What's causing it

In the layout the dimension (with the correct dimension style setting) AutoCAD has to pick the objects in modelspace and then calculate the viewport scale to show the correct modelspace distance in paperspace. That's at least how it's working .. your current space is paperspace, you pick points using object snap for objects ==> AutoCAD looks to geometry at the objectsnap point and if it finds objects in modelspace then the dimension value shown is the distance in modelspace.

 

However, when you use the object snap, e.g. endpoint, and AutoCAD finds no entities it shows the distance in the paperspace (no calculation of viewport's scalefactor is then used to display the dimension value. Other situation: when AutoCAD finds entities in paperspace at the object snap point ==> AutoCAD will show the dimension value for paperspace too.

...and that seems to be your situation: The first dimension was used with object snap on modelspace entities ... but the second dimension was done with objectsnap ==> and this objectsnap found the previous dimension entity, which is a paperspace entity, and so AutoCAD does not see the viewport and does not calculate the viewport scale for the dimension value.

 

I would suggest to be more careful about using objectsnap when creating dimensions, make sure AutoCAD does not see the other dimension, only the modelspace.

 

Look to that video showing the situation of using the incorrect object snap and so getting an incorrect value + the setting in AutoCAD to ignore dimension line extensions for objectsnaps.

 

 

Hope the description makes sense for you!

You might also look to >>>that thread<<<

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

imadHabash
Mentor
Mentor

since we don't have your drawing ... i suggest also to check if you set DIMASSOC system variable = 2  any changes happend. 

Imad Habash

EESignature

0 Me gusta

20719085
Enthusiast
Enthusiast

Hi imad

 

Yes I have checked both DIMLFAC and DIMASSOC are set to the the system value you described.

 

I don't think this is the problem. 

0 Me gusta

20719085
Enthusiast
Enthusiast

Thanks Alf!

 

I think your explanation is very clear. I will check out the video in a bit to figure it out, hopefully :cara_con_una_leve_sonrisa:

0 Me gusta

20719085
Enthusiast
Enthusiast

Alf,

 

I just tried your setting in the option and found out that the ignore extension was already checked. 

 

Also I suspect it's due to the dim style? Because I have no problem using the system default dim style but when I match property with the one that office uses this time, all measurements became 100 smaller now... 

0 Me gusta

imadHabash
Mentor
Mentor

Hi,

 

can you pleased attache here your issue as a CAD dwg file ? 

Imad Habash

EESignature

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> Also I suspect it's due to the dim style? Because I have no problem using the system default dim style

>> but when I match property with the one that office uses this time, all measurements

>> became 100 smaller now..

When you create a dimension and this dimension sees modelspace entities it stores the viewport scale as scale-factor for the dimension value.

If you use match properties this function does nothing else then also transfer this scale-factor from one drawing to another one ... that is not specific to your dimension style.

 

I would just recreate the dimension with "better" object snaps.

 

- alfred -

 

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

20719085
Enthusiast
Enthusiast

Sure. Here is the test file. Marked in layout space.

0 Me gusta

imadHabash
Mentor
Mentor

Hi,

 

Thanks for uploading the file . from the first attempt i use from Dimension tab ( Aligned ) and i have proper dimensions ( in black ) . ( see attached image  ) 

 

 

fdfsf.png

 

Note : 

  • Purge ( Regapps ) your drawing because you have 27 registered applications deleted.
  • set current DIM_1 dimension style.
  • once you make first dimension from Dimension > Aligned command you can continue from Dimension > Continue.
  • see attched CAD file .

 

is this fix your issue ... 

Imad Habash

EESignature

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

why not just showing the object instead of the dimension lines, that avoids the conflict with "dimensioning dimension lines"?

 

ACADsupp_DimScaleFactorFromLayout_2018_AN01.gif

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

20719085
Enthusiast
Enthusiast

Hi,

 

Thanks for that. Yes I can see it works now.

 

Could you please just clarify what else I need to do to purge my drawings because when I type purge it shows nothing more can be purged. Also CAD doesn't recognize Regapps as a command?

 

So do I have to use aligned dimension? I still think they should both give the same result...

0 Me gusta

20719085
Enthusiast
Enthusiast

Hi alfred,

 

Yes I can see that works so does that mean I have to use that instead of pick points and measure? I understand why such a function is available in AutoCAD but they should both give the same result?

0 Me gusta

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

>> does that mean I have to use that instead of pick points and measure?

I would prefer the function that

  • has less issues
  • needs less mouse clicks

...so why not using it?

 

>> but they should both give the same result?

They should, if the object snap did not "see" the other points.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Me gusta

imadHabash
Mentor
Mentor

HI,

 

>>  Also CAD doesn't recognize Regapps as a command? <<

type   -PURGE  command ( notice the dash before ) then select R from Regapps ( see below ) 

 

Command: -PU -PURGE
Enter type of unused objects to purge [Blocks/DEtailviewstyles/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length geometry/Empty text objects/Orphaned data/All]:

 

 

Regards,

 

 

Imad Habash

EESignature

0 Me gusta

20719085
Enthusiast
Enthusiast

Thanks Alf!

0 Me gusta

20719085
Enthusiast
Enthusiast

Thanks imad!

 

You and Alf both answered my question and provided extra help! It's good to be in a community like this!

0 Me gusta