When setting NX AM Cura integration environment variables and using quotation marks to set a value (path), the system doesn't recognize the quotation marks making the integration to fail.
Example of use with quotation marks:
SET CURA_BASE_DIR="%ProgramFiles%\Ultimaker Cura 5.2.1"
SET CURA_USER_DIR="%APPDATA%\cura\5.2"
SET UG_APP_ADDITIVE_EXTERNAL_PRINTER_PATHS=%UGII_BASE_DIR%\mach\auxiliary\mfgam\CURA\MYV2EXTERNALPRINTER.dll
SolutionWorkaround is to remove quotation marks:
CURA_BASE_DIR=C:\Program Files\Ultimaker Cura 5.2.1
CURA_USER_DIR=C:\Users\user\AppData\Roaming\cura\5.2
UG_APP_ADDITIVE_EXTERNAL_PRINTER_PATHS= C:\Programs\NX\mach\auxiliary\mfgam\CURA\MYV2EXTERNAALPRINTER.dll