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 mark wilson

 Back
Reply:     1     2     3     4     5     6  

Hi,

Why would you use a scripted op to get the number of clusters anyway? I managed
to do this easily enough without using an scop. Sorry if I missed something.

I have got it all working nicely now, its not completely flexible, but fits
into our pipe wel enough. The problem I had was storing animated params if you
rebuild the interface all the time. Its a bit tricky. Anyway, sorted now.

Mark

__ ____ ____ ____ ____ ____ ____

From: owner-xsi@(protected) on behalf of Aloys Baillet
Sent: Wed 15/06/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