Notifications
Clear all
[Closed] Get and set viewport settings using 'ViewportViewSettingImpl'
Apr 22, 2015 10:07 pm
Hi,
I’ve read the maxhelp ( http://help.autodesk.com/view/3DSMAX/2015/ENU/?guid=__files_GUID_34892DB6_E840_4F52_9175_30332799B7B1_htm ) and used:
ViewportViewSettingImpl.VisualStyleMode
but it returns
-- Unknown property: "VisualStyleMode" in undefined
From the help docs should it come back with #Realistic but I get the error.
Does anyone know why this is?
I’ve used the below to get standard displays to work but it doesnt work for clay or any of the stylised view types.
vprenderlevel = viewport.GetRenderLevel()
vpedgedfaces = viewport.GetShowEdgeFaces()
viewport.SetShowEdgeFaces vpedgedfaces
viewport.SetRenderLevel vprenderlevel
Thanks for any help.