IMPORTATION_PARAMETERS
Specify the parameters sent to the corresponding importer or exporter so that the configuration dialog box does not appear when importing or exporting a file of that type.
Parameters
| Parameter number | Description | Optional |
|---|---|---|
| 1 | Format extension, including the leading period (for example, .asc), or the path to a file with that extension (for example, e:\trabajos\a.asc). |
No |
| 2 | Values passed to the importer/exporter, in the order it expects. | No |
The first parameter determines which importer or exporter to configure (from the extension); the remaining parameters contain the specific values accepted by that format, described on each format's page under Importers and exporters.
Notes
By default, when you open or import a file (for example, with LOAD_F), the configuration dialog box appears for you to specify format parameters. To skip it, or to import/export from the command line, first define these values with IMPORTATION_PARAMETERS.
Syntax:
IMPORTATION_PARAMETERS=<extensión o ruta> <valores del importador>
For example, to make the Digi ASCII exporter (extension .asc) write coordinates with 4 decimal places:
IMPORTATION_PARAMETERS=.asc 4
Specify values separated by spaces, without quotation marks even when there are several. For example, for BIN:
IMPORTATION_PARAMETERS=.bin 3 1000 2000 0
Run the desired import or export command (IMPORT, EXPORT, or LOAD_F) after IMPORTATION_PARAMETERS:
EXPORT=C:\prueba.dxf
LOAD_F=C:\fichero.dgn
See also
- Importers and exporters — available formats and the parameters each accepts.
Command characteristics
| Command type | Immediate command |
|---|---|
| Repeats automatically | No |
| Menu option | This command has no associated menu option |
| Toolbar | This command has no associated toolbar button |
| Extension | DigiNG.OrdenesStandard.dll |
| Implementation | Native |
| Related variables | No related variables |
| Related commands | LOAD_F EXPORT IMPORT |
| Internal name |