Rhinoscript documentation error - ObjectPrintColorSource

Hi,
Just to flag this inconsistency.
The rhinoscript syntax menu help for:
Rhino - RhinoScriptSyntax is missing “2 - By Display”. Shown in this version here, and accepted as an input for the rhinoscript function ObjectPrintColorSource:
ObjectPrintColorSource

Took me quite some time to ‘debug’ my code yesterday to change print source to ‘by display’, as the rhinoscript documentation and the in-line script prompt did not indicate this.

Please if you can review and fix for future.
Thanks,
Charlie

Yeah, that definitely looks like an oversight… @dale ?

Hi @charlie_stoessiger,

Here are the correct print color source values.

https://developer.rhino3d.com/api/rhinocommon/rhino.docobjects.objectplotcolorsource

Does this help?

– Dale

Hi Dale,
Yes, this is correct, thanks - it just needs fixing up in the rhinoscript syntax documentation (missing ‘By Display’ option)

It’s just the help article that needs to be fixed.

https://mcneel.myjetbrains.com/youtrack/issue/RH-85894

1 Like