[Artwork] / [QisMLib]

QisMCmdCS (.NET Standard 2.0)

Welcome to the reference page for QisMCmdCS, a C# interface to QisMLib, Artwork Conversion's CAD processing framework.

The framework can be driven by a scripting system: plain text commands that load layout files and run operations on them. QisMCmdCS lets a program written in C#, Microsoft's programming language for the .NET platform, send those same commands and scripts to the framework and read back the results. It is built for .NET Standard 2.0, a common baseline that lets one library work across different .NET runtimes. It has three jobs:

  1. Start and stop the framework once per application, choosing at start-up which extensions to load, where to write a log file, and which licensing method to use.

  2. Run a single command or an entire script file, list the commands available, and pass values and object handles between your program and the scripting system through named variables.

  3. Report what happened: retrieve the log of the last command, look up human-readable and program-friendly descriptions of error codes, and register your own error conditions.

This page is the complete reference for the interface. Here is what you will find, in the order it appears:

If you are new, read the entry point first to see how a session begins and ends, then the command interface for what you can do in between.


QisMCmd C# API

interface QisMCmd

Represents the interface to execute QisMLib commands and script

Get_extension_report

Get a report of all the extensions loaded in the system

Add_var

Add a string variable to the scripting system

Get_var

Get the value associated with a string variable

Remove_var

Remove a variable from the scripting system if it exists

Run_script

Run a script defined in a text file

Run_command

Run a single QisMLib command

List_commands

Get a list of commands currently available

Log_msg

Log_msg_ln

Get_cmd_log

Get the log for the last command as a multi-line string

Get_error_msg

Get a human-readable description for an error condition represented by ecode

Get_error_tag

Get a program-friendly string-code for the error condition represented by ecode

Get_error_context

Reserved for future/internal use

Add_handle

Add an object handle to the scripting system

Get_handle

Get the handle associated with a string variable

Remove_handle

Remove a handle from the scripting system if it exists

static class QisMCmdAPI

Represents the primary interface to use QisMLib from the C#/.NET environment

Init Options

Various optional parameters to be used during initialization

OPT_CFG_S

Specify the config. file to be used

OPT_LOG_S

Generate a new log file using QisMLib's logging API

OPT_LOGA_S

Append to an existing log (or create a new one) using QisMLib's logging API

OPT_ACSV_S

Specify a vendor string to use trusted (OEM) licensing

OPT_ACSP_S

Specify the key file to use trusted (OEM) licensing

OPT_STDLOG

Enable logging to stdout from within QisMLib

Get_version

Get_error_msg (QisMCmdAPI)

Get a human-readable description for an error condition represented by ecode

Get_error_tag (QisMCmdAPI)

Get a program-friendly string-code for the error condition represented by ecode

Get_error_context (QisMCmdAPI)

Reserved for future/internal use

Set_error

Register an error condition with the QisMLib error system

Get_script_usage

Get usage information from a script file

Initialize_once

Initialize the QisMLib ONCE during the life of an application

Close_once

Close QisMLib ONCE during the life of an application

QisMCmd (.NET Standard 2.0) Licensing

Product name : QisMLib License code : 11003

QisMCmd (.NET Standard 2.0) Version History

qismcmd_cs_s20 dll v1.1 03-2025

qismcmd_cs_s20 dll v1.0 03-2024


ARTWORK CONVERSION SOFTWARE, INC.
509 N. Sepulveda Blvd. Suite 201 Manhattan Beach, CA 90266  tel: 831.426.6163  email: info@artwork.surf

Last Updated -- Thu Oct 1 17:56:10 UTC 2026