after render dialoague image aspect lock , render size

my render size 2000 * 3000

i puted image aspect lock button

for test render
renderSceneDialog.Open()
RenderWidth=500

reuslt

500 * 3000

my want result

400 * 750

why did not that work aspect lock ?

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

...

Try this instead

renderHeight = (RenderWidth = 500)/(getRendImageAspect())
renderSceneDialog.update()

bga

dussla's picture

wow wow thank you

perepct
rellay thank you
always thank you for your good help

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.