I want to create a wall detail like the one in the image.
I have created a wall and I have divided it into parts, and now I want to edit the shape handles to make each piece sequentially smaller.
¿Any idea how to access this parameter with Dynamo?
Thanks!
Yna_Db
November 28, 2017, 10:54am
2
A screenshot of what you tried would be useful. Did you also plug an Element.Parameters node on your parts elements to see what’s coming out of it?
Of course @Yna_Db !
I had not attached the code because I got stuck very soon
I tried to change the size by changing the height parameter, but it is read-only:
Thanks.
Yna_Db
November 28, 2017, 11:20am
4
Unfortunately I dont have time to test it myself, but see what’s here :
Let's end this eventful week with another big and imporant topic that we've neglected for much too long. So far, I presented just one single example of using the PartUtils class, and other information provided on it by a Google search is also awfully...
http://www.revitapidocs.com/2017.1/ca94b36d-4f9a-091d-b31e-a32a16ec89ac.htm
http://www.revitapidocs.com/2017.1/3d026046-2541-d9c6-fae3-fc54bc4656da.htm
Thanks a lot!
I have already been able to edit the size of the model, when I have the complete code I will post it.
TransactionManager.Instance.EnsureInTransaction(doc)
for face in faceArray:
if(part.CanOffsetFace(face)):
part.SetFaceOffset(face,offsetCtr)
offsetCtr = offsetCtr + 0.1
TransactionManager.Instance.TransactionTaskDone()
1 Like
Ammad
August 4, 2023, 2:47pm
6
Can you please share how you did it?