Integrations (PTC products, 3rd party products and code) > Code integration (Ada, ARINC 653, C, C#, C++, IDL, Java, SQL and VB) > IDL Code > Modeling IDL code in Modeler > Creating IDL Items > Creating a node (IDL code)
  
Creating a node (IDL code)
You can create a Node through an Internal Domain Diagram, or from a Domain.
To create a node through an internal domain diagram:
1. Open the Internal Domain Diagram on which you want to create the Node.
2. On the diagram's toolbar, click the Node button.
3. On the diagram, click within the Domain on which you want to create the Node.
4. Type the name of the Node, and then press the Enter key.
5. Specify the host name of the Node:
a. On the Node, click the hostName attribute.
b. On the hostName's property pages, click the Data Type tab.
c. In the Default box, type the host name of the Node.
6. Specify the port number of the Node:
a. On the Node, click the portNumber attribute.
b. On the portNumber's property pages, click the Data Type tab.
c. In the Default box, type the port number of the Node.
To create a node from a domain:
1. In the Parts pane, locate the Domain for which you want to create a Node.
2. Right-click the Domain, point to New, and then click Node.
3. Type the name of the Node, and then press the Enter key.
4. Expand the Node you have created, and locate the hostName and portNumber attributes.
If you cannot expand the Node, ensure that you are viewing the Node in the Parts pane.
5. Specify the host name of the Node:
a. On the hostName's property pages, click the Data Type tab.
b. In the Default box, type the host name of the Node.
6. Specify the port number of the Node:
a. On the portNumber's property pages, click the Data Type tab.
b. In the Default box, type the port number of the Node.