Note in each example the filename is eventually surrounded by double-quote characters. This is an important step, as some file path strings contain spaces.
Of course, to script any Rhino command from a plug-in, your command class must be decorated with the CommandStyle(Style.ScriptRunner) attribute. But it looks like you already know this.
Thanks. Yes. Ive followed all examples I could find but no result. Adding the extra slash cured it. Stumped if I know why though. However. Its solved now.
If there is something youd like me to test let me know. Im using rhinocommon 5 from the website and running latest rhino5 release candidate.
Hi everyone! I was calling a method(contains export run code) from the script runner command. But caller command was not defined as script runner and I faced the exact error which @ChristopherBotha explained. So If you call the export containing method from another command be sure that the caller command is defined as script runner too.