Python scripting - Objects

CENPyOlpActor

 

Methods

 

GetName(): string

 

o

return

the actor name

 

Returns the actor name

 

[Example]   

   actorName = actor.GetName()

 


 

GetResourceName(): string

 

o

return

the parent resource name of this actor

 

Returns the parent resource name of this actor

 

[Example]

   actorResName = actor.GetResourceName()

 


 

AskItemType(): FSItemType

 

o

return

the parent Item type

 

Returns the parent Item type

 

[Example]

   itemType = actor.AskItemType()

 


 

AskItemSubType(): ItemSubType

 

o

return

the parent Item sub type

 

Returns the parent Item sub type

 

[Example]

   itemSubType = actor.AskItemSubType()


 

GetNumberOfAsynchronousJoints(): int

 

o

return

The number of main and external joints

 

Returns the number of asynchronous joints of the item to  

 which the actor belongs. These joints are the ones used by joint actors.

 

[Example]

   numAsyncJoint = actor.GetNumberOfAsynchronousJoints()

 


Previous
Page précédente
Chapter
Page principale du chapitre
Next
Page suivante