Re: PPGEventContext Object "Inspected" & "InspectedObjects"

Date : Thu, 5 Oct 2006 15:47:49 +0900
To : XSI(at)Softimage.COM
From : "Andrea Padovan" <xsidriller(at)gmail.com>
Subject : Re: PPGEventContext Object "Inspected" & "InspectedObjects"
Hi Aloys,
 
I think so too. Today I'm losing my time for ""ridiculous"" thing...
Anyway, this dam "PPG.Inspect" property is extremely useful working with multi inspected
PPGs using actual programming interface, I can not understand why Softimage didn't
put this "extremely useful" property in PPGEventContext object. Ridiculous.
 
Maybe... is there a way to get all inspected PPG ?
PPGEventContext.GetSource()  or CustomProperty prop( Context(in_ctx).GetSource() )
return me only the first PPG...
 
thx again.
 
Andrea
 
2006/10/5, Aloys Baillet <aloys.baillet(at)gmail.com>:
Hi Andrea,

PPGEventContext.GetSource() should return the CustomProperty object:
CustomProperty prop( Context(in_ctx).GetSource() );

And the PPGEvent callback will be called for each inspected property where the event is relevant.
I wish the scripting PPG Event callbacks could use the same scheme instead of the ugly PPG global variable...


Cheers,

Aloys



On 10/5/06, Andrea Padovan <xsidriller(at)gmail.com > wrote:
Hi to all,
 
I'm converting a scripted CustomProperty to C++, somebody know the equivalens
PPG.Inspected(); or PPG.InspectedObjects(); command in C++ ?
 
SDK Documentation says:
<<Note: The equivalent object in the C++ API is called PPGEventContext.>> but...
 
is there a solution ?
Thank you very much for any hit.
 
--
アンドレア パドヴァン
Andrea Padovan

Tools Designer (at)
SEGA CORPORATION
AM R&D Dept.#1 Arcade Team
AM R&D Div.
http://www.sega.co.jp/
Blr. Founder
http://www.borderliner.it
Currently located in Tokyo Japan



--
Aloys Baillet - XSI Technical Director
Character Dpt - Animal Logic
--

Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.