**Import property panel**
The first combobox provides the list of formats avalables (BREP, XAO, IGES or STEP).
-
The **Import to** combobox provides the list of destinations (one of existing Parts or a new Part).
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:
:align: center
**Dialog box to import CAD-neutral format**
-
Import BREP, XAO, IGES
""""""""""""""""""""""
In case of first choice the format of imported file will be defined according to file extension.
-
+
**Apply** button imports the file.
**Cancel** button cancels the operation.
Import of BREP file.
-Import pictures
------------------------
-
-It is possible to import pictures in the following image formats: GIF, TIFF, PNG, JPG, JPEG, BMP, PPM, JPE.
-To import a file into active part select in the Main Menu *File -> Import -> Picture...* item.
-
-Result
-""""""
-
-.. figure:: images/imageImported.png
- :align: center
-
- Import of PNG image file.
-
**See Also** a sample TUI Script of :ref:`tui_import_file` operation.
Import of STEP file.
**See Also** a sample TUI Script of :ref:`tui_import_file_step` operation.
+
+
+Import pictures
+"""""""""""""""
+
+It is possible to import pictures in the following image formats: GIF, TIFF, PNG, JPG, JPEG, BMP, PPM, JPE.
+To import a file into active part select in the Main Menu *File -> Import -> Picture...* item.
+
+Result
+""""""
+
+.. figure:: images/imageImported.png
+ :align: center
+
+ Import of PNG image file.
+
+**See Also** a sample TUI Script of :ref:`tui_import_file` operation.
<plugin>
<workbench id="Part">
<group id="Exchange">
- <feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
+ <feature id="ImportMacro" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
helpfile="importFeature.html"
internal="1">
<switch id="ImportType">
label="Import to"
tooltip="Select the image to import the document" />
</feature>
- <feature id="ImportImage" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
- helpfile="importFeature.html"
- internal="1">
- <file_selector id="file_path" title="Import image file" path="">
- <validator id="ExchangePlugin_ImportFormat" parameters="GIF|TIFF|PNG|JPG|JPEG|BMP|PPM|JPE:Image" />
- </file_selector>
- <choice id="target_part"
- string_list_attribute="target_parts_list"
- label="Import to"
- tooltip="Select the image to import the document" />
- </feature>
- <feature id="ImportFeature" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
+ <feature id="Import" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
helpfile="importFeature.html" internal="1">
<switch id="ImportType">
<case id="Regular" title="BREP, XAO, IGES, STL">
<validator id="ExchangePlugin_ImportFormat" parameters="GIF|TIFF|PNG|JPG|JPEG|BMP|PPM|JPE:Image" />
</file_selector>
</feature>
- <feature id="ImportImageFeature" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
- helpfile="importFeature.html"
- internal="1">
- <file_selector id="file_path" title="Import image file" path="">
- <validator id="ExchangePlugin_ImportFormat" parameters="GIF|TIFF|PNG|JPG|JPEG|BMP|PPM|JPE:Image" />
- </file_selector>
- </feature>
<feature id="Export" title="Export" tooltip="Export to file" icon="icons/Exchange/export.png"
helpfile="exportFeature.html" internal="1">
<source path="export_widget.xml" />