Page 1 of 1

OctaneChangePinValue no longer work

Posted: Tue Aug 30, 2016 11:41 am
by formatio
Hi Paul :)

I just upgraded to v3.

I noticed that rhino commands to change pin values no longer work.

Basically I always get the same error:

for example a command lik this: _OctaneChangePinValue maxDiffuseSamples 3

throws an error popup: Error - Could not find pin maxDiffuseSamples.


I check the pin name in the v3 LUA API browser so it should be ok.

Best regards.

Re: OctaneChangePinValue no longer work

Posted: Tue Aug 30, 2016 10:58 pm
by face_off
Hi. The format has changed.
- Changed OctaneChangePinValue command so the pin to be changed can be embedded in another pin, using the ':' separator. For example "OctaneChangePinValue camera:aperture 5", or "OctaneChangePinValue environment:texture:gamma 1", or "OctaneChangePinValue camera:fstop 3". See https://docs.otoy.com/Rhino/?page_id=711 for details.
Paul

Re: OctaneChangePinValue no longer work

Posted: Wed Aug 31, 2016 8:34 am
by formatio
Works like a charm!

Thanks,
Mac