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: 

Plugin to toggle between two different dimension styles?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
380 Views, 1 Reply

Plugin to toggle between two different dimension styles?

I want to create a plugin that lets me toggle dimension style for the currently opened project between feet + inches, to decimal feet to 3 dec. places. Where can I find what the code would be to do this? Is there somewhere online that I access a list of typical command codes?

1 REPLY 1
Message 2 of 2
saikat
in reply to: Anonymous

HI MIke

 

When you say toggle dimension style, I am assuming you mean changing the units of the Revit project? Is that correct? If it is, please take a look at the ProjectUnit SDK sample which shows how to set a unit to another unit and format.

 

From the UI, I can see that when I change the Project units for say length, I can see that the dimension in the model  changes from say mm to inches - which seems to be what you are asking for too.

 

hope this helps

Saikat

 

 



Saikat Bhattacharya
Senior Manager - Technology Consulting

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

Post to forums  

Forma Design Contest


Rail Community