public static ToolDefinition ActiveTool(this CADFile file)
        {
            CAMPart part = file.ActivePart();

            return(part != null?part.ActiveTool() : null);
        }
        public static MachineOp ActiveMOP(this CADFile file)
        {
            CAMPart part = file.ActivePart();

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