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: 24.0.0.0 (24.0.0.0)
Since: 2013
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- pProductWrapper
- Type: Autodesk.Revit.DB.IFCIFCProductWrapper
The parent product manager.
- allowRelateToLevel
- Type: SystemBoolean
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.ExceptionsArgumentNullException | A non-optional argument was null |