Blissful_enthusiasm8593
Community Beginner
Blissful_enthusiasm8593
Community Beginner
Activity
Mar 07, 2025
05:34 PM
但是我又看到一些设备是可以控制修改这个数值的变化,所以非常好奇到底该怎么去做
... View more
Mar 06, 2025
10:59 PM
You said you couldn't change it with setValue. I need to know exactly what to do to change this
... View more
Mar 04, 2025
10:28 PM
So I know exactly how to change the values of these two properties. Please, this question has been bothering me for a long time, and I have no clue.
... View more
Mar 04, 2025
01:56 AM
I can't get the name of these two and the value of them so what do I do to change the value by 'setValue'
... View more
Feb 13, 2025
05:58 PM
Sorry, I am a new cep developer and don't quite understand what you mean. Is there any example code for me to learn
... View more
Feb 13, 2025
05:57 PM
My code above is just an example, and when I changed it to Lumetri it still didn't work
... View more
Feb 12, 2025
07:06 PM
1 Upvote
I need to control component parameters like color temperature by calling the api and trying property.setValue but that doesn't seem to work. The strange thing is that setValue can control the motion position, how should I implement this function?
function _getSelectedClip() { var selection = app.project.activeSequence.getSelection(); for (var i = 0; i < selection.length; i++) { var clip = selection[i]; if (clip.mediaType === "Video") { return clip; } } return null; } var clip = _getSelectedClip(); $.writeln(clip.name); // 查找组件 function findComponent(clip, matchName) { var components = clip.components; for (var i = 0; i < components.numItems; i++) { if (components[i].matchName === matchName) { return components[i]; } } return null; } // 查找属性 function findProperty(clip, matchName, propertyIndex) { var component = findComponent(clip, matchName); if (!component) return null; var properties = component.properties, property = properties[propertyIndex]; // return component.properties[propertyIndex]; return property; } var property = findProperty (clip, 'AE.ADBE Motion', 0); var value = 0; if(typeof property.getValue() == 'object') { value = property.getValue()[0] + 1; }
property.setValue([value,value]); $.writeln(property.displayName + ':'+property.getValue());
... View more