OVERKILL does not read registry changes

OVERKILL does not read registry changes

JBerns
Advisor Advisor
609 Views
5 Replies
Message 1 of 6

OVERKILL does not read registry changes

JBerns
Advisor
Advisor

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
0 Likes
610 Views
5 Replies
Replies (5)
Message 2 of 6

JBerns
Advisor
Advisor

Interesting update - despite the Tolerance value being written to the registry, closing AutoCAD and then reopening it still retains the value from the dialog before the registry was written.

 

I am not sure I can rely on registry write to modify/restore the Tolerance value.

 

Looks like I will have to use (command) to modify/restore unless someone has a better solution.

 

Regards,

Jerry

-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
0 Likes
Message 3 of 6

ronjonp
Mentor
Mentor

@JBerns 

When using -OVERKILL and setting the tolerance it appears that this new entry is only written after AutoCAD is closed. So it must be looking elsewhere in the interim.

ronjonp_0-1697231942911.png

 

0 Likes
Message 4 of 6

diagodose2009
Collaborator
Collaborator

I need your programe,😄 Please you try > one from multiples tricks

  1. you must be sure, you must have "administrator rights before you run acad.exe"
  2. your antivirus.exe controlling too much the registry (e.g antivirus = Bitdefender, Avast, Avira, Rav9, ), otherwise you change the antivirus.
  3. you use too many programs of windows10 on internet, Too many programs running online like browser/s (e.g firefox, opera, wget.exe, youtube-downloader.exe,  virustotal-online, testingSpeedNet.exe, TorrentDownloader.exe, chatMsn.exe, YahooUpdate.exe GoogleUpdate.exe, )
  4. You run the program SpySearch & Destroy.exe , this programe checking&fix very good, the integrity of winreg. or of registry.
  5. You clean the internet-cache😃.
  6. You search others registry value, other.s registry-string? (e.g *f5.zip)
  7. too many online-updates.exe running on same time (now in my win7pc = AviraUpdate.exe+ RedAlert2online.exe+ mcupdate.exe)

 

0 Likes
Message 5 of 6

JBerns
Advisor
Advisor

@ronjonp,

 

Agreed, Tolerance value must be stored somewhere temporarily. Perhaps someone may know this location.

 

-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
0 Likes
Message 6 of 6

JBerns
Advisor
Advisor
I have Admin rights.
If AV was controlling the registry, why can I successfully read and write to it during the AutoCAD session?
What does the number of programs have to do with storing Overkill Tolerance value?
Again, I don't think I need to use SpySearch since I can read and write the registry during the AutoCAD session.
What does internet cache have to do with the registry?
Good suggestion, I need to test other registry values. If those can be changed, but not OVERKILL, why does OVERKILL have an exception?
No, I have no updates or installations running.
-----------------------------------------------------------------------------------------
CAD Administrator
Using AutoCAD & Inventor 2025
Autodesk Certified Instructor
Autodesk Inventor 2020 Certified Professional
Autodesk AutoCAD 2017 Certified Professional
0 Likes