Copy the layer properties

Hi all

I had this frustration some time and thought there was nothing I can do about it as I don't want to buy a script just for this, if this is the case, but that's.

If two layers are both 100% scale, but a single layer is 100 x 100 px, and the other is 200 x 200 px, is it possible that I can make one match on the other?

I know that you can transfer the parent, but that seems to only affect that ladders, etc., I want especially to use it in the way I have a form for a piece of the video to go, normally a vector from illustrator as a placeholder, I don't then want to copy the shape and the parent to this.

Is this possible?

Thanks for any help!

Expressions can return the height and width of a layer. You can write an expression that divides the target layer height and width and the width by the height of the source layer. There are two ways to write this expression. One using a table, one using individual values.

This is option 1:

sLayer = [width, height]; source layer

tLayer = [thisComp.layer("target_layer").width, thisComp.layer("target_layer").height]; target layer

[tLayer [0] / sLayer [0], tLayer [1] / sLayer [1]] * 100

Here are 2 option:

tlWidth = thisComp.layer("target_layer").width;

tlHeight = thisComp.layer("target_layer").height;

slWidth = width;

slHeight = height;

SX = tlWidth / slWidth;

Sy = tlHeight / slHeight;

[sx, sy] * 100

Apply expressions of the scale property of the source layer. The outside dimensions of the source and the target will be now. If the layer 'target' is the parent that the source layer will react normally. If the source layer

is the parent, you cannot adjust the pair scale without changing the expression with a value more than the statement. Here is an example of project CS6.

Tags: After Effects

