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-14       - By Aloys Baillet

 Back
Reply:     1     2     3     4     5     6  

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

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