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: 

executePython error in version SR1-SP2

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
dlincol1
501 Views, 4 Replies

executePython error in version SR1-SP2

I'm getting this python error in version SR1-SP2 but not in SR1-SP1.

sp1_vs_sp2.PNG

Regards,
Dan
Tags (1)
4 REPLIES 4
Message 2 of 5
michael_nikelsky
in reply to: dlincol1

Hi,

 

the executePython command now has an additional bool parameter to control sync behaviour between multiple vred instances. Looks like this broke the old version, we will look into that.

As a workaround you can call

executePython('enableHeadlight(true)', true)

 Kind regards

Michael



Michael Nikelsky
Sr. Principal Engineer
Message 3 of 5
dlincol1
in reply to: michael_nikelsky

Michael, That works for me, thank you!

Regards,
Dan
Message 4 of 5
michael_nikelsky
in reply to: dlincol1

You´re welcome.

 

But out of curiosity: Why would you actually use the "executePython" command? Usually you can just call the command inside directly.

 

Kind regards

Michael



Michael Nikelsky
Sr. Principal Engineer
Message 5 of 5
dlincol1
in reply to: michael_nikelsky

I only used that as a simplified example, the problem occurs in another more complicated script where "executePython" is required.

Regards,
Dan

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

Post to forums  

Autodesk Design & Make Report