.NET

.NET

Reply
Contributor
19 Posts
1 Kudo
Registered: ‎09-03-2010
Post 1 of 4
Accepted Solution

Delete Palette from AutoCAD Tool Palette

777 Views, 3 Replies
12-07-2012 04:43 AM

Hi,

 

I wan´t to delete a palette from Autocad Tool Palette. How can I do?

 

thanks,

 

Ane

Hello Ane,

 

Sorry, There is no direct way to remove the tool palette.

 

The "ToolPaletteManager.Remove" method does not work and we have already logged this.

 

As a workaround, you may consider removing the catalog item from the .atc file since it is an XML file and can therefore be parsed / modified by your application but is not recommended.

 

ADN Support Specialist
762 Posts
100 Kudos
Registered: ‎03-21-2011
Post 2 of 4

Re: Delete Palette from AutoCAD Tool Palette

12-11-2012 03:15 AM in reply to: _ane_

Hello Ane,

 

Sorry, There is no direct way to remove the tool palette.

 

The "ToolPaletteManager.Remove" method does not work and we have already logged this.

 

As a workaround, you may consider removing the catalog item from the .atc file since it is an XML file and can therefore be parsed / modified by your application but is not recommended.

 



Balaji
Developer Technical Services
Autodesk Developer Network

Mentor
225 Posts
24 Kudos
Registered: ‎09-15-2011
Post 3 of 4

Re: Delete Palette from AutoCAD Tool Palette

12-11-2012 07:53 AM in reply to: _ane_

ToolPaletteManager class was moved from acmgd.dll to AcTcMgd.dll in AutoCAD 2013 with some new classes and methods updated. But the API for tool palette is not comprehensive with many missing features. It should have some easy generic methods like Create(), Remove(), Load(), Unload() for tool palettes.

 

-Khoa

Contributor
19 Posts
1 Kudo
Registered: ‎09-03-2010
Post 4 of 4

Re: Delete Palette from AutoCAD Tool Palette

01-09-2014 06:53 AM in reply to: Balaji_Ram

 

Hi,

 

Sorry, always i forget to replay...

 

Thanks for replying, then I have to use another solution.

 

Ane

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!