Paolo Posted May 30, 2002 Share Posted May 30, 2002 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. Quote Link to comment
Fuge Posted May 30, 2002 Share Posted May 30, 2002 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 Quote Link to comment
Alexandre Villares Posted May 30, 2002 Share Posted May 30, 2002 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 Quote Link to comment
Paolo Posted May 31, 2002 Author Share Posted May 31, 2002 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 Quote Link to comment
Recommended Posts
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.