I'm making a test plugin.
It does the following:
exposes a function to maxscript through SDK.
so I enter :
then in my code I've got the node.
The thing now is that I've got to get all vertices and weld if they are closer then "X".
Like "weld" tool in edit poly mode.
How do I move forward?
My function is now:
void FixMesh(INode* p_node)
if (mesh.numfaces < 0 && mesh.isTriMesh)
MessageBox( NULL, "This node will not fix, it has no faces.!\nCritical Error!", "Error!", MB_OK|MB_ICONERROR );
MessageBox( NULL, "This node will be fixed :)", "Error!", MB_OK|MB_ICONERROR );
//What do I do here?
//I want to get all vertices, and weld with value "X".