Save overwrite? anyone

No.
There is no vla-save-overwrite function. What exactly do you want to do? vla-copyfrom should have the same results if you want to save current overrides.
 
What I've been saying all along. Save the current overwrites.

Interesting note though, the docs say that you can update the dimension overwrite.
 
To save the current document overrides to a dimension style, use (vla-copyfrom <dimstyleobjecttarget> <documentobject>)
 
I know that already. The docs say there are two methods, one for copyfrom and the other that creates the overwrite, " ...in which case you must update the object to remove the overwrite, and make it part of the object."
 
Rudy,

I don't know where you got that info. Quoted sections are exactly what my documents say:

Copyfrom method:
object.CopyFrom SourceObject
object is the dimstyle object to receive the settings
Sourceobject is the object from which the settings are derived (a dimstyle, dimension or document)

<quote>
DimStyle: This method allows users to copy dimension style data into an existing dimstyle from three different types of sources.

1. If SourceObject is a dimension (this includes all dimension objects), Tolerance, or Leader object, this method copies the style for that object plus any object overrides.
2. If SourceObject is a DimStyle object, this method copies the style data from that dimension style.
3. If SourceObject is a Document object, this method copies the active dimension style settings for the drawing plus any drawing overrides.

</quote>

Dimstyle object

<quote>

When you change a dimensioning system variable, you are actually setting a document override for the active dimension style; you are not changing the active dimension style itself. This means that all newly created dimensions will still be created with the active dimension style only and will not reflect the overrides from the system variables. The overrides from the system variables will not be recognized on new dimensions until the active dimension style is updated. To change the settings of any dimension style, use the CopyFrom method. This method copies a dimension style configuration, including overrides, from a document, dimension, or other dimension style.

Dimensions created via the AutoCAD user interface are created with the active dimension style plus all document overrides. Dimensions created via ActiveX are created with the active dimension style only. To have the dimensions created via ActiveX take on the document overrides, use the CopyFrom method to copy the dimension style from the document to the active dimension style. This process will copy all existing overrides into the active dimension style.

</quote>

There is a single method and three uses for that single method.

Either we're not communicating well or I really don't understand what you want to do. Sounds to me like the copyfrom method is exactly what you want.

To place document overrides without changing the dimension style, just set the individual variable names.

Sorry.

Have a nice evening.
 

Latest threads

Back
Top