Establishes a new product manager for elements and objects derived from a parent product manager, allowing override of allowRelateToLevel
Namespace:
Autodesk.Revit.DB.IFC
Assembly:
RevitAPIIFC
(in RevitAPIIFC.dll) Version: 22.0.0.0 (22.1.0.0)
Since:
2013
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- pProductWrapper
-
Type:
Autodesk.Revit.DB.IFC
IFCProductWrapper
The parent product manager.
- allowRelateToLevel
-
Type:
System
Boolean
True to allow associated elements and objects to relate to a level, false to never allow such a relationship.
Return Value
The new product manager.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |