Skip to main content

system.kanoa.tooling.setFixed(toolingAssignmentId, isFixed, userId)

Marks a tool in a pocket as fixed (it moves with its parent and stays when the parent is unmounted with removeInserts) or interchangeable.


Parameters​

toolingAssignmentId Integer: The child tool's open assignment

isFixed Boolean: Fixed or interchangeable

userId Integer: The user making the change


Returns​

(1, message)


Example​

toolingAssignmentId = 1
isFixed = True
userId = 5
result1, result2 = system.kanoa.tooling.setFixed(toolingAssignmentId, isFixed, userId)