ChainBone

Object Hierarchy | Related C++ Class: ChainBone | Supported Parameter List: bone

Inheritance

SIObject
  ProjectItem
    SceneItem
      X3DObject
        ChainElement
          ChainBone

Introduced

1.5

Description

The ChainBone object is part of a skeleton chain.

Methods

Add2DChain

Add3DChain

AddCamera

AddCameraRig

AddChild

AddControl

AddCustomOp

AddCustomProperty

AddFxTree

AddGeometry

AddLattice

AddLight

AddLightRig

AddMaterial

AddModel

AddNull

AddNurbsCurve

AddNurbsCurveList

AddNurbsCurveList2

AddNurbsSurface

AddNurbsSurfaceMesh

AddNurbsSurfaceMesh2

AddParticleCloud

AddPolygonMesh

AddPrimitive

AddProperty

AddScriptedOp

AddScriptedOpFromFile

AnimatedParameters

AnimatedParameters2

ApplyEnvelope

BelongsTo

EvaluateAt

FindChild

FindChildren

GetModels2

GetStaticKinematicState

HasStaticKinematicState

IsA

IsAnimated

IsAnimated2

IsClassOf

IsEqualTo

IsKindOf

IsLocked

IsNodeAnimated

IsSelected

LockOwners

NodeAnimatedParameters

RemoveChild

RemoveFromParent

SetAsSelected

SetCapabilityFlag

SetLock

SetMaterial

ShapeAnimatedClusters

TaggedParameters

UnSetLock

 

 

Properties

ActivePrimitive

Application

BranchFlag

Capabilities

Categories

Children

Effector

Envelopes

Families

FullName

Help

Index

Joint

Kinematics

LocalProperties

LocalRotation

LocalScaling

LocalTranslation

LockLevel

LockMasters

LockType

Material

Materials

Model

Models

Name

NestedObjects

Origin

OriginPath

Owners

Parameters

Parent

Parent3DObject

PPGLayout

Primitives

Properties

Root

Selected

Type

 

Examples

VBScript Example

'VBScript example
'effector for first bone
set oEff1 = XSIMath.CreateVector3()
oEff1.x = 3
oEff1.y = 3
oEff1.z = 3

'effector for second bone
set oEff2 = XSIMath.CreateVector3()
oEff2.x = 6
oEff2.y = 0
oEff2.z = 0

'construct skeleton
set oRoot = ActiveProject.ActiveScene.Root
set oChain = oRoot.Add3dChain()
set oBone1 = oChain.AddBone(oEff1)
set oBone2 = oChain.AddBone(oEff2)

'get the root
set oChRoot = oChain.Root
oChRoot.AddBone Array(10, 0, 0)
LogMessage oChRoot.Name
LogMessage typename(oChRoot)

for each oBone in oChRoot.Bones
   LogMessage "Name of bone: " & oBone.Name & " class: " & typename(oBone)
next

See Also

ChainRoot

ChainEffector

ChainRoot.AddBone



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index