Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
<Script > PPG_OnChanged Not Called when applying an Expression

<Script > PPG_OnChanged Not Called when applying an Expression

2005-06-27       - By Hans,Veenendaal,AMplus R&D,SOJ

 Back
Hi All,

Self installing plugins question.

Is there any way to access the Property Values from the "def
*_DefineLayout( context ):"  function in python?
PPG gives me "NameError: global name 'PPG' is not defined" error.

I would like to hide or show parameters depending on values of other
parameters
I would like to change tab names depending on the parent type.

Currently I connect one hidden parameter of the PPG to a parameter in
the parent through an Expression, but for some reason XSI doesn't call
the appropriate _OnChanged to update the layout function when the
Expression is applied.

The OnChanged function works fine for UI changed parameters, but it
doesn't seem to work through an Expression.

Does anybody know how to work around this, or has any suggestions on
what I might be doing wrong?

Thanks,
Hans.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=203525304-27062005><FONT size=2>Hi All,</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>Self installing plugins
question.</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>Is there any way to access the
Property Values from the "def *_DefineLayout( context ):" &nbsp;function in
python?</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>PPG gives me "NameError:
global
name 'PPG' is not defined" error.</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>I would like to hide or show
parameters depending on values of other parameters</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>I would like to change tab
names depending on the parent type.</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>Currently I connect one hidden
parameter of the PPG to a parameter in the parent through an Expression, but
for
some reason XSI doesn't call the appropriate _OnChanged to update the layout
function when the Expression is applied.</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>The OnChanged function works
fine for UI changed parameters, but it doesn't seem to work through an
Expression.</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005></SPAN><SPAN
class=203525304-27062005></SPAN><SPAN class=203525304-27062005><FONT
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>Does anybody know how to work
around this, or has any suggestions on what I might be doing
wrong?</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=203525304-27062005><FONT size=2>Hans.</FONT></SPAN></DIV>
<DIV><FONT face="&#65325;&#65331; &#65328;&#12468;&#12471;&#12483;&#12463;"
size=2></FONT>&nbsp;</DIV></BODY></HTML>