Jump to content

Creating a basic Object


Recommended Posts

I'm quite comfortable now creating scripts with custom dialogs that execute some kind of process and distributing them as VSMs.

But as much as I read the function reference, I can't get my head around creating a basic parametric object.

 

Like with menu command scripts, I think once I've got a small simple example I understand, I can expand it up to useful applications.

 

Is there such a think as a boilerplate example, please, that can do something simple like draw an 'example' object from a tool, that has one or two parameters to adjust in the shape pane?

 

Thanks

Link to comment

These are plug-ins written in VS in a forum about python.  😛

 

But I think the simple ones will translate directly.  Just add vs. to the functions and throw away the variable declarations.

 

Python IF statements are just slightly different, but I think you will be able to follow.

 

Post back if you have questions.

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...