2.7.68 reimport

Menu Information

File:ReImport / Re-import Directly

Brief Information

Re-import the previously imported file

Additional Information

Minimum Origin Version Required: 8 SR0, updated in 8.6 SR0

Command Line Usage

1. reimport dialog:=direct;

2. reimport sel:=1; //After using an X-Function to import the structure of a third-party file, use this script to re-import a selected data range (i.e., data in an active window)

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Show XF dialog dialog

Input

int

direct

Specify whether to re-import the data directly or by changing options.

  • direct:Re-Import Directly
    If selected, the data file will be re-imported directly.
  • options:Re-Import by Changing Options
    If selected, the corresponding dialog will be opened, allowing you to change settings for re-importing data.
Output orng

Output

Range

<active>

Specify the output range of re-imported data.

See the syntax of Output Notations.

ReImport Selected Range Only sel

Input

int

0
Some X-Functions for importing third party files (e.g., impHDF5, impNITDM, impMDF) include an Import Structure Only option. If the data files are imported by these X-Functions, and the Import Structure Only option is enabled, this variable can be used to re-import the selected range only by setting to 1.

Description

When you import a dataset and make changes to it, you can use this X-function to access the original version. You can also use this X-Function to re-import the selected data range for some third party data files.

  • Menu
    1. File: Re-import Directly: Use the import options saved in the worksheet to import the file again. This is useful when the content of a particular file changes over time.
    2. File: Re-Import...: This menu command brings up the import X-Function dialog, letting you change the import options and re-import the file with the new import options.

Related X-Functions

impASC, impCSV


Keywords:worksheet