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

CAcTcUiToolPaletteGroup

1 REPLY 1
Reply
Message 1 of 2
Anonymous
338 Views, 1 Reply

CAcTcUiToolPaletteGroup

Hi


CAcTcUiToolPaletteSet * pTpset = AcTcUiGetToolPaletteWindow();
CAcTcUiToolPaletteGroup *pTpGroup = pTpset->GetToolPaletteGroup();


pTpGroup->Save(IUnknown* pUnk)


How do I get the unknown pointer to the XML file? How can I control where the file is saved?


Best regards
Tore
1 REPLY 1
Message 2 of 2
fenton.webb
in reply to: Anonymous

The CAcTcUiToolPaletteGroup::Save(IUnknown* pUnk) is expecting a pointer to an MSXML::IXMLDOMNode. This function saves this group's definition to the XML node represented by pUnk. Only the IDs of the group's tool palettes are saved to the XML node. The tool palettes themselves must be saved separately. 

 

I believe you can use the AcTcUi*::Export() methods to set the various output paths to disk.




Fenton Webb
AutoCAD Engineering
Autodesk

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

Post to forums  

Autodesk Design & Make Report

”Boost