RE: Self-installed custom operator not updating?

Date : Tue, 31 Oct 2006 16:53:38 -0500
To : <XSI(at)Softimage.COM>
From : "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
Subject : RE: Self-installed custom operator not updating?
Do you have verbose logging turned on? 

-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of Mathieu Leclaire
Sent: Tue 31 October 2006 4:52 PM
To: XSI(at)Softimage.COM
Subject: Self-installed custom operator not updating?

OK... maybe I'm not getting something but I'm doing something pretty
simple yet it doesn't work. I open the Plugin Manager and create a new
operator from the OperatorWizard. Lets say I keep the name MyOp and
chose the cpp language. I chose a directory. In connections, I chose the
sphere.polymsh as output and pick the global transform as the input. I
also check Always Evaluate from the code tab and then I generate the
code. In the code all I do is add the #include <xsi_kinematicstate.h>
and I compile it. Then I load the plug-in in XSI and run the command
ApplyMyOp(); ...so now I select the sphere and move it around and
logically from examining the code, when I move the sphere around, the
script editor should log "MyOp_Update called" as
Application().LogMessage(L"MyOp_Update called",siVerboseMsg); command is
in the MyOp_Update function. Yet nothing is being logged. Why is that?
It only logs the following when I call the ApplyMyOp(); command:

//INFO : 4000 - MyOp<426> Request Data frame(sec)=0.041667,
Outpolymsh(sphere.polymsh)
//INFO : 4000 - MyOp<426> Evaluate
//INFO : 4000 - MyOp<426> Evaluate frame(sec)=0.041667,
Outpolymsh=0xc782574, Inpolymsh=0xc782574

I'm confused on what I'm doing wrong. I was used to the spdl based
custom operators but those self-installed ones are giving me a hard
time. What am I doing wrong?



Mathieu Leclaire
R&D Programmer
Hybride Technologies

"There's only one way you can fail, and that's to quit."




---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


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.