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 errors in example scripts

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
dlincol1
1035 Views, 2 Replies

Python errors in example scripts

Getting python errors in versions SR1-SP1 and SP2 for example scripts: 'camera-fixed-object.py' and 'camera-fixed-object2.py'

Left image is 2015 SP1(no errors), right image is 2015 SR1-SP1

fixed_camera_example.PNG

Regards,
Dan
Tags (1)
2 REPLIES 2
Message 2 of 3
sinje_thiedemann
in reply to: dlincol1

Hi,

 

the previous version of findNodePath() also accepted only a node name instead of a node path. It returned the result of findNode then. This has changed since 2015 SR1-SP1. We'll look into that.

Workaround:

Change line

obj = findNodePath("tasse_body")

 to

obj = findNode("tasse_body")

 

Then both scripts should work again.

 

Best regards

Sinje

Message 3 of 3
dlincol1
in reply to: sinje_thiedemann

Ok, thanks for responding.

Regards,
Dan

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

Post to forums  

Autodesk Design & Make Report