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

Python file save path "setFileSaveDir" won't apply to VRED

1 REPLY 1
Reply
Message 1 of 2
Anonymous
374 Views, 1 Reply

Python file save path "setFileSaveDir" won't apply to VRED

Hey guys, 

 

I have another problem:

 

I have a piece of python code which creates a screenshot of the viewport and automatically saves it into the directory of the .vpb file. 

In case the scene has not been saved yet, the script will open the explorer and ask you to save the scene somewhere. So far this works lovely. My problem is that after is safe the untitled scene has been saved somewhere it does not take a screenshot anymore. This basically defeats the purpose of my script. 

Also: If I save my scene with the script and then click on the save button which VRED already has (top left corner) or press ctrl + s it will again ask me to choose a location for the scene. Obviously the script does not communicate my previously seleceted location to VRED itself.

I used "setFileSaveDir"

 

I hope you guys can help me out.

 

Best regards, Nikias Miyabe

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

Sorry for my typo. This is what I meant:

 

My problem is that after the untitled scene has been saved somewhere it does not take a screenshot anymore.

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report