.NET

.NET

Reply
Contributor
_ane_
Posts: 19
Registered: ‎09-03-2010
Message 1 of 4 (749 Views)
Accepted Solution

Delete Palette from AutoCAD Tool Palette

749 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
Balaji_Ram
Posts: 749
Registered: ‎03-21-2011
Message 2 of 4 (720 Views)

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
khoa.ho
Posts: 224
Registered: ‎09-15-2011
Message 3 of 4 (702 Views)

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
_ane_
Posts: 19
Registered: ‎09-03-2010
Message 4 of 4 (401 Views)

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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.