Revit 2025 API
WallWall |
Retrieves or changes the type of the wall.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public WallType WallType { get; set; }
Public Property WallType As WallType Get Set
public: property WallType^ WallType { WallType^ get (); void set (WallType^ value); }
member WallType : WallType with get, set
Property Value
WallTypeThe type of the wall.

Exception | Condition |
---|---|
ArgumentException | When setting this property: The wall type wallType is not valid for the current wall. |
ArgumentNullException | When setting this property: A non-optional argument was null |

The WallType property can be used to retrieve the kind of the wall.
This property can also be used to change the type of a wall by setting it to a different wall type.
All the wall types in the project can be found using the Document.WallTypes property.
See Also