• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Member
    _ane_
    Posts: 3
    Registered: ‎09-03-2010

    Delete Palette from AutoCAD Tool Palette

    190 Views, 2 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

    Please use plain text.
    ADN Support Specialist
    Balaji_Ram
    Posts: 384
    Registered: ‎03-21-2011

    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

    Please use plain text.
    Distinguished Contributor
    khoa.ho
    Posts: 131
    Registered: ‎09-15-2011

    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

    Please use plain text.