Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to rename a view in the project browser

1 REPLY 1
Reply
Message 1 of 2
brianwclayton1969
382 Views, 1 Reply

How to rename a view in the project browser

brianwclayton1969
Collaborator
Collaborator

I' trying to rename a view category in the Project browser. Please see screen shot for example.

Thanks

0 Likes

How to rename a view in the project browser

I' trying to rename a view category in the Project browser. Please see screen shot for example.

Thanks

1 REPLY 1
Message 2 of 2

jeremytammik
Autodesk
Autodesk

Dear Iceman,

 

Thank you for your query.

 

Every view in the Revit model is represented by a database element, of class `Element`:

 

https://apidocs.co/apps/revit/2019/eb16114f-69ea-f4de-0d0d-f7388b105a16.htm

 

For most elements, you can rename them using their `Name` property:

 

https://apidocs.co/apps/revit/2019/e372092e-ff47-71c2-1272-50ab08e5a41d.htm

 

I hope this helps.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

Dear Iceman,

 

Thank you for your query.

 

Every view in the Revit model is represented by a database element, of class `Element`:

 

https://apidocs.co/apps/revit/2019/eb16114f-69ea-f4de-0d0d-f7388b105a16.htm

 

For most elements, you can rename them using their `Name` property:

 

https://apidocs.co/apps/revit/2019/e372092e-ff47-71c2-1272-50ab08e5a41d.htm

 

I hope this helps.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report