Jump to content
Developer Wiki and Function Reference Links ×

Marionette to Tool Giving me error.


Nora

Recommended Posts

Hiya, I have made a callout tool using the marionette feature in Vectorworks, and running that as a wrapped network does what I want it to, as well as converting it to a node object.

But when I convert it to python script, and then copy and paste it as the script for a PIO, it gives me an error when I try to place it on the design layer.

 

Quote

Error: Invalid number of parameters to the callback function. : index = 1 name=p

File "<string>", line 11202, in <module>

File "<string>", line 10552, in RunNode

File "<string>", line 6417, in RunNode

File "<string>", line 1, in <module>

 

I don't know anything about python or vectorscript, and I've just taught myself the marionette in the last day or two, so I'm very fresh and looking for help.

I have attached the python script and the marionette.

 

Anyway thanks for reading I'm happy to hear any help.

 

Cheers,
Nora

GPO Callout Script V01.txt GPO Callout test.vwx

Link to comment

Hey Pat,

 

I couldn't really get the marionette to work for me, other than converting to object node and saving as a symbol, but that didn't feel like a great solution to me and I couldn't get as far as I wanted to anyway.

 

But hey, it lead me to learning to code for the first time and I've almost recreated it in vectorscript!

 

Cheers,
Nora

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...