Jump to content
Developer Wiki and Function Reference Links ×

How to set class options for multiple view panes

Matthias Ganninger

Recommended Posts



we have a tool that needs to change class options while the tool is active.
When user deactivates the tool we reset class options to the state it had before the tool was activated.


We use this calls to achieve that:

gSDK->GetProgramVariable(varClassOptions, &previousClassOption);
gSDK->SetProgramVariable(varClassOptions, &newClassOption);

This works as expected when the document has one view pane.


It does not work as expected, when the document has multiple view panes.
With multiple view panes the document can have different class options set per view pane.

That means, we need to Get/Set class options per view pane.


Is there a way to Get/Set class options per view pane?



Link to comment

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...