Anuncios

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

Anonymous
1473 Vistas, 8 Respuestas

Dimensions - A way to force precision?

I'm not sure if this should be here or in another part of the forums so please forgive me.

 

I am on the newest Autocad right now, and having an issue...

For some reason any drawings I open, the precision on the dimensions defaults to 0'-0".

This didn't start happening till about a year ago or so, and I'm not sure if it's someone else doing it intentionally or if Autocad is doing it somehow or what.

 

The point that matters though, and what I am trying to figure out, is two-fold:

 

1) Is there a way, that no matter what drawing I open, doesn't matter who I get it from or if it's new or anything, that ALL dimensions are set to a precision of 0'-0-1/256", period, no ands-ifs-or butts about it that way any made from that time forward are made with said precision?

2) Is there a way at the same time, to make every EXISTING dimension on an opened file change precision to the same 0'-0-1/256" so that I don't manually have to go and change it each drawing?


I'm not sure if this is done via a lisp routine or if the functions already built into autocad, but it would be quite helpful to know how to do it or to have a lisp that can do that, and I am by no means good at creating lisps (so if anyone needs to make one to do both functions that would be fantastic and greatly appreciated!)

Another thing, I don't want the dimensions to have to change layers or font styles or whatever. We have a very specific font style and size we follow. It would be nice to have a 3rd option to said lisp or functionality that would do the following:

 

3) All existing dimensions (and new of course) would be forced to change to a specific font style, dim style (as far as sizes goes), and somehow become annotative so the scale changes as we change scales in a viewport (default to 1/8" = 1'-0" basically in model space, but annotative to all other scales in viewports).

IF a lisp is required to do these 2 (hopefully all 3 though) functions, can it be done so that it's a button that needs to be manually clicked instead of an auto-start lisp? This way we don't accidentally change say a civil drawings dimensions or what have you, we can just change our own or any that uses the architectural dimension units.

 

Thank you for any and all feedback that can be provided.

 

Greg

imadHabash
en respuesta a: Anonymous

Hi,

A dimension style is a named collection of dimension settings that controls the appearance of dimensions, such as arrowhead style, text location, and lateral tolerances.You create dimension styles to specify the format of dimensions quickly, and to ensure that dimensions conform to industry or project standards. >> Click <<

  • When you create a dimension, it uses the settings of the current dimension style.
  • If you change a setting in a dimension style, all dimensions in the drawing that use the style update automatically.
  • You can create dimension substyles that use specified settings for different types of dimensions.
  • You can override a dimension style with dimension settings that deviate from the current dimension style.
  • All dimension styles in your drawing are listed in the Dimension Style drop-down.

all of what you asked are related to your Dimension Style . also you can Specifies a default layer for new dimensions from DIMLAYER (System Variable) . 

 

Imad Habash

EESignature

cadffm
en respuesta a: imadHabash

"A dimension style is a named collection of dimension settings"

Yes, it's just a helper to set hundreds of dimension variables in one step.

 

"When you create a dimension, it uses the settings of the current dimension style"

No, It uses the current setting of hundred dimension variables,

it' not using the setting from a dimension style.

 

But for beginners, yes. Your explaination is not correct but better to understand as starter.

 

 

Sebastian

imadHabash
en respuesta a: cadffm

>> Your explaination is not correct ...

This is from your view !!! 

 

Imad Habash

EESignature

GrantsPirate
en respuesta a: imadHabash

That all sounds correct to me.  Not sure what the other post is on about.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

j.palmeL29YX
en respuesta a: Anonymous

Assuming the dimensions are assigned to the right DimStyle: 

Maybe DIMOVERRIDE -> Clear overrides will help you (?)

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Anonymous
en respuesta a: Anonymous

Thank you all for your responses, but I understand how Dimstyle and all works.

 

The issue wasn't how to create a new style or create new styles or what have you...the issue was is there a setting or a lisp or anything that, say I opened a drawing from "bob" and all dimensions were style xyz because that's what he made them in, those dimensions, the ones already there, would CHANGE to style abc instead, forcing a "precision" change, text change, etc etc etc WHEN I open the drawing, so that no matter what, ALL dimensions that are existing now convert to style abc?

At the most basic, I would want to change whatever setting in AutoCAD or make a lisp or something, that the second I open a drawing from "bob" or "garry" or whomever, doesn't matter, the precision on ALL existing dimensions, AND the default precision is changed and set to 1/256 from whatever that drawing had it saved at or whatever autocad has it "defaulted" at?

But preferably, I would want to be able to just, "force" all dimensions "AT OPENING" of a drawing, the second it opens, to change, period, to a set style.

Is either scenario possible? Or would I have to manually go in and change one dimension that's existing, then match properties the rest?

Thank you for your time!

pendean
en respuesta a: Anonymous

The customization forums to code what you seek are over here https://forums.autodesk.com/t5/autocad-customization/ct-p/AutoCADTopic1

nikm42Q9N
en respuesta a: Anonymous

Yes im sure a lisp can be made to that. But the bigger issue is your office has no standards. You guys need to make a blank template file that's saved on a share drive. This template would have all layers, dim styles and other typical things you guys use in your drawing. That way everyone is working with the same stuff from the start of the drawing. Anyone drawing at 0" tolerence should be sent back to school.

 

One thing you could do is...

1)find a drawing with the dimension setup that you like, pick an existing dimension right click. copy. 

2) Paste that dim in the new drawing.

3) use Isolayer command to isolate only the dimensions layer.

4) use Match Properties command, select the good dim use brought from the other drawing, then highlight all the bad dim. and bam there all the same