align object min to max of source object
Hello Scriptspot community,
I would like to have a script to align an object, by just picking an source object and it would align my selection min, to max positon of the source Object.
just for one Button, to fasten the Workflow.
Regards.
Attachment | Size |
---|---|
align_min_max.jpg | 91.5 KB |
Comments
Hi MiauuI modify your code
Hi Miauu
I modify your code to make use more faster (no ui)
Is there a way to make a rubberband from each selected object ? Now just first one have a rubberband...
.
Hi!
Rubberband accept only one point3 value. Instead of it you can use custon rubberband:
Tools and Scripts for Autodesk 3dsMax
Hi, thanks !!! and we can
Hi, thanks !!! and we can change color of lines !! :-)
but in 2019, I need to remove first "unRegisterRedrawViewsCallback DrawCustomRubberband"
or an error pop up...
.
In max 2019 is... funny. :)
Just put the first "unRegisterRedrawViewsCallback DrawCustomRubberband" in try()catch() statement. It is not the best option but it works. Or you will face what jahman wrote.
Tools and Scripts for Autodesk 3dsMax
.
Then you may end up registering redraw callbacks multiple times without any possibility to unregister it in future.
Wow thank you very much
Wow thank you very much
.
Select the objcets that you want to align. Run the script, press the [Pick source object] button and pick the object to which you want to align.
Tools and Scripts for Autodesk 3dsMax