In Teigha BIM source code, commands are implemented in the form of a container and usually a separate project. At this point in Teigha BIM there is a TB_DevGuideCommands project for this. The project is built into a file with the extension ".tx".
Connecting the container
In OdaBimApp you can connect the command container. Load the tx-file into OdaBimApp by choosing Tools-> Load Applications.
![image1](/files/inline-images/image001_0.jpg)
In the dialog that appears, click Load.
![image2](/files/inline-images/image002_7.jpg)
Next, select the necessary container (for example, TB_DevGuideCommands_4.3src_14.tx). As a result, the file should appear in the list.
![image3](/files/inline-images/image003.jpg)
Then click OK.
The command becomes available in the menu Edit-> Registered commands.
![image4](/files/inline-images/image004_2.jpg)
Executing the command
To create a new 3D view, execute the command by choosing Edit-> Registered Commands-> TBDevGuideCommands-> BmDBView3dCreate. The result is a console window for entering parameters.
![image5](/files/inline-images/image005_6.png)
You must specify the name of the new 3D view, or you can press Enter and the default value is used: "3D view". For example, let's introduce "Teigha 3D view".
![image6](/files/inline-images/image006_0.jpg)
Next, you must specify whether the view is perspective by specifying "y". Any other input will be interpreted as "n". Let us introduce, for example, "n".
After that, the console window closes. You can see it by choosing Edit-> Console.
![image7](/files/inline-images/image007.jpg)
The console contains information about the ID of the created view and the successful result of the command.
By selecting Edit-> Find an object, we can find a new object in the object tree.
![image8](/files/inline-images/image008_0.jpg)
![image9](/files/inline-images/image009.jpg)
Also we can see the created view by choosing View-> Views. Double-click "Teigha 3D view" to open the created view.
![image10](/files/inline-images/image010.jpg)