# ENF Editor - Assembly Editor

Section Name [ENFEDITOR]

## PartialAssemblyExtraction

Specify whether to extract specified parts and assemblies.
Specify together with “extraction_target” and “extraction_outputdir”.

- Default Value: 0
- Values
  - 0: Don’t extract parts and assemblies
  - 1: Extract specified parts and assemblies

## ExtractByRegularExpression

Specify whether to use regular expressions to specify the names in the extraction list.
Specify together with “extraction_target”.

- Default Value: 0
- Values
  - 0: Don’t use regular expressions
  - 1: Use regular expressions

## DeleteSpecifiedAssembly

Specify whether to delete all assemblies whose names are listed in the deletion list
(Set together with parameter “namelist”)

- Default Value: 0
- Values
  - 0: Don’t delete
  - 1: Delete

## DeleteSpecifiedPart

Specify whether to delete all parts whose names are in the deletion list.
Specify together with namelist.

- Default Value: 0
- Values
  - 0: Don’t delete
  - 1: Delete all parts whose names are in the deletion list

## UseRegexpInNameList

Specify whether to use regular expressions to specify the names in the deletion list. (The string will be matched by surrounding with “^” and “$”.)
Specify together with “namelist”.

- Default Value: 0
- Values
  - 0: Don’t use regular expressions
  - 1: Use regular expressions

## CopySharedAssembly

When an assembly is referred by multiple instances, the assembly is duplicated and avoids the shared status.

- Default Value: 0
- Values
  - 0: Keep shared status
  - 1: Avoid shared status

## CopySharedPart

When a part is referred by multiple instances, the part is duplicated and avoids the shared status. (With CopySharedAssembly=1)

- Default Value: 0
- Values
  - 0: Keep shared status
  - 1: Avoid shared status

## BreakAssembly

Specify how to convert the assembly structure.
Value 6, 8 are effective only for “ENF Editor” Component.

- Default Value: 0
- Values
  - 0: Maintain the original assembly structure
  - 1: Flatten the assembly structure while maintaining the part positioning
  - 4: Convert an assembly as a single part
  - 6: Convert an assembly as a single part while maintaining the top part name
  - 8: Maintain the original assembly structure and part positioning from the top and make all the instance matrix to unit matrix

## VolumeToBody

Change ENF structure

- Default Value: 0
- Values
  - 0: Don’t change
  - 1: Change volume in body to Body
  - 2: Change volume in body to Body and make assembly of one hierarchy.
  - 4: Change volume in body to Body and former body name is allocated in a new body name.

## CreateTopAssembly

Specify whether to create a top assembly. (The created top assembly will be named as “Assembly-1”.)
Assemblies and bodies which do not have parents will be placed as unit matrix instances. Properties of these instances will be as follows;
Color: Not specified
Transparency: 0
Visibility flag: Visible

- Default Value: 0
- Values
  - 0: Don’t create a top assembly
  - 1: Create a top assembly
  - 2: Create a top assembly only when there are multiple elements (parts or top assemblies) at the top hierarchy

## RemoveEmptyBody

Specify whether to delete empty assemblies and empty bodies (bodies with no B-rep elements).
Please note that empty assemblies will be deleted even when “RemoveEmptyAssembly=0” is set when “2” is set for this.

- Default Value: 0
- Values
  - 0: Don’t delete empty assemblies and empty bodies
  - 2: Delete empty assemblies and empty bodies

## RemoveEmptyAssembly

Specify whether to delete empty assemblies.
Please note that empty assemblies will be deleted regardless of this value when “RemoveEmptyBody=2” is set.

- Default Value: 0
- Values
  - 0: Don’t delete empty assemblies
  - 1: Delete empty assemblies