Docs

MaxCut Support Page

Learn how to get the most out of MaxCut with our comprehensive support articles. Find answers to common questions, step-by-step setup guides, and troubleshooting tips.

Command Line Integration with MaxCut

Training & Tutorials

Command Line Integration with MaxCut

Updated 1 week ago

MaxCut offers a straightforward Command-Line Interface (CLI), introduced on 15th April 2024 (version 2.9.2.0), that allows users to optimize their cutting plans and manage files through simple, scriptable commands.

The CLI offers several benefits for professionals who want to:

  • Automate repetitive tasks : By scripting commands, you can streamline file imports, optimizations, and exports without needing to manually open MaxCut.

  • Integrate with other software : Use MaxCut as part of a larger workflow, calling MaxCut functions from other tools or services.

  • Efficiently manage licenses : Activate or deactivate licenses without needing to navigate through the user interface.

In this article, we'll walk you through how to get started with MaxCut’s command-line capabilities and explain some key commands.

Key Commands and Options

Here’s an overview of some essential commands and options you’ll use when working with MaxCut from the command line:

General Usage

MaxCut.exe [command] [options] [arguments]

At any time, you can run MaxCut.exe --help to bring up a help message that lists all available commands and options.

1. Importing Files

The import command is used to import a job file into MaxCut. You can specify the format of the file and even choose to optimize the job as part of the process.

  • Options:

Long-Form

Short-Form

Description

--file

-f

Specify the path of the file you want to import

--format

-ft

Specify the format of the file (e.g., cabmaster, kdmax)

--optimize

-o

Automatically optimize the job after importing

  • Example :

MaxCut.exe import --format "cabmaster" --file "C:\path\to\file.csv" --optimize

2. Opening Job Files

The open command is used to open and optionally optimize an existing MaxCut job file.

  • Options:

Long-Form

Short-Form

Description

--file

-f

The job file to open

--optimize

-o

Optimize the job file upon opening MaxCut

  • Example :

MaxCut.exe open --file "C:\path\to\file.mc3" --optimize

3. Managing Licenses

MaxCut also allows you to manage license activation and details from the command line, offering more flexibility, particularly for administrators managing multiple machines.

  • Options:

Long-Form

Short-Form

Description

--activate

-ac

Activate a license using a provided license code

--deactivate

-de

Deactivate the current license

--details

-dt

Display the currently license details

--clear

-cl

Clear the license from the machine

  • Example :

MaxCut.exe license --activate "license-code"

4. Silent Installation

For administrators deploying MaxCut across multiple machines, the setup program supports a silent installation mode. This allows you to install MaxCut in the background without displaying the setup interface, and optionally prevent MaxCut from launching once the installation completes.

Options:

Option

Description

/quiet

Runs the installer in the background without showing any user interface

RUNMAXCUT=no

Prevents MaxCut from automatically launching at the end of the installation

Example:

maxcutsetup.exe /quiet RUNMAXCUT=no

This command is particularly useful when:

  • Installing MaxCut as part of an automated deployment script

  • Rolling out updates across multiple machines with minimal user interruption

  • Ensuring MaxCut only runs after you’ve configured licenses or job files via the CLI

Global Options

MaxCut’s CLI also includes a set of global options that can be used with any command:

Options:

Long-Form

Short-Form

Description

--help

-h

Display the help message

--version

-v

Display the version of MaxCut

By integrating MaxCut with your command-line workflows, you can unlock new efficiencies and scale your operations. Whether you're looking to automate tasks or manage your license with greater flexibility, the MaxCut CLI provides the tools to do it seamlessly.

For more detailed information on each command and further examples, you can always run MaxCut.exe --help to view the full range of capabilities.

Try it now! 

Example CLI Scripts & Resources

For practical examples of how to integrate MaxCut via the command line, click on the link or GitHub icon below to check out our official GitHub repository:

Image

This repository includes sample scripts, usage instructions, and best practices to help you get started with automating MaxCut workflows.

Previous

Create and Restore a Backup of your MaxCut Data

Next