Rename input in Custom Node


#1

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.


#2

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

That’s all.


#3

Where Exactly??


#4

Read this how to create custom node http://primer.dynamobim.org/en/10_Custom-Nodes/10-2_Creating.html


#5

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


#6

@ashwinash112


#7

Do u mean this Part??

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

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


#8

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