Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interactive Groom Splines: access to Length attribute via expressions.

Interactive Groom Splines: access to Length attribute via expressions.

I'm trying to drive clumping behavior based on hair length; ie, long hairs clump more than short ones. There's a great example in the help files using this code:

 

$a =$cLength;
$max =7.00; #0.00,10.0
clamp($a,0,$max)

 

However, this throws an error, as it's using $cLength, which (according to the help docs) isn't available for Xgen Interactive groom, though the $cWidth parameter is.

 

"$cLength  The final, computed length of the current primitive.

 $cWidth The final, computed width of the current primitive.   Note: Supported by Interactive Grooming Splines. "

 

Double checked with support, and right now, there's no way to drive anything based on the length of the IGS primitive. However, it works fine in regular XGEN. 

 

Please please let us at this variable. 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report