check if element in multiarray is nan maxscript
Hi again,
I wanted to know if theres a way to check for multi array elementns if they are nan ?
oV = SelectedVerticeID.pos
pairs = for o in refObj.selectedVerts where not o.pos ==" [-nan(ind),-nan(ind),-nan(ind)]" collect #(length(o.pos-oV), o.index ) --pairs distance and vertexpos
qsort pairs sortByDist --indexes and sorts
print pairs.count
That would be the rough Idear in pseudo Code.
Any help would be great
Greetings
Comments
Use bit.isNAN
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters
Thank you
Thank you
.
maxscript working with values
ps. seems like you ignore mxs reference
Thanks for the Tipp but that
Thanks for the Tipp but that doesnt seem to work. [-nan(ind),-nan(ind),-nan(ind)] Is till got values like that when i try to fill my array and check with isKindOf x Number
Greetings Eli