public static MachineOp ActiveMOP(this CAMPart part)
 {
     return(part.FirstMOP());
 }
        //
        // Tools
        //

        public static ToolDefinition FirstTool(this CAMPart part)
        {
            MachineOp mop = part.FirstMOP();

            return(mop != null?mop.CurrentTool() : null);
        }
        public static MachineOp FirstMOP(this CADFile file)
        {
            CAMPart part = file.FirstPart();

            return(part != null?part.FirstMOP() : null);
        }