Jump to content
Matthias Ganninger

How to set class options for multiple view panes

Recommended Posts

Hi,

 

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?

 

Regards,
Matthias

Share this post


Link to post

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.

Guest
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.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...