emmanuel.james Posted November 26, 2020 Share Posted November 26, 2020 How can I select which palettes to show and which palettes to hide using the SDK. Basically I need to programmatically perform what we do from the menu Window>Palettes. 1 Quote Link to comment
Hippocode Posted November 26, 2020 Share Posted November 26, 2020 Have a look in this topic: If you don't create something, your can use other functions to traverse the workspace, find the palette by name or identifier and use that handle to show/hide these. Quote Link to comment
emmanuel.james Posted November 26, 2020 Author Share Posted November 26, 2020 @Hippocode I have obtained the handle for the palette. I set the visibility state to true using SetVisibilityState(), but this didn't change anything. Quote Link to comment
Tobias Döngi Posted November 27, 2020 Share Posted November 27, 2020 (edited) If you are trying to set the palette visibility on Windows then this call will not work at all. Please see my answer in above mentioned thread. You would have to retrieve the WindowsOSData, parse the XML, find the corresponding palette there and alter its visibility. As far as I know this cannot be done via SDK yet. Edited November 27, 2020 by Tobias Döngi Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.