I think this can help you. This is a part of one my scripts. fn resetXFormAndFlip obj = ( local rotvalue=obj.rotation obj.rotation=(quat 0 0 0 1)…
Indeed an bitarray is very different to an array. Usually, you do not need to know the value of the elements which are “false”. Then you can use a lo…
You have to change the mode to view the result because the interface is not updated.
I can’t test this because I have not max8 but the command unwrap5.setSelectedGeomEdges seems to select the geometry edges and not the uvw edges as you…
I am almost certain that he uses the “.count” with a bitarray and not with an array. If it is the case, That deserves a punishment. lol 😈 a=…
What kind of array do you use ? Show us an example…
Indeed it’s strange. Maybe if you insert myArray.count between ( ), that will be better ? or to use ‘as string’ But I prefer to use the command ‘form…
Thanks for the explanation, Zbuffer and ‘Ogre’ (Paul). That will undoubtedly be useful for me ! Thank you also for writing this smaller version, Fa…
Hey you did it! Thanks Your code show me that default values exists in function… but I never succeeded in using them. Are there default values in t…
Oh yes… If the arrays to compare contain one array themselves my function does not work. Thanks for the idea of recursivity, Pen.
Sorry. I did not answer your question. I currently use this function when I want to compare 2 arrays: fn isSameArray array1 array2 = ( if array1.c…
Maxscript does not compare the arrays when you write: #(1,2,3)==#(1,2,3) –>false I think maxscript compares the pointers of the arrays. Then if y…
The indices of the poly vertices are the same as the mesh vertices. That is a small consolation.
That is artful. I do not know if that is better because if I have 1000 faces then I am going to have to create 1000 meshes and erase them later.