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