ScriptSpot

Forum topic · General Scripting

mirror a group

By remykonings · 2019-04-12

Description

Hi,

I noticed that mirroring a group in this way does not work?
Can anyone tell me why it does not work :)

group selection
$.transform = prescale $.transform [-1,-1,1]
ungroup selection

thank you :)

Comments (1)

.

miauu · 2019-04-13

This way you are mirroring all objcets in the group.
Try to mirror only the top most group head.


(
	grp1 = group selection
	grp1.transform = prescale grp1.transform [-1,-1,1]
	ungroup grp1
)