Please enable Javascript to view this site.

GENIUS TOOLS Model Processor

Navigation: List of all tasks > Material

Edit Material from File

Scroll Prev Top Next More

This task reads material assignments from a CSV file and applies them to parts.

The cross-task settings can be found in the chapter General task settings.

Model filter

This task can revise the following models: Parts

The task-specific settings are:

mp_Task_EditMaterialFromFile

1.Material Assignment File

Either specify the path to the file(s) or directory(ies) containing the model names and the assigned materials, or browse the file system using the Browse button OpenFolder.

2.Material Directory

Either specify directory(ies) containing the assigned materials or browse the file system using the Browse button OpenFolder. If nothing is specified, pro_material_dir is used.
@project_dir@ is located at: Project directory/reports

3.CSV Options

Select the delimiter used in the CSV file:

–Comma (',')

–Semicolon (';')

4.Option

Use the checkbox to specify whether the parameter should also be edited for family instances.

–Write parameters for family table instances

If this option is enabled, the material parameters are also updated for family table instances. You can use RegEx. The icon RegexButton opens the RegEx Editor.

Structure of the CSV file

The materials that are to be assigned can be distinguished by file name or parameter content (### value). The column with the path is only necessary for an exact selection of the file, not for the function.

In the CSV file, the following boxes are evaluated:

file name

specification of the file name

path

specification of the file path (data from the hard disk with \, data from Windchill server with /). The specifications must end with a separator character.

### value

instead of the file name cells, you can specify a parameter name with the suffix value

old material

the currently assigned material (the name without extension)

current material

the material that is to be assigned (the name without extension)

The following examples show some possibilities:

–example of a CSV file:

file name;current material;

loko.prt;STEEL;

– example of a CSV file with path specification:

file name;path;current material;

loko.prt;C:\testdata\;STEEL;

– example of CSV file with parameter value:

MATERIAL value;current material;

Steel;STEEL;

Created with Help & Manual 8 and styled with Premium Pack Version 4 © by EC Software