Python scripting OLP - Objects

CENPyOlpActor

Previous  Chapter  Next

 

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
Previous page
Chapter
Chapter page
Next
Next page