Copy link to clipboard
Copied
Hi everyone;I would like to move the second grouped object to the first grouped object coordinates as scaled
Hi, uiqued_tol
Can you present your script code?
This is an example.
(function () {
var doc = app.activeDocument,
sel = doc.selection;
sel[1].position = sel[0].position;
sel[1].width = sel[0].width;
sel[1].height = sel[0].height;
}());
These methods are useful when you want to fine tune and operate.
GroupItem.resize() and GroupItem.translate()
GroupItem.transform()
Copy link to clipboard
Copied
Hi, uiqued_tol
Can you present your script code?
This is an example.
(function () {
var doc = app.activeDocument,
sel = doc.selection;
sel[1].position = sel[0].position;
sel[1].width = sel[0].width;
sel[1].height = sel[0].height;
}());
These methods are useful when you want to fine tune and operate.
GroupItem.resize() and GroupItem.translate()
GroupItem.transform()
Copy link to clipboard
Copied
Thank you OMOTI... good working.