RVTDocs.com

IFCProductWrapper.AddAnnotation

Method
Description:
Adds an annotation handle to associate with the IfcProduct in this wrapper.
Remarks:
If the IFCLevelInfo is not provided, and relateToLevel to true, the handle will be associated to the building handle.
Syntax
public void AddAnnotation(
	IFCAnyHandle annoHnd,
	IFCLevelInfo levelInfo,
	bool relateToLevel
)
Parameters
Parameter Type Description
annoHnd IFCAnyHandle The annotation handle.
levelInfo IFCLevelInfo Information on the associated level. Optional, can be <span class="keyword"><span data-languagespecifictext="cpp=nullptr|vb=Nothing|nu=null" id="LSTE9A1A43C_1"></span></span>.
relateToLevel Boolean True to relate the annotation to the level, false otherwise.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null