Notifications
Clear all
[Closed] Obtaining selection level in scripted modifier
Jul 21, 2017 2:16 pm
Hi,
I’m trying to develop a simpleMeshMod modifier and I’ve encountered a problem. How to get the selection level of the mesh?
In C++ it was simple:
if (mesh.selLevel == MESH_VERTEX)
Unfortunately I can’t find the Maxscript equivalent of this function.
2 Replies
Jul 21, 2017 2:16 pm
From the maxscript page here:
getSelectionLevel <maxobject>
Get the subObject level of MAXObject. If MAXObject is a node, this method operates on the base object. This method is applicable to base editables, and select and edit modifiers.
-Eric
Jul 21, 2017 2:16 pm
Unfortunately I get the –Unknown system exception everytime I call it on TriMesh.