Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The configuration file maps the file locations and variables to be used on the Script. The file is divide in Inputs and Outputs sections. this is the way the variables are organized. And it contains default parameters, but also variable could be created.

{
  "Inputs": {
    "inputfileformat": "dwg",
      "script": {
        "scriptpath": "Script/Lisp.scr",
        "scriptformat": "scr",
        "scriptvariables": [{
            "name": "OutputFilePath",
            "value": "output/MyFile.dwg"
        }, {
            "name": "MYPOINT",
            "value": "0,0.10"
        }]
    },
    "templates": {
           "drawingtemplate": "templates/drawingtemplates/standardiso_mm.dwt",
           "drawingtemplateformat": "dwt"
    },
    "plugin": {
    	   "pluginfile": "LISPLOAD/Lisp/CLIRectangle.lsp",
    	   "pluginformat": "lsp",
    	   "pluginfolder": "CLIPlugin",
    }
  },
  "Outputs": {
    "outputfileformat": "dwg",
    "outputfilename": "MyFile.dwg"
  }
}

The configuration file maps the file locations and variables to be used on the Script.
The file is divide in Inputs and Outputs sections. this is the way the variables are organized. And it contains default parameters, but also variable could be created.

Inputs

Default parameters:

"scriptpath": "Script/Lisp.scr",
"scriptformat": "scr",

"templates": {
           "drawingtemplate": "templates/drawingtemplates/standardiso_mm.dwt",
           "drawingtemplateformat": "dwt"
    },

"plugin": {
    	   "pluginfile": "LISPLOAD/Lisp/CLIRectangle.lsp",
    	   "pluginformat": "lsp",
    	   "pluginfolder": "CLIPlugin",
    }

Outputs

Default parameters:

"outputfileformat": "dwg",
"outputfilename": "MyFile.dwg"

  • No labels