Community
Showcase Forum
Welcome to Autodesk’s Showcase Forums. Share your knowledge, ask questions, and explore popular Showcase topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[Python] Publish Image: Resolution and Render Level

1 REPLY 1
SOLVED
Reply
Message 1 of 2
john_jones_7
537 Views, 1 Reply

[Python] Publish Image: Resolution and Render Level

Hi everyone,

I'm using Python to publish *.a3s to *.jpg automatically.

...

self.sendMessageSync('APPLICATION_LOAD_SCENE', (self.myFilesToLoad, ))

 

...

self.sendMessageSync('RT_SWITCH_REQUEST', (True,))

self.sendMessageSync( 'SAVE_SCREENSHOT_AT_RESOLUTION',
                                 (fileImgJPG,kResWidthJPG, kResHeightJPG,3, TheAALevel, False,) )

self.sendMessageSync('RT_SWITCH_REQUEST', (False,))

...

 

I've got these issues:

1. How can I change the resolution of the published image in my CODE? As you know,  it's always 72 pixel/inch.

2. How can I adjust the render level in my CODE?

Thanks for any help.

1 REPLY 1
Message 2 of 2
john_jones_7
in reply to: john_jones_7

I did it successfully. Topic closed. 😄

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report