Skip to main content

system.kanoa.tooling.getTools(paramsDict)

Returns tools (isTooling assets) with their tooling info, life counts and where each is mounted now.


Parameters​

paramsDict Dictionary: every key is optional

- toolingAssetIdInteger
- assetTypeIdInteger
- enabledBoolean
- assetIdIntegerOnly the tools mounted on this asset, at any depth
- mountableOnIntegerOnly the tools that can be mounted on this asset: those in its site, and those outside any site

Returns​

tools pyDataset: one row per tool, with isMounted, mountedOnAssetId / mountedInToolingAssetId, hostAssetId and mountedSince, and siteId / siteName (the site the tool belongs to; None outside any site)


Example​

paramsDict = {'toolingAssetId': 1, 'assetTypeId': 1, 'enabled': True, 'assetId': 1, 'mountableOn': 1}
tools = system.kanoa.tooling.getTools(paramsDict)