Similar Questions

  • Copy the font properties

    I am looking for a way to copy / paste properties from the layer of a text font to another. Is there such a feature?

    (Something similar to the way copy / paste work of layer styles.)

    I use CS4.

    You mean like Style sheets in InDesign? Unfortunately, no. You could work around it like this: say you have two layers of text with different properties. Copy the text of the 'destination' layer and paste it into a text document in Notepad of Windows. Copy the text in the 'source' layer, select the text in the 'destination' and paste the 'source' text in the layer of "destination". Finally, copy the original text of the 'destination' of Notepad, select the text in the 'destination' layer and paste the original text.

  • The layer properties. Visible, but unprintable

    Hello

    I have a PDF file with layers. I want some of that time to be visible but not printable. Is this possible?

    Thank you

    Yes, it is perfectly possible. Right-click on the layer name in Acrobat, and choose Properties. Then you have the visibility controls, printing and exporting.

  • Copy the layer effects?

    Whenever I drag an item which has effects of layer on toward a new document apparently delete - or at least in part - some effects layer that I have on the layer. How do you keep this information is intact?

    Press [options] to copy.

  • Reveal the layer properties in the timeline panel

    Hi, I'm working on a script where I selected all masks on a layer. It works fine, when I type 'm' on the keyboard, it shows all the masks and they are selected. I was wondering if there is a way in Extendscript to reveal masks selected for the user does not have to go find them after that that they have been chosen?

    Don't reveal native attribute of ExtendScript real estate. You have this:

    MaskPropertyGroup

    assets

    canSetEnabled

    Color

    elided

    activated

    reversed

    isEffect

    isMask

    isModified

    locked

    maskFeatherFalloff

    maskMode

    maskMotionBlur

    Remove

    name

    numProperties

    %{ParentProperty/}

    propertyDepth

    propertyIndex

    propertyType

    Rotobezier

    selected

    addProperty()

    canAddProperty()

    Duplicate()

    moveTo()

    Property()

    propertyGroup()

    Remove()

    PropertyGroup

    assets

    canSetEnabled

    elided

    activated

    isEffect

    isMask

    isModified

    Remove

    name

    numProperties

    %{ParentProperty/}

    propertyDepth

    propertyIndex

    propertyType

    selected

    addProperty()

    canAddProperty()

    Duplicate()

    moveTo()

    Property()

    propertyGroup()

    Remove()

  • Copy the name of the layer to the Clipboard?

    Hi, I was looking for a way to copy the name of the active layer in the Windows Clipboard, I hope this a quick solution. What I managed to do up to now, it is to open the Layer Properties dialog box, and then press 'CTRL + C' to copy the layer name (because the name of the layer is already highlighted at this stage), and then it correctly copy the name of the layer in the Windows Clipboard.

    But I found that when the system is under load, the Layer Properties dialog box is sometimes slow to open, and despite this, it seems that it is an additional step that could be eliminated.

    I searched through keyboard shortcuts and also in all the menus layer for a keyboard shortcut for just 'copy layer to the Clipboard name' but cannot find anything.

    Anyone know if there is a quick shortcut to do this or maybe a quick script that will copy just the name of the layer?

    Thanks in advance...

    Bingo! Thank you Philippe/csuebele/pixxxel, it's the "clip.exe" that was the problem for me. I pasted in system32 and now it works. It's awesome - now I am able to view a tool tip with the name of the layer, whenever I change the layers (with the help of my other app left 3rd) - this is especially useful when working in mode full screen when you don't see the palette layers. It will update your tool tip with the name of the layer whenever you use keyboard shortcuts to select the different layers.

    If someone thinks they would find useful, I had me more than happy to share it... but it's using a different script software, so I may or may not be able to talk about it here. Shoot me a private message if I can't talk about it here and you would like it to be.

  • How can I copy a layer but have the blend mode reset to normal?

    I'll try and this word as well as I can lol. I edited a layer with a blending mode and you want to copy the layer but have the blend mode of the layer to return to normal so that I can edit it again with a different blending mode.

    Does anyone know how can I achieve this? Any help would be appreciated!

    I don't know what you have in mind, but if I understand your goal, try this:

    On a given layer, add a blend Mode of your choice

    Then add an adjustment layer (say, curves), but do not alter the curve. Simply choose the mask and apply a different blending Mode.

  • Move a layer from one document to another, I get the error message that the layer is empty

    When I copy a layer from one document to another in PS CC 2015.5 and then try to move the layer in the destination document, I get the error message that the layer is empty.  It is not empty and I checked several times and checked that the layer is not empty.  I have never had this problem before and wonder if something has changed in CC 2015.5.

    Thanks to all who responded.  I think the problem was that I was using the NEF files and that he had not yet renamed PSD files.  Copy the layer in the destination document, but when I tried to move the layer in the destination document, I received the error message.  Apparently, he was copying the layer but there not then recognize the NEF format.  Once I saved both documents to the PSD, then the program behaved normally.  I appreciate your all of the help.

    Sue

  • How to apply effects to layer the layer of text from other text layers?

    Hey people,

    I'm working on a video graphic animation and currently making some changes of fonts.  I added some effects to the police of one of my text layers.  If I want to keep these effects consistent whenever I have add a new text layer, is there a way to copy and paste attributes the effects to a layer to another?

    Thanks for the help!

    m

    What kind of effects are you talking about?

    You can create a preset and apply this. Otherwise, you could just duplicate (Ctrl + D or CMD + D) any existing and any text layer just change the text and timing of each layer. Another solution is to copy the layer with links to property.

  • Opacity of the layer in Photoshop Touch iPhone5

    How can I change the opacity of a layer?

    Thank you

    Hello!

    Steps in how to change the opacity of a layer:

    1. select the layer + icon at the bottom right.

    3 this will open the layer properties. Select the icon of the layer.

    4 you can adjust the opacity of each layer you have selected.

    Please let us know if you have any other questions,

    Janelle

  • How to copy a layer Style to one layer to another PSE9

    I'm copying 'fx' of an image to another, but when I try to drag to the next picture, it doesn't seem to work someone could help

    I held the ALT key and dragging but no luck...

    Title of the message was edited by: Brett N

    One way is to copy and paste the layer styles:

    1. right click on the layer with the layer style, and then choose the copy layer Style

    2. choose another layer and right-click and choose Paste layer Style

    (or select all of the layers that you want to copy the layer style to choose the paste layer Style)

    The above work equally between different documents.

    (click on the screenshots below for more great views)

    Also available in the menu layer:

    copy layer style

    Paste the layer style

  • How to copy a layer in its own mask

    in a PSCS6 tutorial, I am told to "make a mask of the layer and then copy the layer in its own mask of" I gave the key combination "opt + click", apparently to copy this layer into its own mask. It does nothing and I'm lost.

    Screen Shot 2012-10-20 at 3.48.42 PM.png

    I use i7 iMac and lion 10.7.5

    Thank you

    Vince

    Post edited by: vinsolo

    Target a layer (highlight in the layers panel), press Cmd + A to select all and then Cmd + C to copy.

  • Copy the properties of the dynamic object

    Hi people.

    As it is Christmas time, I thought I'd do a nice picture of Christmas with snow.

    It was ok until I tried to make a new layer by dragging my 'Smart Object' layer to the new layer icon, and not using 'Control-J', as by dragging to the new layer icon must copy the properties also.

    The layer copy very well, but the properties do not copy with it, which would be a pain I want to make a number of copies and do not want to change one by one.

    Any help people.

    Hi BigDingus,

    When you use the standard shortcut command + J (PC: Ctrl-J) to duplicate a smart object, the changes to the smart object will affect both copies. To avoid this, Ctrl-click (PC: right-click) on the smart object, then choose new Smart Object Via Copy. Now two smart objects can be edited separately.

    Concerning

    Jitendra

  • When I try to copy the files from Windows Mail on Vista on a USB key I get the message "you are about to copy this file without its properties

    I move the file from my old PC which took place with Vista on a new computer running with Win 10 where I have Windows Live Mail is installed.  When I try to copy the files from Windows Mail on Vista on a USB key I get the message "you are about to copy this file without its properties".  After studying this issue on the forums, a proposed solution was to reformat the drive in NTFS format, I did.  This does not solve the problem.  Any suggestions?  Would it be OK in this case to ignore the message and copy the file without its properties?

    Well data files/user of vista should work. Yes a NTFS format is good, go to run, or cmd, type:

    diskmgmt.msc in msc, R.click on the material, delete the partition, create one, format. Use the default settings,

    Once thru, L.click the disk, go to actions, all, select 'enable '.

    In addition, live windows for vista is microsoft discontinud

  • Custom attribute in the model layer properties

    Hey all,.

    Can someone explain the flow of the program "ADF practice: using custom attribute in the model layer properties of". "" Basically, how change custom properties like "customLabel" changed the label attribute. Is there properties specific adf we can refer to properties for the attribute?

    Reference will also be useful.

    Thank you!!

    What exactly you want to know?

    It's pretty clear from what I've read:

    You can set properties that are customized for each attribute in a vo. This is done in the vo attributes dialog box where the default value.

    You can override the default values that is done in the setCustomHints() method. This method is called by the button in the user interface (actionListener = "#{bindings.setCustomHints.execute}" ")

    The inputtext is set to display the properties for the label (label = "#{bindings.") DepartmentName.hints.customLabel}') and uses the custom readOnly property (readonly = "#{bindings.") DepartmentName.hints.readonly}')

    As the inputText component is updated after the button clicked on (via a pertial in the inputText trigger), it shows the a values.

    Timo

Maybe you are looking for

  • Finger rest open iOS10 iPhone 5

    iPhone iOS 10 5 10 for iphone iOS 5 does not provide the function "Rest finger to open", I won't click on Home Button 2 times to unlock the screen. It will be broken someday. I just want that my "slide to unlock" back, please help how to deal with th

  • Screen carrying

    Hello My screen faded, this has been resolved by restarting the machine, but no one knows what could cause this problem and if there is a longer term fix that restart? Thank you

  • iMac fast memory almost full

    Hi, I got a 8 GB ram 3 t iMac memory, Ive recently moved some video files on my desktop to an external drift he was about 1 t of the video. And now I get fast memory almost full. This has never happened before is it a virus? can anyone help please? T

  • Satellite P500-12F - new HDD question

    I just realized that I have two HDD on my model, both sizes are 232 GB. I thought must be partitioned because when I checkedProperties it shows just like below. * THE HDD2H21 TOSHIBA MK5055GSX 500 GB 2.5 "HDD INTERNAL *. I recently used Hard Disk Sen

  • How to save the data to the new file, when you press the button

    Hello. Run a program that reads data recorders seconds and displays a trace on the screen. What I want, is that when I press a button, the program will ask for a file name and begins to record data to the file, and continues to do this as long as the