VRED General Discussion

VRED General Discussion

Reply
Contributor
dlincol1
Posts: 15
Registered: ‎06-19-2013
Message 1 of 5 (90 Views)
Accepted Solution

executePython error in version SR1-SP2

90 Views, 4 Replies
08-06-2014 11:20 AM

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

sp1_vs_sp2.PNG

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

Employee
michael.nikelsky
Posts: 45
Registered: ‎05-05-2014
Message 2 of 5 (68 Views)

Re: executePython error in version SR1-SP2

08-09-2014 04:22 AM 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

Contributor
dlincol1
Posts: 15
Registered: ‎06-19-2013
Message 3 of 5 (54 Views)

Re: executePython error in version SR1-SP2

08-11-2014 06:10 AM in reply to: michael.nikelsky

Michael, That works for me, thank you!

Employee
michael.nikelsky
Posts: 45
Registered: ‎05-05-2014
Message 4 of 5 (50 Views)

Re: executePython error in version SR1-SP2

08-11-2014 08:38 AM 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

Contributor
dlincol1
Posts: 15
Registered: ‎06-19-2013
Message 5 of 5 (46 Views)

Re: executePython error in version SR1-SP2

08-11-2014 12:41 PM 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.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.