Skip to content

Instantly share code, notes, and snippets.

View keerah's full-sized avatar
💭
💛💙

Keerah keerah

💭
💛💙
View GitHub Profile
@keerah
keerah / Layer_Info_Names.jsx
Last active November 24, 2021 23:33
AE expression: Layer info Names
// Sometimes you need to burn in your layer(s) information into your renders
// 1. Create an empty text layer
// 2. Unfold its properties to Text -> Source Text
// 3. Click its stopwatch while pressing Alt
// 4. Paste this expression. You can exclude these descriptive lines starting with //
// 5. Done. Now adjust the text properties to your preference
// This expression creates text with your composition name and current layer(s) names.
// If you do not want it to be included in the actual render, use Layer -> Guide Layer option
// This expression takes in account all the layers below itself, so to include all of comp layers make this text layer the topmost.
// The expression can be slow if you have some huge amount of layers in your comp.
@keerah
keerah / Layer_Info_Numbers.jsx
Last active November 24, 2021 23:33
AE expression: Layer info Numbers
// Sometimes you need to burn in your layer(s) information into your renders
// 1. Create an empty text layer
// 2. Unfold its properties to Text -> Source Text
// 3. Click its stopwatch while pressing Alt
// 4. Paste this expression. You can exclude these descriptive lines starting with //
// 5. Done. Now adjust the text properties to your preference
// This expression creates text with your composition name and current layer(s) numbers.
// If you do not want it to be included in the actual render, use Layer -> Guide Layer option
// This expression takes in account all the layers below itself, so to include all of comp layers make this text layer the topmost.
// The expression can be slow if you have some huge amount of layers in your comp.
@keerah
keerah / selectParent.py
Last active May 23, 2022 06:03
c4d select parent
import c4d
#Welcome to the world of Python
def main():
doc.StartUndo()
s = doc.GetSelection()
for x in s:
try:
p = x.GetUp()