Jump to content
Developer Wiki and Function Reference Links ×

Saved view disappears, if created with SDK


Tea

Recommended Posts

Dear Developers,

there is a strange issue with vs.SaveSheet functionality.

 

If the procedure is executed through SDK with pythonEngine:

 

    TXString script;
    script += "import vs;";
    script += "vs.SaveSheet(\"View Name\", True, True, True);";

 

then the newly created saved view disappears if, immediatly after the creation, the properties of the view ("Edit Saved View" dialogue) are opened in VW app, but then immediately closed with a Cancel.


But if the same procedure

 

import vs;
vs.SaveSheet("View Name", True, True, True);

 

is executed through VW app > Tools > Plug-ins, then there are no problems. The newly created saved view doesn't disappear after cancelling the "Edit Saved View" dialogue.

 

Is there a way to preserve the newly created saved view, created through SDK?

 

Thanks for help,
Tea

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.

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.

×
×
  • Create New...