View Full Version : How do I get ICE pointcloud particle Scale with script?
macrod 11-29-2010, 02:37 PM I have an ICE pointcloud, I set the Scale with a Set Data node (Self.Scale).
The following script can get a scale, but that is not the one I want:
set pc = ActiveSceneRoot.FindChild( , siPointCloudPrimType )
Application.LogMessage pc.sclx.value
Anyone can help me?
Thanks in advanced!
|
|
xsisupport
11-29-2010, 07:53 PM
pc.ICEAttributes
macrod
11-30-2010, 01:52 AM
Thanks for the reply!
Can you provide more details?
Polimeno
11-30-2010, 12:36 PM
Sorry, but what do you need to do ?
Could you please be more specific ?
macrod
11-30-2010, 01:11 PM
You see my 2 lines of code.
pc.sclx.value
pc: The pointcloud.
I want to get the Scale value at current frame.
The Scale is as you see clicking Explore button for a Set Data node.
Obviously, sclx does gives the value I need.
Thanks!
xsisupport
12-01-2010, 05:09 PM
pc.ActivePrimitive.Geometry.ICEAttributes
CGTalk Moderation
12-01-2010, 05:09 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.