How do I get ICE pointcloud particle Scale with script?


#1

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!


#2

pc.ICEAttributes


#3

Thanks for the reply!

Can you provide more details?


#4

Sorry, but what do you need to do ?
Could you please be more specific ?


#5

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!


#6

pc.ActivePrimitive.Geometry.ICEAttributes


#7

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.