Row Component Rules

When importing rows, you may want materials to automatically be listed as children of part components. The row component rules are meant to assist with this.

The current implementation focuses only on Material Rows generated. Future support is planned for non-material rows.

Supported Row Types
Supported

Component

[future release]

Generated Material Children

Drawing

[future release]

Derivatives

not supported, use

Primary Source
Supported

Autodesk Inventor

[future release]

Autodesk Fusion

[future release]

CSV

[future release]

Onshape

SolidWorks

[future release]

SolidWorks PDM

[future release]

Material rows are rows that are generated for part documents that have a material assigned, and where a property mapping exists with the 'Is Material Mapping' enabled in the property mapping settings.

  • Each rule is run in order

  • Rules are additive, so if the first rule causes the 2nd rule to match that will trigger a multi-rule run

Structure of a rule

The structure of a rule depends on keywords to manipulate the name. An template is provided below

Where the following keywords are used

Type
Keyword
Meaning

parameter

searchTerm

What to search for in the component name

parameter

searchMatch

How the text that is being searched for is matched

parameter

searchTerms

Optional: specify a list of terms to search

searchMatch option

exact

Matches the text exactly, the whole string

searchMatch option

contains

Matches a part of the name. Can be anywhere in the string. So ss will match stainless steel and ssteel

searchMatch option

startsWith

Matches only if the string starts with the specified text

searchMatch option

endsWith

Matches only if the string ends with the specified text

searchMatch option

isInList

Matches if a the given list of values contains the text

parameter

returnValue

When a match is found, what is returned or used as a replacement value. This must be a string

parameter

replaceMatch

When replacing the oldValue with the newValue, how is replacement handled

replaceMatch option

everything

Replaces the entire string. This option replaces the entire string with the newValue. It does not keep any text other than the new value.

replaceMatch option

firstMatch

Replaces only the first instance found. Replacing s with S in the string stainless steel will result in Stainless steel.

replaceMatch option

lastMatch

Replaces only the last instance found. Replacing s with S in the string stainless steel will result in stainless Steel.

replaceMatch option

includeRow

Used with isInList to determine if the row should remain

replaceMatch option

excludeRow

Used with isInList to determine if the row should remain

Example: Substitute material name

In the example below, we'll

Last updated