rs3.entities.BaseEntity module#

class rs3.entities.BaseEntity.BaseEntity(client: Client, objectID: str, service, propertyCls: Type[TProperty])#

Bases: _ProxyObject, Generic[TProperty]

setName(name: str)#
getName() → str#
setGrouping(stageNum: int, groupName: str)#

Assign group to the given stage by the group name. To ungroup the material, “Ungrouped” should be used as the groupName.

getGrouping(stageNum: int)#
setProperty(value: TProperty)#

Assigned support properties to the corresponding support entities.

getProperty() → TProperty#

Get the support properties used on the selected support entity.

setInstallationStageByStageName(value: str)#

Set the installation stage.

setInstallationStageByStageNumber(value: int)#

Set the installation stage.

getInstallationStage() → int#

Get the installation stage (not stage index).

setRemovalStageByStageName(value: str)#

Set the removal stage. “Never” means the entity will not get removed.

setRemovalStageByStageNumber(value: int)#

Set the removal stage. -1 means the pile will not get removed.

getRemovalStage() → int#

Get the removal stage (not stage index). If the value is -1, it means the entity will not get removed.