Revit 2026 API
IFCAny | 
   Sets the attribute value.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetAttribute( string name, string value )
Public Sub SetAttribute ( name As String, value As String )
public: void SetAttribute( String^ name, String^ value )
member SetAttribute : name : string * value : string -> unit
Parameters
- name String
 - The attribute name.
 - value String
 - The value.
 
| Exception | Condition | 
|---|---|
| ArgumentNullException | A non-optional argument was null | 
See Also