0 Members and 1 Guest are viewing this topic.
Dim objdim As AcadDimension objdim.Update
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.
..... ThisDrawing.SetVariable "LUNITS", 2 ThisDrawing.SetVariable "LUPREC", 2 ThisDrawing.SetVariable "DIMLUNIT", 2 ThisDrawing.SetVariable "DIMDEC", 2 objDimStyle.CopyFrom ThisDrawing ThisDrawing.ActiveDimStyle = objDimStyle