Author Topic: AutoCAD CUI - Prevent Loading Partial CUI  (Read 4084 times)

0 Members and 1 Guest are viewing this topic.

Matthew H

  • Newt
  • Posts: 70
AutoCAD CUI - Prevent Loading Partial CUI
« on: September 08, 2022, 05:38:16 PM »
I was wondering if anyone knew how to prevent/stop AutoCAD from loading partial customization files into an empty main cui file on startup.
The process I have been doing for this is below.
Ensure that Enterprise CUI file location is set to an empty path.
Create empty CUI.
Save empty CUI.
Change Main customization file to point to newly created empty cui.
Exit CAD
Reopen CAD
The CUI will now have four partials customization files added...
(VehicleTracking, GeoTech_Modeler_2022, AppManager, FeaturesApps)
I tried renaming the offending partial customization files, but upon starting CAD they recreate themselves.

Does anyone have a solution to this?
My end goal is to have the "Main CUI" be a blank CUI file, and an "Enterprise CUI" that has all my CUI customizations.
I would like to still be able to use the functionality of those four CUI files by having them added to the Enterprise as a Partial CUI.

Thanks in advance,
Matthew H.
« Last Edit: September 08, 2022, 06:17:14 PM by Matthew H »

Lonnie

  • Newt
  • Posts: 169
Re: AutoCAD CUI - Prevent Loading Partial CUI
« Reply #1 on: September 12, 2022, 12:26:38 PM »
Following

My poor answer is I do an if statement and then if needed
(command "CUIUNLOAD" "appmanager")
in my startup lisp.

57gmc

  • Bull Frog
  • Posts: 358
Re: AutoCAD CUI - Prevent Loading Partial CUI
« Reply #2 on: September 12, 2022, 01:05:14 PM »
I'm pretty sure you would have to change the customization dll's that control loading of those cui's, .e.g. C:\Program Files (x86)\Autodesk\ApplicationPlugins\Autodesk AppManager.bundle\Contents\Windows\2022\AppManagerPlugin.dll

Why not just let AutoCAD do it's thing? Are you trying to prevent users from making any customizations at all?