About Replacement Table Editor

The xOptimize Pro replacement table editor lets you create a mapping table directly in the app to replace multiple objects at once. You can also copy and paste it from Excel or other text-based apps, and check the table in the app.

You can upload it and store it as an editable document in 3DSpace.

This page discusses:

See Also
About Replace Operator
Replace Operator Properties

Editor Window

After you clicked Create CSV Table in the Replace operator and then Create in the Create CSV Table dialog, the blank replacement table editor opens. You can create a new .csv file from scratch.

You can also drop a file into the Replacement text box of the Replace operator from 3DSpace or a local drive. When you then click Create in the Create CSV Table dialog the table editor opens with an automatically filled table. You can review the file and change it as required.

You can use or see the following in the top bar:

Add New Row
Lets you add a new row at the bottom of the table.
Undo
Lets you undo the latest action.
Redo
Lets you redo the latest action.
Storage Location
When you hover over the icon, you see where the app saves the replacement table.
Name
Name of the File
The app shows you the name of the .csv file.


Error Warning
In case there are errors in the replacement table, the app shows you a warning in the upper right corner. Next to the warning sign you also see the number of errors in the table. You see the table cell that contains the error highlighted in light red.
Note: You can save and upload a replacement table that contains errors but then the execution of the replacement does not work.

There are the following two general functions available in the editor:

  • Save & Upload - lets you save the replacement table and upload it to the location you specified.
    • In case there are blank lines in the table they are removed upon upload. When you reopen the table the blank lines no longer exist.
    • The app does not overwrite existing files but creates a new interation.
  • Cancel - closes the editor without saving.

Replacement Table

The editor's table lets you create a new .csv table, or review and edit an existing one. For more information, see About .csv Files

  • You can navigate in the table like in any other table with your mouse or the keyboard arrow keys.
  • You can use the scrollbar on the right side of the table, in case the table is too long to fit entirely on the screen.
  • You can click into a cell and then make a multiselection by holding the left mouse key and moving over everything you want to select. You see your selection highlighted in light blue.
  • You can copy and paste individual cells or multipe columns and rows from an Excel file into the table editor and from the table editor into an Excel file.
  • You can drop PLM products from 3DSpace or 3DSearch directly into Input Value and Replacement Value cells:
    • When you drop a PLM object into Input Value, the Input Type automatically turns to Title.
    • When you drop a PLM object into Replacement Value, the Revision turns automatically to the respective revision, for example A.
  • You can copy and paste from a Notepad file that is .csv-formatted. The editor supports tabs as separator for cells in the same row and a new line separation for cells in different rows. The first line of a .csv file is the header of the table in the editor, that is Comment, Input Type, Input Value, Replacement Value and Revision.
Note: In case you paste an invalid value in an Input Type cell that is not Title or Name, the cell shows Select an Input Type after pasting.

Keyboard Shortcuts

You can use the following keyboard shortcuts in the table:

  • Tab, arrow keys, Enter - you can use them as you do in Excel.
  • Space - opens a list menu in a cell. You can use the arrow keys to go to a listed option and select it with Enter.
  • Del - deletes the values in the active cell or from your selection.
  • Ctrl + C - copies the selected value or values.
  • Ctrl + V - pastes the copy value or values.
  • Ctrl + Z - undoes your latest action.
  • Ctrl + Y - redoes your latest action.