Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4167

DisplayConduit on active viewport only

$
0
0

Damjan wrote:

in python i have a DisplayConduit class, with some postdraw etc.

class myOverlay(Rhino.Display.DisplayConduit):
    def PostDrawObjects(self, e):
        e.Display.DrawPoint(...

how can i limit the draws to the active view?
And another related question - while i script in pyhton - if the script throws an error while a displayconduit is active, it stays in the viewport till i restart rhino. Is there a way to clear all conduits in one go?
Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4167

Latest Images

Trending Articles



Latest Images