system.kanoa.tooling.getCompatibilityRules(paramsDict)
The fit rules (mes.toolingCompatibility): where a tool may be mounted. A rule is for one tool, or for every tool of a tooling type, and names one parent: a machine, a tool that holds inserts, or an asset type. A tool with no enabled rules (its own or its type's) fits anywhere; once it has one, it only mounts on a parent one of them names.
Parameters
paramsDict Dictionary
| - toolingAssetId | Integer | The rules that apply to this tool, its own and its type's |
| - assetTypeId | Integer | The rules for this tooling type |
| - enabled | Boolean |
Returns
rules pyDataset: toolingCompatibilityId, ruleFor ('tool' or 'type'), childToolingAssetId, childToolingName, childAssetTypeId, childTypeName, childName, parentKind ('tool', 'asset' or 'type'), parentToolingAssetId, parentToolingName, parentAssetId, parentAssetName, parentAssetPath, parentAssetTypeId, parentTypeName, parentName, enabled, createdBy, createdDate, changedBy, changedDate. The tool's own rules come first.
Example
paramsDict = {'toolingAssetId': 1}
rules = system.kanoa.tooling.getCompatibilityRules(paramsDict)