change grid and dimension into proper scale

change grid and dimension into proper scale

Anonymous
Not applicable
397 Views
2 Replies
Message 1 of 3

change grid and dimension into proper scale

Anonymous
Not applicable

hi when i try to change worksheet into bigger scale , the grid line and dimension look bigger and not proper. how to make it looks proper . i usually edited it manually project browser-family . is there any better way every way so every time i need to change the scale , i dont need to edit it manually... thx

 

Untitled.png

0 Likes
398 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

I suggest that you analyse the model using the standard approach to research to find a Revit API solution:

 

https://thebuildingcoder.typepad.com/blog/2017/01/virtues-of-reproduction-research-mep-settings-onto...

 

Not being an expert user, I am not sure, but it might work out more or less like this: the grid and dimension size is controlled by its respective type. Examine those types in the situation you show in the screen snapshot. Next, modify the model manually and examine the types after you have set it to up look the way you want. If the types afterwards are different, then those are the types you want. Make a note of their element ids, and set them on the annotation and grid elements using the ChangeTypeId method:

 

https://www.revitapidocs.com/2021.1/6026a054-5e1e-5cac-7283-aa102aa997e3.htm

  

I hope this helps.

 

Cheers,

 

Jeremy

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 3

Anonymous
Not applicable

i still dont get the solution

0 Likes