Expressions/Scripts/Presets

Moderator: Paul Tuersley

 
Drumper
Topic Author
Posts: 6
Joined: Sat Nov 27, 2010 7:57 am

Negative Values for cropping in output module doesnt work

Fri Feb 23, 2018 1:08 am

Hi

I'm trying to add negative values to the cropping in the output module, but it doesnt works:
 

var crop_data = {  
"Crop":true,  
"Crop Bottom":0,  
"Crop Left":-200,  
"Crop Right":-200,  
"Crop Top":0  
};  
app.project.renderQueue.item(1).outputModule(1).setSettings( crop_data );



ToolScript gives me an error, that this negative value doesnt work. But if i type the exact same negative values manually into the crop settings it works. Any Idea what im doing wrong?
 
Thanks
Peter

Who is online

Users browsing this forum: sobek and 2 guests