Other programs that support ActiveX can communicate with AutoCAD using the AutoCAD ActiveX API.
This will make your code aware of the names and relationships of the objects in the other Object Model.
This will create (instantiate) valid objects for the basic objects in the other Object Model.
This is where the exchange of data takes place.