I'm confused by the fact that the current script needs an ID number to work, I think that creating a menu is the least complicated in this case. The issue is how to connect the number entered in the menu and make the script work. Thanks for the help anyway.
I'm using a script to create points in the vertices just by changing the ID number creates the points.The question is how to create a menu where the user can add the ID number where the point is going to be created? fn attachObjectToVertex objToAttach targetMesh vertexIndex = ( controlador= attachment() pot.pos.controller…
You make a UI control for the user to enter the number and feed the value from that control to your function (3rd argument) when it's called by whatever event you want to call it from. As I said above, look in the help. This is very basic and will be covered in the examples.
You'll need to make a rollout to give it a UI. You can make pretty much any UI event launch your function. It's all covered pretty thoroughly in the maxscript docs.