# How to modify "Shape Handles" with Dynamo

**URL:** <https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895>\
**Category:** Revit\
**Tags:** parts\
**Created:** [November 28, 2017, 10:48am UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895 "2017-11-28T10:48:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergio\_Atero](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sergio_atero/32/5760_2.png) [@Sergio\_Atero](https://forum.dynamobim.com/u/Sergio_Atero)\
**Post date:** [November 28, 2017, 10:48am UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895/1 "2017-11-28T10:48:48Z")

</div>

I want to create a wall detail like the one in the image.

 ![Captura](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/f/9fd660f9e1121f854d833084f5bea0ef2a262f8c.JPG)

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!

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [November 28, 2017, 10:54am UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895/2 "2017-11-28T10:54:33Z")

</div>

A screenshot of what you tried would be useful. Did you also plug an [Element.Parameters](http://dictionary.dynamobim.com/#/Revit/Elements/Element/Query/Parameters) node on your parts elements to see what’s coming out of it?

---

<div class="post-metadata">

**Author:** ![Sergio\_Atero](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sergio_atero/32/5760_2.png) [@Sergio\_Atero](https://forum.dynamobim.com/u/Sergio_Atero)\
**Post date:** [November 28, 2017, 11:07am UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895/3 "2017-11-28T11:07:13Z")

</div>

Of course @Yna_Db!

I had not attached the code because I got stuck very soon ☹

 ![cap_01](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/1/a1f83a320a61d23733ba38c8ad853c5e4f12f4c6.JPG)

I tried to change the size by changing the height parameter, but it is read-only:

 ![cap_02](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/6/f67c2729f0d493d269b58af48b88c54629b6caa1.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [November 28, 2017, 11:20am UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895/4 "2017-11-28T11:20:11Z")

</div>

Unfortunately I dont have time to test it myself, but see what’s here :

> **[Parts, Assemblies, PartUtils and DivideParts](https://thebuildingcoder.typepad.com/blog/2012/09/parts-assemblies-partutils-and-divideparts.html)**
>
> 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/ca94b36d-4f9a-091d-b31e-a32a16ec89ac.htm)  
[http://www.revitapidocs.com/2017.1/3d026046-2541-d9c6-fae3-fc54bc4656da.htm](http://www.revitapidocs.com/2017.1/3d026046-2541-d9c6-fae3-fc54bc4656da.htm)

---

<div class="post-metadata">

**Author:** ![Sergio\_Atero](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sergio_atero/32/5760_2.png) [@Sergio\_Atero](https://forum.dynamobim.com/u/Sergio_Atero)\
**Post date:** [November 28, 2017, 4:24pm UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895/5 "2017-11-28T16:24:43Z")

</div>

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()
```

---

<div class="post-metadata">

**Author:** ![Ammad](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@Ammad](https://forum.dynamobim.com/u/Ammad)\
**Post date:** [August 4, 2023, 2:47pm UTC](https://forum.dynamobim.com/t/how-to-modify-shape-handles-with-dynamo/16895/6 "2023-08-04T14:47:23Z")

</div>

Can you please share how you did it?
