# Rename input in Custom Node

**URL:** <https://forum.dynamobim.com/t/rename-input-in-custom-node/25971>\
**Category:** Revit\
**Created:** [September 16, 2018, 8:20am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971 "2018-09-16T08:20:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashwinash112](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@ashwinash112](https://forum.dynamobim.com/u/ashwinash112)\
**Post date:** [September 16, 2018, 8:20am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/1 "2018-09-16T08:20:36Z")

</div>

![python%204](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/d/3d11a04ec209889818dd4be6017df1b5b0d61d49.png) ![python%206](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f73603c7571a8d3629163ced413cce3f64d278a5.png)

How do I Rename the input For the node IN[0] and in[1] to Solid and Unobstructed ,And how do i make it accept Bool only.

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [September 16, 2018, 8:27am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/2 "2018-09-16T08:27:30Z")

</div>

In your first input, type Solid:bool=true  
In the second, type Unobstructed:bool=false

That’s all.

---

<div class="post-metadata">

**Author:** ![ashwinash112](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@ashwinash112](https://forum.dynamobim.com/u/ashwinash112)\
**Post date:** [September 16, 2018, 9:51am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/3 "2018-09-16T09:51:10Z")

</div>

Where Exactly??

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [September 16, 2018, 10:34am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/4 "2018-09-16T10:34:12Z")

</div>

> [@ashwinash112](#):
>
> Where Exactly??

Read this how to create custom node [Creating a Custom Node | The Dynamo Primer](http://primer.dynamobim.org/en/10_Custom-Nodes/10-2_Creating.html)

---

<div class="post-metadata">

**Author:** ![ashwinash112](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@ashwinash112](https://forum.dynamobim.com/u/ashwinash112)\
**Post date:** [September 20, 2018, 4:37am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/5 "2018-09-20T04:37:54Z")

</div>

This uses Code Blocks and works…But can it be Done in Python ITself??

---

<div class="post-metadata">

**Author:** ![salvatoredragotta](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/salvatoredragotta/32/10078_2.png) [@salvatoredragotta](https://forum.dynamobim.com/u/salvatoredragotta)\
**Post date:** [September 20, 2018, 4:47am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/6 "2018-09-20T04:47:44Z")

</div>

@ashwinash112

> [@Kulkul](#):
>
> Read this how to create custom node [http://primer.dynamobim.org/en/10\_Custom-Nodes/10-2\_Creating.html](http://primer.dynamobim.org/en/10_Custom-Nodes/10-2_Creating.html)

---

<div class="post-metadata">

**Author:** ![ashwinash112](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@ashwinash112](https://forum.dynamobim.com/u/ashwinash112)\
**Post date:** [September 20, 2018, 4:52am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/7 "2018-09-20T04:52:02Z")

</div>

Do u mean this Part??

Yes But it uses Code Blocks…i Dont see any Python there…

 ![sda](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/a/5a05dcb9cf91049b78e107c0dff3d7b81bb17b87.png)

I tried Doing it inside the Python Node But it wouldnt Work.

---

<div class="post-metadata">

**Author:** ![salvatoredragotta](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/salvatoredragotta/32/10078_2.png) [@salvatoredragotta](https://forum.dynamobim.com/u/salvatoredragotta)\
**Post date:** [September 20, 2018, 4:54am UTC](https://forum.dynamobim.com/t/rename-input-in-custom-node/25971/8 "2018-09-20T04:54:27Z")

</div>

It doesn’t really matter if you have a python script node. Same process if you have one.

[http://primer.dynamobim.org/en/10\_Custom-Nodes/10-4\_Python.html](http://primer.dynamobim.org/en/10_Custom-Nodes/10-4_Python.html)
