Bit field flag definitions for product occurrences

Macros

#define A3D_PRODUCT_FLAG_CONFIG   0x0008
 
#define A3D_PRODUCT_FLAG_CONFIG_NOT_UPDATED   0x0100
 
#define A3D_PRODUCT_FLAG_CONTAINER   0x0004
 
#define A3D_PRODUCT_FLAG_DEFAULT   0x0001
 
#define A3D_PRODUCT_FLAG_INTERNAL   0x0002
 
#define A3D_PRODUCT_FLAG_SUPPRESSED   0x0040
 
#define A3D_PRODUCT_FLAG_VIEW   0x0010
 

Detailed Description

These flags represent characteristics of product occurrences.

A product occurrence can be:

  • A container. In this case, it acts as a repository of son occurrences that do not necessarily have relationships between them. This is useful for situations where a single CAD file can correspond to a whole database of parts and assemblies.
  • A configuration. This is a specific arrangement of a product with respect to its whole hierarchy.
  • A view. A view refers to another product occurrence (its prototype) to denote a particular setting of visibilities and position within the same hierarchy.
  • Suppressed.
    Version
    9.0
    If none of these flags is specified, a product occurrence is regular. If the product occurrence has no father, it is similar to a configuration.
Attention
A product occurrence with no father cannot have a product prototype or external data property.

For containers, configurations, and views, a product occurrence can be the default, which means that it is loaded by default in the originating CAD system.

Version
2.1

Macro Definition Documentation

#define A3D_PRODUCT_FLAG_DEFAULT   0x0001

The product occurrence is the default container, configuration, or view.

#define A3D_PRODUCT_FLAG_INTERNAL   0x0002

The product occurrence is internal. This flag is used only when the product occurrence has no father.

#define A3D_PRODUCT_FLAG_CONTAINER   0x0004

The product occurrence is a container.

#define A3D_PRODUCT_FLAG_CONFIG   0x0008

The product occurrence is a configuration.

#define A3D_PRODUCT_FLAG_VIEW   0x0010

The product occurrence is a view.

#define A3D_PRODUCT_FLAG_SUPPRESSED   0x0040

The product occurrence is suppressed. When reading CREO files, this flag is set by HOOPS Exchange when generic information isn't being used and the geometry contains boolean operations that are not supported by HOOPS Exchange.

Version
9.0
#define A3D_PRODUCT_FLAG_CONFIG_NOT_UPDATED   0x0100

The config does not include the model data (or if the data for this configuration has been purged) or the model data is not up to date.