Jump to content
Sign in to follow this  
JoelS

Attach script to object?

Recommended Posts

Is there any way to attach a script to a selected object, activated perhaps by a double-click, modifier-click or contextual menu item?

Is there any type of object that supports this behaviour?

Thanks,

Joel.

VW 10.5>

Share this post


Link to post

Not that i've found.

Maybe you could wrap the object inside a PIO

then use buttons in the info palette.

Share this post


Link to post

> Maybe you could wrap the object inside a PIO

> then use buttons in the info palette.

I toyed with that but it's still a level of indirection that takes the immediacy from the interaction.

There might be a good case for a 'control' layer in VW documents that sits above all others, onto which script enabled objects could be placed for the user to manage many drawing-contextual tasks like navigation.

Thanks for your post.

Joel.

Share this post


Link to post

What you are describing sounds like a PIO.

Why not make it a custom object? You can

have it regen (or run the creation code) when

it is move, resized or rotated. If you place

parameters in the OIP you can then make it

totally flexible.

Patrick

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...