Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Be able to have rulers transfer to other comps

New Here ,
Jan 30, 2025 Jan 30, 2025

I'm currently working on a project that needs a bunch of assets in different pre-comps with the same resolution to be resized and repositioned and the fast way has been to use rulers, it would be nice if we could toggle it so rulers/guide lines stay on every comp till disabled.

Idea No status
TOPICS
UI and UX , Workflow
100
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
3 Comments
Community Expert ,
Jan 30, 2025 Jan 30, 2025

Interesting request. It seems like a pretty unique feature which may be why it hasn't been added.

Translate
Report
Participant ,
Jan 31, 2025 Jan 31, 2025

Hi, I've just wrote this script to copy guides from a source comp (template) to the other comps.
Select the source comp + the copy to comps then run this script.
Read the comments at the start of the scipt before using it.

//~ As I didn't find a way to make Ae respect the order of selection in the project panel
//~ the source comp must be the first alphabeticaly so you can add special character at 
//~ the start of the source comp name manualy before runnig the script. for example "_comp"
//~ else you may give it a distinctive name and change the first line of code to make the script search/compare 
//~ all the project.selection items for the specific name

//~ WARNING THE SCRIPT ASSUMES THE COPY TO COMPS DON'T HAVE ANY GUIDES IN IT

//~ THIS SCRIPT ISN'T TESTED ENOUGH, YOU SHOULD ALWAYS SAVE YOUR WORK BEFORE USING IT

//~ AND USE IT AT YOUR OWN RISK

//~ Good luck
//~ Hani

var sourceComp = app.project.selection[0];
var guides = sourceComp.guides;

app.beginUndoGroup("Copy Guides");

for (var i = 0; i < guides.length; i++) {
    var guide = guides[i];
    var orientation = guide.orientationType;
    var pos = guide.position;
    for (n = 1; n < app.project.selection.length; n++) {
        app.project.selection[n].addGuide(orientation,pos);
        }
}
app.endUndoGroup();
Translate
Report
Participant ,
Jan 31, 2025 Jan 31, 2025
LATEST

To make it more usefull, copy the scale and position of the layer you wish to be aligned and set their values in the copy to comps, in this case you may not need to use guides.
I'm not sure as I don't know your compositions structure

Translate
Report