X3DObject.HasStaticKinematicState operator

Description

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

Scripting Syntax

oBoolean = X3DObject.HasStaticKinematicState();

Return Value

Boolean

Examples

VBScript Example

NewScene , false
set oRoot = Application.ActiveProject.ActiveScene.Root
set oNull = oRoot.AddPrimitive( "Null","MyNull")
oNull.Kinematics.Global.Parameters("posy").Value = 6.0
set oCube = oRoot.AddGeometry("Cube","MeshSurface")
set oEnv = oCube.ApplyEnvelope(oNull)
if oCube.HasStaticKinematicState then
        Application.LogMessage "The X3DObject has a StaticKinematicState property."
else
        Application.LogMessage "The X3DObject does not have a StaticKinematicState property."
end if
' Expected results:
'INFO : The X3DObject has a StaticKinematicState property.

See Also

StaticKinematicState X3DObject.GetStaticKinematicState