Returns true if the cluster has a base pose. The base pose is represented by a StaticKinematicState property.
oBoolean = Cluster.HasStaticKinematicState(); |
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 |