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?
 
Scripted op refresh

Scripted op refresh

2004-05-06       - By Felix Gebhardt

 Back
Reply:     1     2     3  


Other than that you have to connect the curve's primitive to the SCOP.
GetCurveLength is not an Object Model function but a command. This is
generally not allowed in SCOPs. Don't get confused by it working sometimes.
I strongly suppose it does no good to the scene graph and is likely to crash
XSI or at least acting weired.

Use this instead.
Out.value = inPrim.valueGeometry.Length./ 10

Good luck,
F.


kim aldis wrote:
> this is typical behaviour when you have a dependancy cycle. Normaly you
> shouldn't need anything to force an update, although sometimes you do.
> I've always found it enough to just add a single keyframe on a parameter.
> This is the normal way of doing this.
>
>
>   __ __
>
> From: owner-xsi@(protected) [mailto:owner-xsi@(protected)] On Behalf
> Of Dan Hope
> Sent: 06 May 2004 13:02
> To: XSI@(protected)
> Subject: Scripted op refresh
>
>
> I've got a really annoying problem that I can't sort out....
>
> I've set up a scripted op on the "scaling along curve" parameter of a
> cylinder deformed along a curve...it goes something like this:
>
> getcurvelength "crvlist", MyLength
> Out.Value = MyLength/10
>
> I then have a variable with an expression "Fc" set to force an update of
> the script at every frame.
>
> My problem is that it appears to evaluate the expression when exiting the
> frame, meaning that the length of the cylinder is always one frame behind
> the curve. How do I get them to be in sync?
>
> Bearing in mind this is my first scripted op, please, be gentle....none of
> this "personally I'd script it better" please....you know who you are ;o)
>
> Ta
>
> Dan
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __

---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi