How to Add a Dimension Override to an Existing Dimension having Overrides?

How to Add a Dimension Override to an Existing Dimension having Overrides?

scot-65
Advisor Advisor
1,410 Views
3 Replies
Message 1 of 4

How to Add a Dimension Override to an Existing Dimension having Overrides?

scot-65
Advisor
Advisor

I have an existing dimension that has an override applied to it.

For example, I'll use DIMTAD = 4.

The "base" dimension style has DIMTAD set to 1.

 

I want to add another override to this existing dimension.

For example, DIMTFILL = 1.

The "base" dimension style has DIMTFILL = 0.

 

Using the command "-DIMSTYLE" "Apply" method will remove

the first override when the second is applied. The dimension

is gathered using a selection set.

 

How can one inject the second override to the dimension without

removing the first?

 

(In other words, I am looking for an alternative to the -Dimstyle

Apply method of updating an existing dimension object)

 


Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Accepted solutions (1)
1,411 Views
3 Replies
Replies (3)
Message 2 of 4

Ranjit_Singh
Advisor
Advisor
Accepted solution

Maybe I am not understanding the question, but simply updating the property of the object updates it.

(setpropertyvalue (car (entsel)) "dimtfill" 1); in place of (car (entsel)) pass the ename if calling in routine
0 Likes
Message 3 of 4

Kent1Cooper
Consultant
Consultant

Try the DIMOVERRIDE command -- asks you which Dimension Variables you want to override [you can specify any number of them], values for them, and which Dimension(s) you want to apply them to, as far as I recall without changing any other DimVar values for the selected Dimension(s) [though I don't have AutoCAD running right now to check].

Kent Cooper, AIA
0 Likes
Message 4 of 4

scot-65
Advisor
Advisor
Both suggestions have merit on how they execute
and both do the same thing.
However, both will not remove the override to a restored
condition unless the entire dimension object is restored.
*DirtyCAD*.

[In other words, once an override is applied it (DFX) will never
go away even though the override value equals the value set
by the dimension style].

Thanks for the assistance Kent and Ranjit.

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes