API Reference > Classes > PRC Files, Structures and Assemblies > OdPrcProductInformation Class > OdPrcProductInformation Methods > OdPrcProductInformation::setProductInformationFlags Method
OdPrcProductInformation::setProductInformationFlags Method
Syntax
C++
void setProductInformationFlags(OdInt8 product_information_flags);
Parameters 
Description 
OdInt8 product_information_flags 
[in] A new value of the flag to be set. 

Sets a new value of the product information flag. 

 

Flag values can be one (or several) of the following list:

Value Occurrence Type 
Description 
0x00 Regular 
Regular product occurrence. 
0x01 Default 
Default container, configuration view that can be loaded by default by the original CAD application. 
0x02 Internal 
Product occurrence belongs to the same file structure and can be used as a template for another product occurrence. 
0x04 Container 
A collection of child product occurrences. 
0x08 Configuration 
A special arrangement of a product in which some components can differ or can be placed in different positions. But hierarchical integrity of the product occurrence is strictly respected. 
0x10 View 
Product occurrence which refers to another product occurrence or its prototype as a view to provide special visibility parameters within the same hierarchy. 

 

Note that parentless product occurrences are similar to Configuration and lead to a different file structure (except cases when product occurrence is internal). If the flag Regular or the flag Container is switched on, other flag's values are ignored. Any combination of the flags is acceptable.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.