# 2.7.57 reimport

## Contents

File：ReImport / Re-import Directly

## Brief Information

Re-import the previously imported file

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) 

## 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.