MTRobin Posted January 26, 2021 Share Posted January 26, 2021 Can someone please help me create a scrip to change the render mode to wireframe? The line below doesn't work and I get an error saying "Rendering" isn't a valid menu item.. DoMenuTextByName('Rendering',1); Thank you, Maxwell Quote Link to comment
Julian Carr Posted January 26, 2021 Share Posted January 26, 2021 Try this Max: DoMenuTextByName('Wireframe Render Chunk', 1); Quote Link to comment
Pat Stanford Posted January 26, 2021 Share Posted January 26, 2021 DoMenuTextByName('Wireframe Render Chunk', 1); I already had it pasted in when Julian's reply came through, so I will just second it. All of the "Chunk" names are shown in Appendix H of the Vectorscript Appendix. Quote Link to comment
MTRobin Posted January 26, 2021 Author Share Posted January 26, 2021 Thank you both very much! Quote Link to comment
C. Andrew Dunning Posted January 26, 2021 Share Posted January 26, 2021 Also... SetLayerRenderMode (ActLayer,0,TRUE,TRUE); Make sure you call Layer(GetLName(ActLayer)); to force a redraw. If you want more modes, here below are a few. You can also use GetRenderMode(ActLayer) to figure out more... 0 = WireFrame 6 = Hidden Line 11 = OpenGL 14 = FQRW Quote Link to comment
Recommended Posts
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.