format ” execute (\”global objecttext_3=\”[b]stringtext[/b]\”\”) ” to:s stringtext is a string within a string within a string: format “< first s…
I think your second translate call should be translate b [[color=orange]-h,h,0][/color] Martijn
When your shapes are actually curved, it’s not an easy task to find the intersection point, for straight lines it’s a lot simpler. I don’t have the ti…
Not sure if I understand the question; Is this what you’re trying to do? You have a shape, an incoming vector that hits the shape at some arbitrary po…
rarnett and Bobo both gave you the answer, lookup getFilenameFile in the manual. Martijn
Thanks Bobo, this just totally made my day And I couldn’t agree more. Martijn
This is typically what happens when there’s just one tvert per vertex (like in the .3ds format), check out the topic Understanding Texture Coordinates…
I think this should work with xref objects: replaceInstances <old_MAXWrapper> <new_MAXWrapper> transferCAs:<bool> replaceInstanc…
I know you resolved the issue, but I just wanted to add that for numeric comparisons, you can simplify the qsort function to this: fn sortByAxisPos a…
Hi jonahhawk, You are probably getting an error because you have too many closing brackets in your expression: jonahhawk: fe.SetExpression “[…
Some value types in maxscript require you to explicitly copy the original variable to create an independent copy, such as matrix3, point2, point3, arr…
Finding the optimal bounding sphere of any given set of points is not as trivial as you might think. Using maxscript’s .min, .max properties (or nodeG…
Afaik, you can’t abort a mouseTrack programmatically. What you could do is use a flag and check the state of that flag in the callback function, eg: …
Key values have a .selected property (boolean), so you can use the following to iterate through selected keys only: for i in $.pos.controller.X_Posi…
If you want to distribute a whole bunch of points over an object’s surface, your best option is probably Particle Flow. It’s distribution algorithm is…