Component¶
An effect (or intrinsic transform) applied to a track item.
Only materialized components appear: Premiere synthesizes untouched intrinsics (Motion, Opacity, ...) at runtime and stores nothing for them.
Source code in src/py_premiere/models/component.py
801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 | |
Attributes¶
match_name
property
¶
The registry identifier. Read-only.
Video components store this as MatchName; audio filter components
store it as FilterMatchName (e.g. Internal Volume Mono), which
ExtendScript also reports as the match name.
sub_components
property
¶
Components nested inside this one. Read-only.
Masks applied to an effect are stored this way - each is itself a
component (match name AE.ADBE AEMask2) whose parameters carry the
feather, opacity, expansion and shape. ExtendScript exposes no
equivalent, so this is XML-only.
Methods:¶
__contains__ ¶
__getitem__ ¶
__init__ ¶
__iter__ ¶
__len__ ¶
__repr__ ¶
add_mask ¶
Attach a default mask to this effect and return it.
Synthesizes the AEMask2 sub-component exactly as 26_effect_mask
stores it: the 27 default parameters, wired as a SubComponents
entry beside the effect's MatchName. Masks number themselves by
position (01, 02, ...), and from the second one on the effect
carries a NextComponentNumber allocation counter (76_two_masks).
Adjust the geometry through the returned component's parameters
(Position, Anchor Point, Feather, ...); use path on the
Path parameter for drawn shapes.