OVERKILL does not read registry changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Community,
If a registry write is performed with an AutoLISP command, when does the AutoCAD OVERKILL command get updated of the change?
I have a custom command that uses the OVERKILL command.
The OVERKILL command has a tolerance value that I want to capture, modify, and then restore to original value during an AutoLISP command.
It seems that I can read and write to the registry, but the OVERKILL command does not see the tolerance value change.
I can only change the Tolerance using (command).
I could forego the capture/restore of the value, but I always thought it best practice to restore sysvars and other settings to original when possible.
I have attached some code that:
- Captures and reports the current OVERKILL Tolerance value
- At command prompt, gets user input for a new Tolerance value
- Writes new value to the registry and then reads to verify success
- Last, runs the OVERKILL command. You should see the value does not change despite the new value written to the registry
I welcome your assistance to get OVERKILL to read the registry when it starts. I look forward to your replies.
Regards,
Jerry
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional