.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete Palette from AutoCAD Tool Palette

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
_ane_
2801 Views, 4 Replies

Delete Palette from AutoCAD Tool Palette

Hi,

 

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

 

thanks,

 

Ane

4 REPLIES 4
Message 2 of 5
Balaji_Ram
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

Message 3 of 5
khoa.ho
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

Message 4 of 5
_ane_
in reply to: Balaji_Ram

 

Hi,

 

Sorry, always i forget to replay...

 

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

 

Ane

Message 5 of 5
dwong
in reply to: Balaji_Ram

Hello @Balaji_Ram,

 

I have stumbled upon this issue also; where can I catalog item from the .atc?

Thanks in advance.

 

Regards,

Derek

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost