Engineering Solutions

Parasolid Import Options

Parasolid Import Options

Previous topic Next topic No expanding text in this topic  

Parasolid Import Options

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Parasolid reader uses the parasolid_reader.ini with the following available options:

 

@AttributesAsMetadata

Value

Description

on

Import all generic attributes (global and related to single entities) as metadata.

<name>

off

Do not import generic attributes.

part

Import just the global attributes (the attributes related to the part as a whole) as metadata.

<name>

entity

Import just the entity attributes (the attributes related to single entities) as metadata.

<name>

%attribute1%attribute2%attribute3

Import specified generic attributes as metadata.

The attribute names are listed, separated by a character that you choose, and inserted as the first element of the string. The example uses '%' as a separator. You can choose another character as a separator, in case one of the listed attribute names contains '%'. Engineering Solutions will recognize it as it is the first character of the string.

<name>

 

@AvoidDisjointShells

Value

Description

on

Stitch disjoint sheet body surfaces together (default).

off

Do not stitch disjoint sheet body surfaces together.

 

@CleanupTol

Value

Description

double

A negative value (default) means to use the auto cleanup tolerance.  A value greater than the calculated auto cleanup tolerance means to use that specific tolerance.

Refer to the CAD Cleanup Tolerance section.

 

@ColorsAsMetadata

Value

Description

integer

Read color attributes of geometric entities as metadata.

COLOR_RGB

on

Read color attributes of geometric entities as metadata.

COLOR_RGB

off

Do not read color attributes (default).

 

@DensityAsMetadata

Value

Description

on

Read density value as metadata (default).

DENSITY

off

Do not read density value.

 

@DoNotMergeEdges

Value

Description

on

Preserve the original geometry edges, instead of merging them together during the import cleanup phase.

off

Merge edges together during the import cleanup phase (default).

 

@ExtractManifoldFromGeneralBody

Value

Description

on

Extract the manifold body from a Parasolid general body that is non-manifold and/or of mixed topological dimensionality (default).

off

Extract Parasolid general bodies as defined.

 

@ImportBlanked

Value

Description

on

Import entities that are hidden, blanked, or no show.

off

Do not import entities that are hidden, blanked, or no show (default).

 

@ImportForVisualizationOnly

Value

Description

on

Import the model for visualization purposes only.

This skips many of the import steps (cleanup, stitching, solid creation, and so on) to provide a faster import. The resulting model may not be suitable for other uses.

off

Import the model in the normal fashion (default).

 

@ImportFreeCurves

Value

Description

on

Import free curves (wireframe entities) into the model (default).

off

Do not import free curves.

 

@ImportFreePoints

Value

Description

on

Import free points into the model (default).

off

Do not import free points.

 

@MaterialName

Value

Description

string

Name of the CAD attribute containing the material name info of the current part. Default is "Material"; meaningful only if @AttributesAsMetadata = "part". It only generates temporary data used by the ExtAPI cadassm tool.

 

@MetadataPrefix

Value

Description

string

The string is prefixed to all metadata names. No prefix is used by default.

See CAD Metadata Naming for more details.

 

@OriginalIdAsMetadata

Value

Description

on

Import original CAD entity IDs as metadata.

ORIGINAL_ID

off

Do not import original CAD entity IDs as metadata (default).

 

@PartNumber

Value

Description

string

Name of the CAD attribute containing the part number info of the current part. Default is "PartNumber"; meaningful only if @AttributesAsMetadata = "part". It only generates temporary data used by the ExtAPI cadassm tool.

 

@ScaleFactor

Value

Description

double

Defines the model scaling factor during import.

Default is 1.0.

 

@SkipCreationOfSolid

Value

Description

on

Read surfaces, but do not create solid entities.

off

Create solid entities (default).

 

@SplitComponentsByBody

Value

Description

on

Create one HM component per third party body. There might be one or more third party bodies per third party component.

This option cannot be used when @ReadCompositeData is enabled, or in conjunction with @SplitComponentsByPart.

off

Do not consider the division of third party components into third party bodies while creating HM components (default).

 

@SplitPeriodicFaces

Value

Description

on

Split periodic surfaces to improve the quality and robustness of the import (default).

off

Import periodic surfaces as a single surface with a seam edge.

 

@StitchingAcrossBodies

Value

Description

on

Stitch surfaces belonging to different components.

off

Do not stitch surfaces belonging to different components (default).

 

@TagsAsMetadata

Value

Description

on

Create entity name as metadata (default).

TAG

FromBody

Take entity from its parent body and create it as metadata.

TAG

off

Do not read tags.

 

@ThicknessName

Value

Description

string

Name of the CAD attribute containing the thickness info of the current part. Default is "Thickness"; meaningful only if @AttributesAsMetadata = "part". It only generates temporary data used by the ExtAPI cadassm tool.

 

@UID

Value

Description

string

Name of the CAD attribute containing the UID info of the current part.

Default is "UID"; meaningful only if @AttributesAsMetadata = "part". It only generates temporary data used by the ExtAPI cadassm tool.

 

@UniqueIdAsMetadata

Value

Description

on

Create metadata to track the unique CAD ID (default).

When a Parasolid body is present in the Parasolid assembly, the Parasolid instance ID is appended to the ORIGINAL_ID using "-". For each assembly level, its instance ID will be appended in the same way.

For example:

No body entities present in the assembly: 20

Body entities present in a single level assembly: 1-20

Body entities present in a multiple level assembly: 1-4-2-20

The same identifier can be obtained for two entities when a single entity is split during import.

UNIQUE_ID

off

Do not create metadata to track the unique CAD ID.

 

See Also:

Parasolid Metadata Support

Parasolid Reader Support

CAD Import Options