Jump to content
Developer Wiki and Function Reference Links ×

Set and Get View during script


DomC

Recommended Posts

Hi

There are some nodes, which produces different results in a 3D or a TopPlan View.

(Examples: Ungroup 2D/3D Symbol, Get Bounding Box)

So the idea was, to make a "GetView" at the start of a script and make a "SetView" at the end of a Marionette network.

So far I was able to put that togheter.

Existing Problem:

At the End of the Network I have a Node, that executes

vs.SetLayerRenderMode(vs.ActLayer(),act_rendermode,True,False)

This seems, to set my render-mode to the right value. But it won't re-render my screen. Maybe because there is a conflict to the internal marionette ReDraw system. I tried ReDraw, ReDrawAll

Anyone has an idea how to fix that?

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