Applies to: ZWCAD 2015; ZWCAD 2017


  • Product variable:

  • Tells the name of product. Its value in original ZWCAD+ is “ZWCAD”.


  • VerAuth variable:

  • Tells the authority version. It would be PRO, STD or NONE.


  • Vernum variable:

  • Tells the version of ZWCAD.


  • Filedia variable:

  • Controls if a dialog will appear when users need to input file name.


  • LISP function “get-license-serial”:

  • Can get the activation information of ZWCAD.

    It returns like (1 "1F22DA9DB027308A" 0), which means:

    1. The first number means the type of activation. 1 is software activation; 2 is dongle; 3 is trial.
    2. The second string is an encrypted license code.
    3. The third number means the way to get activation. 1 is network version and 2 is standalone.


  • ZRX function “Zw_GetLicenseSerial”:

  • Serves a similar purpose as “get-license-serial”. In order to use this function, you should declare it in your program:

    int Zw_GetLicenseSerial(int* retType, char* Serial, int chkLock, int* retIsNet);

    The parameter chkLock controls if ZWCAD+ should read the dongle (if there is) when reading the information.