IFCProductWrapper.Create(IFCProductWrapper, Boolean)
Method
Description:
Establishes a new product manager for elements and objects derived from a parent product manager, allowing override of allowRelateToLevel
Establishes a new product manager for elements and objects derived from a parent product manager, allowing override of allowRelateToLevel
Syntax
public static IFCProductWrapper Create(
IFCProductWrapper pProductWrapper,
bool allowRelateToLevel
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| pProductWrapper | IFCProductWrapper | The parent product manager. |
| allowRelateToLevel | Boolean | True to allow associated elements and objects to relate to a level, false to never allow such a relationship. |
Return Value
| Type | Description |
|---|---|
| IFCProductWrapper | The new product manager. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |