Salome HOME
c1c604d7ea1129ea6268c84e58833284d96e3dba
[modules/shaper.git] / src / ExchangePlugin / doc / importFeature.rst
1
2 Import
3 ======
4
5 The feature Import allows to import an external file into a current study.
6
7 It is possible to import files in following formats: BREP, STEP, IGES, XAO. To import a file into active part:
8
9 #. select in the Main Menu *Part - > Import* item  or
10 #. click **Import** button in the toolbar.
11
12 .. image:: images/import.png
13    :align: center
14
15 .. centered::
16    **Import**  button 
17
18 The following property panel will be opened:
19
20 .. image:: images/Import_panel.png
21    :align: center
22         
23 .. centered::
24    **Import property panel**
25
26 In this panel it is possible to enter a file name directly into input field or press **'...'** button and browse it with help of import file dialog box:
27
28 .. image:: images/OpenFileDlg.png
29    :align: center
30         
31 .. centered::
32    **Import file dialog box**
33   
34 **Apply** button imports the file.
35   
36 **Cancel** button cancels operation.
37
38 **TUI Command**: *model.addImport(Part_doc, FileNameString)*
39
40 **Arguments**: Part + file name string.
41
42 Result
43 """"""
44
45 The Result of the operation depends on content of imported file.
46
47 .. image:: images/FileImported.png
48            :align: center
49                    
50 .. centered::
51    Import of BREP file.
52
53 **See Also** a sample TUI Script of a :ref:`tui_import_file` operation.