Jump to content
Sign in to follow this  
Paolo

Classes in PIO's

Recommended Posts

Is it possible to dinamically change a custom object menu displaying all available classes in the document?

The goal is to have specific plugin elements with classes choosen from the standard document list (not style-1, style-2, style-n prepared in the usual way in plugin parameters editor).I've tried to set the list in the menu at object creation (IsNewCustomObject), but when I attempt to change menu parameter values with SetRField (in a FOR cycle passing a class string at each loop), the result is the insertion of only the last value passed, not the entire list.

I fear this is not possible as I have never seen, till now, a plugin with such behaviour, but I'll be glad to be contradicted. smile.gif" border="0

Share this post


Link to post

Paolo,

If I understand you correctly. You can changethe classes attached to different object withina PIO. I don't quite understand how your trying to do it. Sorry I can't be more helpful.

Dave

Share this post


Link to post

That is a very good question indeed!

If I uderstand it correctly:

Is it possible to change the value-list of a PIO pop-up parameter from inside it?

Note: To chage a parameter's value is easy, what Paolo wants is to change the options that will appear on the pop-up at the Obj. Info Palette...

rgds,Alexandre

Share this post


Link to post

quote:

Originally posted by Alexandre B A Villares:
That is a very good question indeed!

If I uderstand it correctly:

Is it possible to change the value-list of a PIO pop-up parameter from inside it?

Note: To chage a parameter's value is easy, what Paolo wants is to change the options that will appear on the pop-up at the Obj. Info Palette...

rgds,Alexandre

-Yes, it is so, let's have, for example, a parametric chair in which legs material have a pop-up menu class where we may choice from one of the classes available on the drawing.

ciao,Paolo

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