You can change the function to something like this to create the points on a specific path: function createPathPoints targetPath pointArray = ( for …
I’m not completely sure I understand what you are trying to do but, as I see it, you have two alternatives. One is to create the yellow points as need…
In MaxScript you can’t create object properties on the fly like that, the material has no “bac” property. If you are trying to add custom data to the…
I’d check if you have a firewall or antivirus blocking the connection.
Documentation is a bit lacking imo, I couldn’t find .mesh property there either. I don’t think box vertices are always ordered the same way… if what …
You can try using the box geometry .mesh property. i.g: for v in $.mesh.vertices do print v.pos
I’m not sure what are you trying to do, the most simple solution I can think of is: fn removeSubmaterial mat id = ( for i = 1 to mat.materialLis…
I guess you can, if it works for you go for it
In this case you could try to get a list of all the material names by class, this way you get all the materials regardless if they are inside a submat…
Oh I see the problem now. assignNewName doesn’t seem to work as the help file says, maybe is a bug? You could use something like this to get a materia…
It does work for me: mat2 = standard name:”Material #2″ mat3 = standard() assignNewName mat3 print mat2.name — outputs “Material #2” print mat3.nam…
I would be: for i = n to 1 by -1 do ( )
Maybe you could use a Dictionary instead? d = Dictionary #integer d[-2] = #(1, 2, 3, 4) d[1] = #(1, 2, 3) d[23] = #(1, 2)
You have a couple problems in your code. The first one is that you are looping a list that gets changed during the loop and this causes the script to …