Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / SDK / Invoke redraw of viewports
  RSS 2.0 ATOM  

Invoke redraw of viewports
Rate this thread
 
53103
 
Permlink of this thread  
avatar
  • Total Posts: 23
  • Joined: 06 April 2010 04:44 PM

Hey everyone

I am currently working on a modifier plugIn which takes a simple spline and replaces it completely with the extruded geometry of this spline. But replacing the geometry is done outside of the modifiers-context, thus the EndEditParams(...) has been called and I cant invoke ip->RedrawViews() because ip is a NULL-Pointer in this situation.
How is a redrawing of all viewports done in another way? Can I get a global pointer to the Max Interface and call RedrawViews() on this? Or can I make the respective node redraw itself?

Thx
Michbeck



http://www.michaelkeutel.de

Replies: 0
avatar

I have now solved this problem: Using GetCOREInterface() one can obtain the 3dsmax main interface and thus call RedrawViewports() anytime.

Greets



http://www.michaelkeutel.de

Replies: 0