Skip to content

SlabShapeEditor

Public 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

All of the creases that can be edited.


Public Property

All of the vertices that can be edited.


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

Convert selected folding lines to split lines


Public Method
DeletePoint

Delete a SlabShapeVertex from the element.


Public Method

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

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

Manipulates the crease on the corresponding slab, roof or floor.


Public Method

Manipulates the vertex on the corresponding slab, roof or floor.


Public Method

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)


Remarks

The SlabShapeEditor can be obtained from a slab object, such as a roof or floor.