Jump to content
Developer Wiki and Function Reference Links ×

Customizing Spotlight Plugins


Recommended Posts

Curious if it's possible to Customize Spotlight (or any other included, standard) plugins that come with the Vectorworks suites, beyond just adding parameters.

I see that it's possible to add additional parameters to the plugin records. I'm using this for instance with the LED Screens plugin. I've added a weight parameter and I can now calculate the weights of the screens directly in my worksheets. That's great, however, I'd like to extend my customized LED Screen plugin with actual code too!

Currently the plugin only works with labels in the 2D View. In this case I'd like to create a 3D label that is added to the LED Screen in 3D, in addition to the standard functionality. Ideally I'd like to execute code after the rest of the plugin is done generating the geometry. It'd be great if this was part of the "Customized" plugin itself. However, if that's not possible, what about a second script that comes in after the fact and adds the 3D label to all of my LED plugins?? I guess that would work, I'd just have to iterate through the drawing and search for plugins records that match the LED Screen Record, correct? Would I be able to add my geometry inside the individual LED Screen PIO's, or would they have to be outside that PIO geometry?

Thanks for any insight

Link to comment
Would I be able to add my geometry inside the individual LED Screen PIO's, or would they have to be outside that PIO geometry?

Justin -

You won't be able to add geometry within the existing PIO instance. At first glance, you'd have to do one of 2 things:

1) Create a script that searches the model, grabs suitable data, and places the desired text on the Working Plane adjacent to the PIO instances.

2) Create a PIO that places an LED Screen instance and the desired text. The LED Screen instance and your text would then be "internal" to that new PIO.

That help, at all?

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