Cluster.HasStaticKinematicState
 
 
 

Cluster.HasStaticKinematicState operator

Description

Returns true if the cluster has a base pose. The base pose is represented by a StaticKinematicState property.

C# Syntax

Boolean Cluster.HasStaticKinematicState();

Scripting Syntax

oBoolean = Cluster.HasStaticKinematicState();

Return Value

Boolean

Examples

VBScript Example

set oCone = Application.ActiveProject.ActiveScene.Root.AddGeometry("Cone","MeshSurface")
set oCluster = oCone.ActivePrimitive.Geometry.AddCluster( siVertexCluster,"MyCluster",Array(3,1))
SelectObj oCluster.FullName
Translate , 0.000, 4.000, 0.000, siAbsolute, siView, siObj, siY
if oCluster.HasStaticKinematicState then
                logmessage "The cluster possess some Static KinematicState properties."
else
logmessage "The cluster does not possess any Static KinematicState properties."
end if

See Also

StaticKinematicState Cluster.GetStaticKinematicStates