Setting position of Symmetry modifier`s mirror to specified position.

Setting position of Symmetry modifier`s mirror to specified position.

wojciech.selwa
Contributor Contributor
231 Views
3 Replies
Message 1 of 4

Setting position of Symmetry modifier`s mirror to specified position.

wojciech.selwa
Contributor
Contributor

Hi all,

I'm running into a problem when trying to control the mirror gizmo of the Symmetry modifier using MaxScript.

What I want to archeive:

For each instance of a referenced object, I want to:

Place it near a Box object in the scene

Apply a Symmetry modifier

Move the symmetry mirror (gizmo) to a specific world position — center of the associated Box.

So far I managed to succesfully create and align referenced objects to the boxes, apply symmetry correctly but I am struggling to align symmetry mirror to desired position. I was trying to align it with a point helper or to specify if by coordinates, but nothing worked so far. Is it even possible to move mirror/gizmo of symmetry modifier using MAxscript? It is either placing gizmo in random place or not moving it at all. 

 

Just want to add that I`m fairly new to the MaxScript.

 

Thanks!

0 Likes
Accepted solutions (2)
232 Views
3 Replies
Replies (3)
Message 2 of 4

A娘
Advocate
Advocate
Accepted solution

it involve coordinate system conversion , the gizmo use local coordinate system of the modifier , and your box you get the positon in global coordinate system
https://help.autodesk.com/view/MAXDEV/2025/ENU/?guid=GUID-1E2277FE-7854-4404-89A9-9D72C07CDBDB
see the conversion demo from link above

Message 3 of 4

MartinBeh
Advisor
Advisor
Accepted solution

Here is a free script to do that for you: https://scripts.breidt.net/#gizmoControl

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
Message 4 of 4

wojciech.selwa
Contributor
Contributor

Thank you @MartinBeh and @A娘, both gave me the answer I was looking for, problem solved!

0 Likes