Why Coordinate X Y Z changed for the first operation after adding "create_tool_list" procedure in postbuilder?
Solution
The operation type of the last operation in the group subject to be processed is of "Planar Milling". When creating the tool list, ShopDoc mechanism cycles through all operations in the group, it leaves the state of mom_operation_type at the last operation's; then post continues to process the output for the 1st operation.
To resolve this, add "lappend mom_sys_oper_tool_attr_list mom_operation_type" in the custom command "PB_CMD_save_active_oper_tool_data".
Notes