Python scripting OLP Core - Objects

OlpCorePythonResource, derived from OlpCorePythonItem

Previous  Chapter  Next

Methods

 

GetItemType(): ItemType

 

 

o

return

item type

 

Gets item type of this resource.

 


 

GetItemSubType(): ItemSubType

 

 

o

return

item subtype

 

Gets item subtype of this resource.

 


 

GetSupportedTurns(): list[str]

 

 

o

return

returns all supported turns on this resource as list of strings

 

Gets all supported turns on this resource if the resource is a machine or robot

 


GetSupportedConfigurations(): list[str]

 

 

o

return

returns all supported configurations on this resource as list of strings

 

Gets all supported configurations on this resource if the resource is a machine or robot

 



Previous
Previous page
Chapter
Chapter page
Next
Next page