pymxs update/refresh viewport

pymxs update/refresh viewport

mustafapassahci
Contributor Contributor
1,114 Views
1 Reply
Message 1 of 2

pymxs update/refresh viewport

mustafapassahci
Contributor
Contributor

Hi, I am developing a plugin. I want to send some code to it with a program (independent of 3ds Max and developed with pyside2) and run it. For example, when I want to create a teapot, I can do it, but I can't get any graphical output without an action in the viewport. Is there a way to update the viewport?

 

screenshot: 

 

the code i sent to plugin:

import pymxs
rt = pymxs.runtime
t = rt.Teapot()
rt.classOf(t)

 

0 Likes
Accepted solutions (1)
1,115 Views
1 Reply
Reply (1)
Message 2 of 2

Swordslayer
Advisor
Advisor
Accepted solution