Lua in Plugins

Forums: Lua in Plugins
Forum for OctaneRender Lua scripting examples, discussion and support.

Lua in Plugins

Postby prehabitat » Wed Jul 16, 2014 12:07 am

prehabitat Wed Jul 16, 2014 12:07 am
I'm Certain this has been covered by either development logs for standalone or plugins, but unfortunately when searching for "Lua Plugins" using forums advanced search function with 'all terms' option enabled it still ignores "plugin" ...

Question: Can Lua scripts be accessed from within the plugins?

(namely Revit & Rhinoceros)


Thanks!
Win10/3770/16gb/K600(display)/GTX780(Octane)/GTX590/372.70
Octane 3.x: GH Lands VARQ Rhino5 -Rhino.io- C4D R16 / Revit17
prehabitat
Licensed Customer
Licensed Customer
 
Posts: 495
Joined: Fri Aug 16, 2013 10:30 am
Location: Victoria, Australia

Re: Lua in Plugins

Postby abstrax » Wed Jul 16, 2014 12:19 am

abstrax Wed Jul 16, 2014 12:19 am
prehabitat wrote:I'm Certain this has been covered by either development logs for standalone or plugins, but unfortunately when searching for "Lua Plugins" using forums advanced search function with 'all terms' option enabled it still ignores "plugin" ...

Question: Can Lua scripts be accessed from within the plugins?

(namely Revit & Rhinoceros)


Thanks!

No, the Octane's Lua scripting interface can't be interfaced by the plugins. The reason is that it wouldn't make much sense, because the node graphs are generated on-the-fly by the plugins and aren't static as in a Standalone project. You also can't see how they look like, how nodes are named etc. and their structure may change any time.

So in a nutshell: We can't see any use of Lua scripting in the plugins and therefor never exposed it in the API.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5141
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 1 guest

Thu Jul 02, 2020 10:16 am [ UTC ]