I am trying to create VrayClipper via Maxscript
newClip = VrayClipper()
and assign it as mesh mode
newClip.enable_mesh_mode = true
newClip.mesh_replaceOnPick = false
and then put my object as the mesh
newClip.mesh = myObj
Last line errors as -- Runtime error: Mesh operation on non-mesh: VRayClipper
presumably because .mesh in maxscript is being inherited as a GeometryClass property, and when I try to assign it via script, it's reading the base instead of the Vray specific one? Not sure if this is a Vray bug caused from like naming, or a failure of my MaxScript knowledge. Help?
newClip = VrayClipper()
and assign it as mesh mode
newClip.enable_mesh_mode = true
newClip.mesh_replaceOnPick = false
and then put my object as the mesh
newClip.mesh = myObj
Last line errors as -- Runtime error: Mesh operation on non-mesh: VRayClipper
presumably because .mesh in maxscript is being inherited as a GeometryClass property, and when I try to assign it via script, it's reading the base instead of the Vray specific one? Not sure if this is a Vray bug caused from like naming, or a failure of my MaxScript knowledge. Help?
Comment