Revit 2025.3 API
DocumentNew |
Creates a slab edge along a reference array.
Namespace: Autodesk.Revit.Creation
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public SlabEdge NewSlabEdge( SlabEdgeType SlabEdgeType, ReferenceArray references )
Public Function NewSlabEdge ( SlabEdgeType As SlabEdgeType, references As ReferenceArray ) As SlabEdge
public: SlabEdge^ NewSlabEdge( SlabEdgeType^ SlabEdgeType, ReferenceArray^ references )
member NewSlabEdge : SlabEdgeType : SlabEdgeType * references : ReferenceArray -> SlabEdge
Parameters
- SlabEdgeType SlabEdgeType
- The type of the slab edge to create
- references ReferenceArray
- An array of planar lines and arcs that represents the place where you want to place the slab edge.
Return Value
SlabEdgeIf successful a new slab edge object within the project, otherwise .
| Exception | Condition |
|---|---|
| ArgumentException | Thrown if the slab edge type does not exist in the given document. |
See Also