CreateValueOfType Method
Creates an IFC object with primitive type of aggregate's item type.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 22.0.0.0 (22.1.1.0)
Since:  2022.1

Syntax

C#
public IFCData CreateValueOfType(
	string typeName
)
Visual Basic
Public Function CreateValueOfType ( _
	typeName As String _
) As IFCData
Visual C++
public:
IFCData^ CreateValueOfType(
	String^ typeName
)

Parameters

typeName
Type: System..::..String
The type name.

Return Value

The IFCData object.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was null
Autodesk.Revit.Exceptions..::..InvalidOperationException The aggregate is not valid.

See Also