Revit API

Valued Contributor
Posts: 71
Registered: ‎04-05-2012
Message 1 of 2 (318 Views)
Accepted Solution

Change the level of an element

318 Views, 1 Replies
11-21-2012 07:25 AM

How can I change the level of an element? Level property is read-only...


There is a trick or a hidden method somewhere?

Valued Contributor
Posts: 78
Registered: ‎09-07-2012
Message 2 of 2 (315 Views)

Re: Change the level of an element

11-21-2012 07:57 AM in reply to: FRFR1426



instead of setting the level *property*, you could try to set the level *parameter*.


Depending on the type and category of the element you want to modify, you could set the BuiltInParameter.FAMILY_LEVEL_PARAM (for FamilyInstances), for example.


Use RevitLookup to get the level parameters for other kinds of elements.

Level params usually are set with an ElementId:



Best regards,


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community

Revit Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Revit