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: 

Is it possible to change import scale value of a fill pattern duplicated using Revit API?

3 REPLIES 3
Reply
Message 1 of 4
hai_nn
229 Views, 3 Replies

Is it possible to change import scale value of a fill pattern duplicated using Revit API?

Hello everyone,

I want to change the scale value when duplicate.

Is it possible using Revit API?

hai_nn_0-1673431716998.png

 

3 REPLIES 3
Message 2 of 4
caroline.gitonga
in reply to: hai_nn
Message 3 of 4
hai_nn
in reply to: caroline.gitonga

I couldn't find the answer on that forum.
Please give me the answer to this question.

Message 4 of 4
caroline.gitonga
in reply to: hai_nn

I submitted this issue to the enginering team for consultation and maybe a workaround. Here is the resonse I got:

'I was able to learn the following. The recommended workflow through the UI is to duplicate and change the import scale. However, the scale is not directly exposed through the API. It is possible to get/set FillGrids and to get/set FillGrid's Segments. Therefore, it possible to reproduce the UI workflow through the API to some extent, by duplicating a pattern and then scaling its contents directly. There is some missing information. First of all, the import scale value. Second, it is necessary to adjust "window size" (a hidden property of the pattern) after setting the fill grids.'

Kindly, attempt above and see if you can come up with some sort of workaround.

Carol Gitonga, Developer Advocacy and Support, ADN Open

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

Post to forums  

Rail Community


Autodesk Design & Make Report