Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / XSI SDK / Accessing collection of sources from CP PPGEvent method.
  RSS 2.0 ATOM  

Accessing collection of sources from CP PPGEvent method.
Rate this thread
 
30194
 
Permlink of this thread  
avatar
  • mslaf
  • Posted: 06 March 2009 07:26 AM
  • Total Posts: 71
  • Joined: 10 December 2008 05:47 AM

How to access multiple properties, that are displayed as [multi] group in a single dialog box, from the property’s PPGEvent method?

Initially, I thought that this method is invoked separately for each property, but it seems that it’s invoked only once. Therefore the PPGEventContext::GetSource returns only the first property from the collection of properties used as the source for the inspection dialog.

I’d like to have a button on a custom property and I’d like it to execute a command that processes all properties that are inspected in the dialog window. How to get the list of these properties?



Replies: 0
avatar

In scripting you can use PPG.Inspected… but in C++ (as far as I can tell) you’re out of luck.  I’d love to hear if anybody has a clean workaround…

micah



Replies: 0