Skip to main content

Insert Mogrt From Library

Category: Pr Tracks & Clips Insert Mogrt From Library block screenshot

Inserts a Motion Graphics Template from an Adobe Library into a sequence. videoTrackIndex and audioTrackIndex are 0-based (0 = first track / V1 / A1). Use -1 to disable video or audio placement for MOGRT insertion. This block is for Adobe Library elements, not for Premiere's local Local Templates / My Templates area. Use this only for Adobe Library elements, not for Premiere's local Local Templates / My Templates area. If the user refers to Local Templates, first resolve the local .mogrt file path and then use prInsertMogrtFromPath instead. Track indices are 0-based (0 = first track / V1 / A1). Use audioTrackIndex = -1 for video-only templates and videoTrackIndex = -1 for audio-only templates. The same null-track fallback behavior as prInsertMogrtFromPath applies. If sequence is omitted, the block uses the active sequence when supported. Use onError to decide whether errors stop the script, continue, or return false when the block supports it. If storeResultIn is set, the block also writes a result variable back to your graph.

Inputs

InputRequiredValue KindTypesEnum Values
libraryNameyesexpressionstring
elementNameyesexpressionstring
sequencenoexpressionreference, string, null
timeSecondsyesexpressionnumber
videoTrackIndexnoexpressionnumber
audioTrackIndexnoexpressionnumber
onErrornoexpressionenum-stringSTOP, CONTINUE, RETURN_FALSE
storeResultInnovariable-namevariable-name

Notes

  • Inserts a Motion Graphics Template from an Adobe Library into a sequence.
  • Use this only for Adobe Library elements, not for Premiere's local Local Templates / My Templates area.
  • If the user refers to Local Templates, first resolve the local .mogrt file path and then use prInsertMogrtFromPath instead.
  • Track indices are 0-based (0 = first track / V1 / A1).
  • Use audioTrackIndex = -1 for video-only templates and videoTrackIndex = -1 for audio-only templates.
  • The same null-track fallback behavior as prInsertMogrtFromPath applies.

See Also

  • Premiere Reference Paths: Explains Premiere reference path strings for project items, sequences, tracks, timeline items, markers, components, and parameters.