Revit API

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

Change the level of an element

342 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: 84
Registered: ‎09-07-2012
Message 2 of 2 (339 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,


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 or visit the Installation and Licensing Forum to get help installing your software.