About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
Be careful to use "use
Be careful to use "use transform Coordinate center" so you can use "Point01" as center
(works fine w max 2010)
This is it: macroScript
This is it:
macroScript SmartPivot category:"SmartPivot" tooltip:"SmartPivot v1.0" silentErrors: true
(
global pivotpoint
on isChecked do isValidNode pivotpoint
on execute do (
try(
if isValidNode pivotpoint then delete pivotpoint
old_pen_pos = pickPoint prompt: "Pick Smart Pivot: " snap: #3D
if (classOf old_pen_pos) == Point3 then (
pivotpoint=Point()
pivotpoint.size=1
pivotpoint.pos=old_pen_pos
enableRefCoordSys true
toolMode.coordsys pivotpoint
toolMode.transformCenter()
enableRefCoordSys false
)
)
catch(ClearListener())
)
on closeDialogs do (enableRefCoordSys true; if isValidNode pivotpoint then delete pivotpoint)
)
www.scriptattack.com
hey that works :) but only
hey that works :) but only for move, when try to rotate it goes back to the centre... running the script while in rotation mode, converts back to move :(. could you fix this??? been looking for this one, thanx again