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

Boundaries of Custom Properties

2005-06-15       - By Aloys Baillet

 Back
Reply:     1     2     3     4     5     6  

This is wierd: I didn't find ANY way to reliably create a dynamic update of
the number of clusters...
I even used a bad trick to bypass the Access Denied error (by getting the
object by its full name string instead of getting it by the operator input,
I know this is forbidden!) and I actually can retrieve the number of
clusters in a scripted op.
But if the user creates a cluster, the scripted op is not called :( even if
I connect the cls property of the primitive.
Has Softimage a way to get around this limitation?


On 6/15/05, kim aldis <kim@(protected)> wrote:
>
> No, you're right. It just seemed to me that the refresh was enough and
> that the button was an added complicationg but from a user's point of view
> the button would be a more visible option.
>
>  -- ---- ---- ---- ---- ---- --
> *From:* owner-xsi@(protected) [mailto:owner-xsi@(protected)] *On
> Behalf Of *Aloys Baillet
> *Sent:* 15 June 2005 08:25
> *To:* XSI@(protected)
> *Subject:* Re: Boundaries of Custom Properties
>
> If the user add a cluster and wants to see the change in the PPG without
> having to refresh it, the button can do the job, am I wrong?
>
> On 6/15/05, kim aldis <kim@(protected)> wrote:
> >
> > surely, though, if you've built your layout and create your parameters
> > in the onInit callback then it does it all for you when the PPG is
> > refreshed. why would you need a button?
> >    
> >  -- ---- ---- ---- ---- ---- --
> > *From:* owner-xsi@(protected) [mailto:owner-xsi@(protected)] *On
> > Behalf Of *Aloys Baillet
> > *Sent:* 15 June 2005 01:28
> > *To:* XSI@(protected)
> > *Subject:* Re: Boundaries of Custom Properties
> >
> >  Hi here,
> >
> > PPGs are fully dynamic, that means you can allways add or delete
> > parameters whenever you want.
> > The only thing that's less dynamic is the Layout property of the PPG:
> > you can add items to it (mostly parameters and buttons) and you can clear
it
> > (delete ALL the items), that's all.
> >
> > If you want to add a parameter at run-time, create it with a prefix,
> > then call a function that clears the Layout and add all the items inluding
> > all parameters beginnin with the prefix you specified.
> >
> > The workflow I would try is:
> > Create the PPG with the basic parameters and a button to refresh the
> > number of clusters (bad news: user input is compulsory here).
> > In the OnInit, check the numbers of clusters of the parent geometry.
> >
> > Unfortunately it seems that there is no way to create a scripted
> > operator that can read the number of clusters of a geometry (all you will
> > get is an Access Denied error message). But I might have missed something!
> >
> > Good luck!
> >
> > Aloys
> >
> > --
> > Aloys Baillet - Character TD @ Animal Logic
> >
> >
>
>
> --
> Aloys Baillet - XSI Technical Director
> Character Dpt - Animal Logic
> --
>
>


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

This is wierd: I didn't find ANY way to reliably create a dynamic update of the
number of clusters...<br>
I even used a bad trick to bypass the Access Denied error (by getting
the object by its full name string instead of getting it by the
operator input, I know this is forbidden!) and I actually can retrieve
the number of clusters in a scripted op. <br>
But if the user creates a cluster, the scripted op is not called :( even if I
connect the cls property of the primitive.<br>
Has Softimage a way to get around this limitation?<br>
<br><br><div><span class="gmail_quote">On 6/15/05, <b class="gmail_sendername"
>kim aldis</b> &lt;<a href="mailto:kim@(protected)">kim@(protected)</a>&gt;
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb
(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">





<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"
>No, you're right. It just seemed to me that the refresh was
enough and that the button was an added complicationg but from a user's point
of
view the button would be a more visible option.</font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px;
margin-left: 5px; margin-right: 0px;">
 <div align="left" dir="ltr" lang="en-us">
 <hr>
 <font face="Tahoma" size="2"><span class="q"><b>From:</b> <a href="mailto
:owner-xsi@(protected)" target="_blank" onclick="return top.js.OpenExtLink
(window,event,this)">owner-xsi@(protected)</a>
 [mailto:<a href="mailto:owner-xsi@(protected)" target="_blank" onclick=
"return top.js.OpenExtLink(window,event,this)">owner-xsi@(protected)</a>] <b
>On Behalf Of </b>Aloys
 Baillet<br></span><b>Sent:</b> 15 June 2005 08:25<span class="q"><br><b>To:<
/b>
 <a href="mailto:XSI@(protected)" target="_blank" onclick="return top.js
.OpenExtLink(window,event,this)">XSI@(protected)</a><br><b>Subject:</b> Re:
Boundaries of Custom
 Properties<br></span></font><br></div><span class="q">
 <div></div>If the user add a cluster and wants to see the change in the PPG
 without having to refresh it, the button can do the job, am I wrong?<br><br>
 <div><span class="gmail_quote">On 6/15/05, <b class="gmail_sendername">kim
 aldis</b> &lt;<a href="mailto:kim@(protected)" target="_blank" onclick=
"return top.js.OpenExtLink(window,event,this)">kim@(protected)</a>&gt;
 wrote: </span>
 <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204,
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
   <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size=
"2">surely,
   though, if you've built your layout and create your parameters in the
onInit
   callback then it does it all for you when the PPG is refreshed. why would
   you need a button?</font></span><span><font color="#0000ff" face="Arial"
size="2"></font></span></div>
   <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size=
"2"></font></span>&nbsp;</div>
   <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size=
"2"></font></span>&nbsp;</div>
   <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size=
"2"></font></span>&nbsp;</div><br>
   <blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px
; margin-left: 5px; margin-right: 0px;">
     <div align="left" dir="ltr" lang="en-us">
     <hr>
     <font face="Tahoma" size="2"><b>From:</b> <a href="mailto:owner-xsi
@(protected)" target="_blank" onclick="return top.js.OpenExtLink(window,event
,this)">owner-xsi@(protected)</a> [mailto:<a href="mailto:owner-xsi@(protected)
.COM" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
owner-xsi@(protected)</a>] <b>On Behalf Of </b>Aloys
     Baillet<br><b>Sent:</b> 15 June 2005 01:28<br><b>To:</b> <a href="mailto
:XSI@(protected)" target="_blank" onclick="return top.js.OpenExtLink(window
,event,this)">XSI@(protected)</a><br><b>Subject:</b> Re: Boundaries of
     Custom Properties<br></font><br></div>
     <div><span>
     <div></div>Hi here,<br><br>PPGs are fully dynamic, that means you can
     allways add or delete parameters whenever you want.<br>The only thing
     that's less dynamic is the Layout property of the PPG: you can add items
     to it (mostly parameters and buttons) and you can clear it (delete ALL
the
     items), that's all.<br><br>If you want to add a parameter at run-time,
     create it with a prefix, then call a function that clears the Layout and
     add all the items inluding all parameters beginnin with the prefix you
     specified.<br><br>The workflow I would try is:<br>Create the PPG with the
     basic parameters and a button to refresh the number of clusters (bad news
:
     user input is compulsory here).<br>In the OnInit, check the numbers of
     clusters of the parent geometry.<br><br>Unfortunately it seems that there
     is no way to create a scripted operator that can read the number of
     clusters of a geometry (all you will get is an Access Denied error
     message). But I might have missed something!<br><br>Good
     luck!<br><br>Aloys<br><br>-- <br>Aloys Baillet - Character TD @ Animal
     Logic </span></div></blockquote></blockquote></div><br><br><br>-- <br
>Aloys
 Baillet - XSI Technical Director<br>Character Dpt - Animal Logic<br>--
</span></blockquote>

</blockquote></div><br><br><br>-- <br>Aloys Baillet - XSI Technical Director<br
>Character Dpt - Animal Logic<br>--