Anuncios

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

Dimension "Style override" is created automatically

Lucas_Defalco_Marcomini
Enthusiast

Dimension "Style override" is created automatically

Lucas_Defalco_Marcomini
Enthusiast
Enthusiast

Hello guys,

 

Along the use of an file, AutoCAD creates automatically a Dimension style called "Style override"(as image bellow) and this style is out settings, then, i have to go to DIMENSION STYLES MANAGER and delete these style to continue to use my customized style, can anyone help me to fix this?

 

Style overrides.JPG

 

Thanks

Lucas Defalco Marcomini
0 Me gusta
Responder
Soluciones aceptadas (1)
6.551 Vistas
19 Respuestas
Respuestas (19)

Kent1Cooper
Consultant
Consultant

You don't need to delete the one with the override(s).  Just double-click on the one you want to use, or right-click on it and pick "Set current," and it will become the current Style.  The one with override(s) will go away in the process of setting another one current [whether its own "parent" Style or a different one].

 

The one with override(s) is there because you changed some Dimension System Variable setting(s) while the "parent" Style that it's a "child" of was current.  You can avoid that, if you want, by drawing all Dimensions using only "parent" Styles, and never changing any of those System Variables.  If you want something different about a specific Dimension, use DIMOVERRIDE to change it.  That will change individual Dimensions without being considered an override on the Dimension Style definition, so you won't see those Styles with overrides in the dialog box.

Kent Cooper, AIA

GrantsPirate
Mentor
Mentor

In addition to what Kent wrote, if you know you want those override settings as part of that style, right click on the <style overrides> and select 'save to current style'.


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.

0 Me gusta

Lucas_Defalco_Marcomini
Enthusiast
Enthusiast

Thanks kent..

Do you know what system variable probably was changed?

Lucas Defalco Marcomini
0 Me gusta

ampster40
Advisor
Advisor
ref your screenshot, under "Description" is where you will see what was changed - as long as the override is highlighted on the left side (as it is in your screenshot)
0 Me gusta

cpayne3
Participant
Participant
Solución aceptada

Use the command aecdwgsetup.  Turn off "Automatically Create Dimscale Override" under the "Scale" tab.  Thats for Autocad 2009.

Lucas_Defalco_Marcomini
Enthusiast
Enthusiast

I'm using AutoCAD 2015 and this feature is still working. You've solved this! Thank you.

 

Best Regards

 

Lucas Defalco Marcomini

Lucas Defalco Marcomini
0 Me gusta

Anonymous
No aplicable

Hi, i'm using autocad2011, but why when type "aecdwgsetup" in command, it show up unknown command.. it's that other way to permanently remove style override? Thanks 

Kent1Cooper
Consultant
Consultant

@Anonymous wrote:

.... when type "aecdwgsetup" in command, it show up unknown command.. it's that other way to permanently remove style override?


 

That's probably a specialty command in the old AEC overlay program [I think the "aec" part stands for Architecture/Engineering/Construction].  In "vanilla" AutoCAD, no commands defined specially in the overlay programs will be present.

 

See the beginning of Message 2 to clear overrides.  Or do you mean something else by "permanently remove style override?"  Do you want to remove it from Dimension objects already drawn?  You can use DIMOVERRIDE and give them the Style's native properties.  If you mean you want to make a certain override impossible to use, I don't know of a way to do that.

Kent Cooper, AIA
0 Me gusta

marcel.vandenoosterkamp
Participant
Participant

if there is a hell, automatically override needs to go there...

 

How on earth can the invent crap like this???

More important: Is there a sys variable appointed to it? It doesn't say that when thicking the annoying popup and I'd like to add that to my startup lisp as 123rd command that overrides crap we never asked for

0 Me gusta

cadffm
Consultant
Consultant

Hi,

 

we are writing in "AutoCAD" board, in AutoCAD isn't a feature to override dimension settings automatically,

so you have to search the source of it first.

Or if you are using Architectural Toolset, make sure the create-overrides option is off, as still mentioned above.

_ _ _

 

AutoCAD&LT

Q1: What product you are using?

Please share a screenshot of the dialog, command: ABOUT

 

Q2: Please share a sample: Start a new file, based on acad.dwt (or acadiso.dwt)

       2.1 Check your dimstyle about overrides now, are there overrides?

       Save this file and share

       otherwise save this file and

       2.2 Check your dimstyle about overrides now, are there overrides?

       please share this last saved version, otherwise

       close and reopen this file

       2.3 Check your dimstyle about overrides now, are there overrides?

        please share this last saved version, otherwise

       Use command: _.DIMLINEAR

       2.4 Check your dimstyle about overrides now, are there overrides?

       please share this last saved version,

       otherwise I have q question: When&where are the overrides you are talking about?

 

 

 
 

 

 

Sebastian

0 Me gusta

MaccyDee
Enthusiast
Enthusiast

reviving an old thread...

ive got this lisp thats doing the same thing as OP, creating style overrides, however, only does it when the script is run, the script is to set scale settings.

I've run each command individually and it doesnt do it so im not sure where its coming from.

 

override: "AllianceDimStyle 150 + Overall scale = 100.0000"

 

script below 

 

 

;; set the scale settings to the values below

