WallCreate(Document, IListCurve, ElementId, ElementId, Boolean) Method |
Creates a non rectangular profile wall within the project using the specified wall type.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic static Wall Create(
Document document,
IList<Curve> profile,
ElementId wallTypeId,
ElementId levelId,
bool structural
)
Public Shared Function Create (
document As Document,
profile As IList(Of Curve),
wallTypeId As ElementId,
levelId As ElementId,
structural As Boolean
) As Wall
public:
static Wall^ Create(
Document^ document,
IList<Curve^>^ profile,
ElementId^ wallTypeId,
ElementId^ levelId,
bool structural
)
static member Create :
document : Document *
profile : IList<Curve> *
wallTypeId : ElementId *
levelId : ElementId *
structural : bool -> Wall
Parameters
- document Document
-
The document in which the new wall is created.
- profile IListCurve
-
An array of planar curves that represent the vertical profile of the wall.
- wallTypeId ElementId
-
Id of the wall type to be used by the new wall instead of the default type.
- levelId ElementId
-
Id of the level on which the wall is to be placed.
- structural Boolean
-
If set, specifies that the wall is structural in nature.
Return Value
Wall
If successful a new wall object within the project.
Exceptions
See Also