TheSwamp

CAD Forums => CAD General => Topic started by: Matthew H on September 08, 2022, 05:38:16 PM

Title: AutoCAD CUI - Prevent Loading Partial CUI
Post by: Matthew H 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.
Title: Re: AutoCAD CUI - Prevent Loading Partial CUI
Post by: Lonnie 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.
Title: Re: AutoCAD CUI - Prevent Loading Partial CUI
Post by: 57gmc 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?