(defun c:setscale ()
(setq old_layout (getvar 'ctab)) ; Save the current layout name

(setvar "cmdecho" 0) ; Turn off command line echo

(command "_model") ; Activate model space

(command "-scalelistedit" "R" "Y" "E")

(setq old_cannoscale (getvar "cannoscale")) ; Store the current cannoscale value
(setvar "cannoscale" "1:100") ; Set cannoscale to 1:100

(setq old_ltscale (getvar "ltscale")) ; Store the current linetype scale value
(setvar "ltscale" 1) ; Set linetype scale to 1

(setq old_msltscale (getvar "msltscale")) ; Store the current MSLTSCALE value
(setvar "msltscale" 1) ; Set MSLTSCALE to 1

(setq old_celtscale (getvar "celtscale")) ; Store the current CELTSCALE value
(setvar "celtscale" 1) ; Set CELTSCALE to 1

; Cycle through all the layout tabs
(setq layouts (layoutlist)) ; Get a list of all layout names
(foreach layout layouts
(setvar 'ctab layout) ; Switch to the layout
(setvar 'psltscale 1) ; Set the "psltscale" variable to 1
(command "_regenall") ; regenerate the layout

)

(setvar 'ctab old_layout) ; Switch back to the original layout

(setvar "cmdecho" 1) ; Turn on command line echo

(princ) ; Return nil at the end of the function
)

 

 

fixed it, needed to add a line for DIMSCALE to be set to 1 aswell

0 Me gusta

cadffm
Consultant
Consultant

Hi,

 

this Lisp will not create dimoverrides (not in AutoCAD or LT).

 

 

EDIT: I read your information

override: "AllianceDimStyle 150 + Overall scale = 100.0000"

just now, sorry.

 

 

Do this:

(Re)Open your file,

make sure there are no overrides in your drawing now,

run your Lisp and

show us

 

1.  the overrides, command DIMSTYLE, select the overrided dimstyle (like in my sample screenshot below).

     EDIT: You added the fact above, so we don't need a screenshot

cadffm_0-1716445086515.png

 

2. share your Textlog [F2], right-click -> copy

    and paste it in your reply

 
 

 

 

Sebastian

0 Me gusta

MaccyDee
Enthusiast
Enthusiast
Thanks Sebastian, ineeded to add a line for DIMSCALE to be set to 1 aswell
0 Me gusta

cadffm
Consultant
Consultant

This obscures or repairs the still existing problem (the unwanted dimscale change).


>>"... ineeded to add a line "

This isn't a solution, you've just created another problem for yourself.
Use a dimension style in which dimscale is set to 2, your script will now create an override again!

You should investigate the problem, I would be happy to help

Sebastian

0 Me gusta

MaccyDee
Enthusiast
Enthusiast

cad file where its occuring when running the following macro ttached, it wont let me attach the macro file but is pretty simple, 

-dwgunits

3

2

4

no

yes

measurement

1

 

0 Me gusta

cadffm
Consultant
Consultant

Hi Maccy,

 

I had time to check your issue and I will quote my PM, following by the explaination&solution(in your case)

 

PM,  not the first, but the latest,  cadffm-> MaccyDee, before I checked the file&script

cadffm: Hi, if you are using undocumented commands, what are AEC drawing units (not part of plain Acad ot LT drawings), (Problems) Possible.

I guess there is a tiny problem of setting from older to newer AEC settings, but I have to test it.

As I wrote: It is not plain Acad informations, but also Acad read and work with it, IF existing.

I know a lot of plain Acad files and data, but in this case, I have to test it, if I have time for it.

 

I checked the issue now: The problem occours because of setting to automatically createdimscale overrides*

AND your current annotation scale (CANNOSCALE), what is set to 1:100

My I ask why it is set to 1:100 (1unit = 100units), but your whole drawing doesn't contain any annotation objects, style & Co or custom annotation scales? It looks like you don't use annotation feature, but the current annotation scale is 1:100 instead 1:1 - what I expect if someone don't use this feature.

* if you like to see how it looks like in a program what is designed to handle these aec settings - ClickMe

 

Solution: You have to untick this option, but if you can't (In Acad is no way by a native command - so far I know),

change cannoscale to 1:1 before your run the command you don't know what all happens ins the background now and later.

But this do not remove the setting to create dimoverrides. If you change the cannoscale, it will create a dimoverride again (if this setting is on).

 

--------------

CANNOSCALE

1:1

-dwgunits
3
2
4
_no
_yes
measurement
1

 

 

 

 

For this one file, I unticked this for you, file attached

Sebastian

MaccyDee
Enthusiast
Enthusiast
Ahhhh i see.. the cannoscale was set to 1:100 as I thought it affected how line types were displayed but now i'm realizing it doesn't affect anything hahaha..ive changed the cannoscale to 1:1 and added a line in the macro to set it for drawings from now on
thanks again, Seb for your genius!
0 Me gusta

cadffm
Consultant
Consultant

Hi,

it does affect the linetype display in model tab, if your MSLTSCALE is set to ON(1). Don't forget to REGEN

Sebastian

MaccyDee
Enthusiast
Enthusiast
ah yes, of course! so im not crazy, i did do that for a reason, however we stopped needing the msltscale on so i removed that line from the lisp but didnt remove the cannoscale line...thanks again mate!
0 Me gusta