In a typical CAD model, each entity in the assembly tree can contain an arbitrary number of metadata of various types.

This metadata can consist of:

  • Generic Attributes
  • Measurement Information
  • Persistent ID's
  • Physical Properties

Importing Generic Attributes

Generic Attributes are the attributes attached to a model from the CAD system but they can also be created during authoring. Those might contain manufacturing information or any other type of data.

By default, all generic attributes of a model will be imported. If you don’t want to import generic attributes you can specify the "--read_attributes false" command line option.

If you want generic attributes to be imported but want to exclude them only when generating a SC model you can specify the "--sc_export_attributes false" command line option.

Importing Physical Properties

By default, HOOPS Communicator will calculate physical properties for entities in a CAD model. Those properties include Surface Area, Volume and Center of Gravity. If you don’t want to generate physical properties during the Stream Cache export you can specify the "--sc_export_physical_properties false" command line option. Not generating physical properties can improve conversion performance.

Importing Measurement Data

By default, HOOPS Communicator will generate "measurement information" from the analytic geometry data within a CAD model. This data represents a subset of the brep topology and geometry definition required to precisely measure surfaces and line geometry. Retrieving and working with measurement data is described in the Measurement Programming Guide.

If you don’t want to export any measurement data to the SC Model you can specify the "--sc_export_measurement false" command line option.

Retrieving Metadata

There are various functions to retrieve metadata from a model which are listed below.
The functions above retrieve arbitrary attributes typically attached by the CAD system. They are discussed in the Viewer-Metadata Chapter of the programming guide here. Physical Properties of a node are part of the generic attributes and can also be retrieved with these functions.

It is also possible (though less common) to have generic attributes attached to faces and edges in the model. Those can be retrieved with the functions above.

top_level:2 prog_guide:3