Revit 2025 API
WallCan |
Checks whether this wall has or can have a profile sketch.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool CanHaveProfileSketch()
Public Function CanHaveProfileSketch As Boolean
public: bool CanHaveProfileSketch()
member CanHaveProfileSketch : unit -> bool
Return Value
BooleanTrue if wall supports profile sketch, false otherwise.

Wall does not support profile if it is not a straight wall; or wall is tapered;
or it is an old curtain wall; or it is an infill wall; or it is a replacement curtain panel.
See Also