Is there a path for palettes that are loaded from a plugin?

Is there a path for palettes that are loaded from a plugin?

nshupeFMPE3
Advocate Advocate
330 Views
2 Replies
Message 1 of 3

Is there a path for palettes that are loaded from a plugin?

nshupeFMPE3
Advocate
Advocate

My plugin which is a .bundle ships with some .atc palettes. I believe that the first time someone launches AutoCAD with the plugin, a copy of those files are created somewhere. Because if I change the palette files in the plugin .bundle and then have the user launch AutoCAD after those palette files have been replaced; The changes are not reflected in AutoCAD. But if one deletes the palettes in AutoCAD and then closes and restarts the palettes are recreated and they have the change. 

My question is, is there a way I could find where those "stored" palette files are and delete them programmatically so the user doesn't have to go through jumping hoops to update their palettes?

0 Likes
331 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend

Are you the plugin author /creator? if yes, how is your plugin installed and where/how is that content placed to allow a user to use it?


or are you using the term "plugin" to simply mean you share custom menus and TPs, perhaps even an AutoCAD Profile, across a network to fellow coworkers in your office?

0 Likes
Message 3 of 3

nshupeFMPE3
Advocate
Advocate

@pendean  I am the plugin author. It is currently installed through a simple .NET installer which just copies the PluginName.bundle folder to the "C:\Program Files\Autodesk\ApplicationPlugins" folder of the users computer. The bundle has a "PackageContents.xml" file and has this line which I pertains to ToolPalettes 

<Components Description="AutoCAD 2013+">

    <RuntimeRequirements SupportPath="./" Platform="AutoCAD*" SeriesMin="R19.0" ToolPalettePath="./Palettes/" />

  </Components>

  

0 Likes