Stefan B. Posted June 14 Share Posted June 14 Hello, I have no luck searching for this and hope there are some answers in this forum. Is it possible to create a PlugIn symbol(in my resource manager) from just a python script and have options like sliders and buttons to alter the symbol properties? Like from making marionettes into wrappers and convert to object node then plugin symbol. I find the marionettes constantly messing things up, and spitting out errors hard to interpenetrate and fix. Also, It is quite tedious to do records via marionette. 🙂 Quote Link to comment
Letti R Posted June 14 Share Posted June 14 Hello, a workaround i really like is to write the Python code for the object directly into one (or more) Marionette nodes. Because than you can easily add control options like sliders and buttons to the OIP of the Marionette node and you can easily convert the self written node into an object (like you did with Marionette networks), while having more control over the script in comparison to creating a Marionette Network. However this workflow might have some downsides that i am not aware of. Regards, Letti 1 Quote Link to comment
JBenghiat Posted June 14 Share Posted June 14 @Stefan B. You seem to be describing a plug-in object. You create the object via the Plug-in Manager, and insert via a tool (the object automatically generates an insertion tool) rather than the Resource Manager. PIOs can be point-based, which function very similar to symbols. 1 Quote Link to comment
Pat Stanford Posted June 14 Share Posted June 14 This thread has a tutorial on the steps to create a Point type PIO. What you do in the script for that PIO is an entirely different story. 1 Quote Link to comment
Stefan B. Posted June 17 Author Share Posted June 17 On 6/14/2024 at 4:43 PM, JBenghiat said: @Stefan B. You seem to be describing a plug-in object. You create the object via the Plug-in Manager, and insert via a tool (the object automatically generates an insertion tool) rather than the Resource Manager. PIOs can be point-based, which function very similar to symbols. I' might be the best solution, but then the workflow for inserting one of hundred of symbols is different. I would prefer to have a symbol of some kind in the same location as the other symbols to insert and behave like a hoist, truss, or marionette with settings in the OIP for adjusting how the object looks. A marionette does what i need, but I find it to throw out errors due to connection lines is deleted due to unknown reasons. And I figured I have more control with a script, but as far as i have read,to implement OIP control parameters i have to dive in to a undocumented world of SDK and events, yes? Why is not this functionality just a python package to import? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.