ChangeSection Method


The method that will be called when user wants to change beam section

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since: 2018

Syntax

C#
bool ChangeSection(
	Document doc,
	ElementId idElem
)
Visual Basic
Function ChangeSection ( _
	doc As Document, _
	idElem As ElementId _
) As Boolean
Visual C++
bool ChangeSection(
	Document^ doc, 
	ElementId^ idElem
)

Parameters

doc
Type: Autodesk.Revit.DB Document
Revit document
idElem
Type: Autodesk.Revit.DB ElementId
id of the selected element

Return Value

Indicates whether the operation succeeded or not

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →