[Closed] UIAccessor and edit mesh
Hi
I need to access a spinnercontrol value for a lot of objects, that are editable mesh. I need to change the explode angle treshold spinner value to 180. Is that possible?
Ive tried a lot of things without success, it seems that UIAccessor interface could be the key to doing just that, but its a jungle for me.
So short version. I would like to assign a value of 180 to the spinnervalue of explode treshold angle in a lot of editable mesh objects.
Ive searched the net thin, i cant find any solutions.
Can anyone help?
Cheers
check the explodeAllFaces method of a mesh object in the maxscript help, that could be the answer.
meshop.explodeAllFaces <mesh> <threshold>
Thanks for the suggestion.
Ive actually tried it but all it does is split the objects to faces. I need to explode it into elements.
And ive tried all the scripts to detach objects to elements.
The reason i need to acces the spinnervalue and set it to 180. The explode function on edit mesh with value 180 is the quickest way to explode alot of objects into elements. It does it almost instantly.
Imagine 1000 elements that need to be detached/exploded to objects, all those objects have to run through loops. While this editmesh explode function does it in a blink.
And the only way to chance that spinnervalue might be throug uiaccessor.
Still seeking help guys.
Upfront thanks.