- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I have a simple LISP script that loads a custom CUI Panel in my ribbon when AutoCAD launches. For context, it also loads a custom plugin, but that is not relevant to my problem. This is the code I use:
CustomRibbonLoader.lisp
(vl-load-com)
(vla-load (vla-get-menugroups (vlax-get-acad-object)) "./CustomRibbon.cuix")
PackageContents.xml
<ApplicationPackage SchemaVersion="1.0" Version="1.0" ProductCode="XXX" ProductType="Application" Name="Custom Plugin" Icon="./Contents/Resources/logo.ico" HelpFile="./Contents/Resources/en-US/plugin.htm">
<CompanyDetails Name="CompanyName" Url="www.url.com" Email="info@info.com" Phone=" " />
<Components>
<RuntimeRequirements OS="Win64" Platform="AutoCAD*" />
<ComponentEntry AppName="Custom Plugin" ModuleName="./Contents/Plugin.dll" AppDescription="Custom App" LoadOnCommandInvocation="True" LoadOnAutoCADStartup="False">
<Commands GroupName="CustomCommands">
<Command Global="COMMAND1" Local="COMMAND1" />
<Command Global="COMMAND2" Local="COMMAND2" />
<Command Global="COMMAND3" Local="COMMAND3" />
</Commands>
</ComponentEntry>
<ComponentEntry AppName="Custom CUIX" Version="1.0.0" ModuleName="./Ribbon/CustomRibbon.cuix" />
<ComponentEntry AppName="Custom CUIX Loader" Version="1.0.0" ModuleName="./Ribbon/CustomRibbonLoader.lsp" PerDocument="True"/>
</Components>
</ApplicationPackage>
This code loads the CUIX in AutoCAD 2020, 2021 ,2022, 2023... but unfortunately, not in 2024. I've tried loading my CUIX file manually with CUILOAD and doing so the panel appeared in the ribbon as always.
I need to load the Pallete Panel automatically when the plugin is loaded, as I will not be able to alter manually the AutoCAD of the plugin users.
Is there any modification I can do to my LISP script in order to make it work with AutoCAD 2024?
Thanks in advance.
Solved! Go to Solution.