SlabShapeEditor Class


Slab Shape Editor Class

An object used for Slab Shape Editing.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB SlabShapeEditor

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class SlabShapeEditor : IDisposable

The SlabShapeEditor type exposes the following members.

Properties
Name Description
Public property IsEnabled Identifies if the slab shape editing functionality is enabled.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property SlabShapeCreases All of the creases that can be edited.
Public property SlabShapeVertices All of the vertices that can be edited.
Top
Methods
Name Description
Public method AddPoint Add a point to the element.
Public method AddPoints Add an array of points to the element.
Public method AddSplitLine Add a split line to the element.
Public method CreateCreasesFromFoldingLines Convert selected folding lines to split lines
Public method DeletePoint Delete a SlabShapeVertex from the element.
Public method Dispose Releases all resources used by the SlabShapeEditor
Public method DrawPoint Obsolete.
Adds a point to the corresponding slab, roof or floor.
Public method DrawSplitLine Obsolete.
Draws a split line on the corresponding slab, roof or floor.
Public method Enable Enables the slab shape editing functionality.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ModifySubElement(SlabShapeCrease, Double) Manipulates the crease on the corresponding slab, roof or floor.
Public method ModifySubElement(SlabShapeVertex, Double) Manipulates the vertex on the corresponding slab, roof or floor.
Public method PickSupport Picks an element to support the slab. This method will define split lines and create constant bearing lines for the slab.
Public method Code example ResetSlabShape Removes the modifications made during editing and resets the element geometry back to the unmodified state.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
Remarks
The SlabShapeEditor can be obtained from a slab object, such as a roof or floor.
See Also