I read the docs about DOORS automation through COM, but the DOORS.Application object does not seem to provide components you would expect from a COM server, like the ability to get the DOORS modules, then from a module instance the ability to get the objects, then for each object the ability to operate on attributes. Such API would basically allow DOORS module objects processing via any language that supports COM, such as VIsual Basic, C# and Python. As it is, the only thing that CreateObject("DOORS.Application") seems to support is the ability to run a DXL script, what is the point of doing that, might as well just do it from DOORS.
Schollii - Sat Dec 24 09:58:57 EST 2016 |
Re: DOORS automation through COM
(Almost) everything you can do in the DOORS client you can do from DXL. People are building interfaces to DOORS using DXL, some are wrapping the DOORS data model in the way you suggested. But DOORS does not bring this as a feature on its own. If you are into Java you can look at MD Workbench (Sodius) who have a very stable and pretty complete wrapping of the DOORS data model. Other freeware approaches for wrapping the DOORS Data model exist, but I know none that have a certain maturity. Most of the times these automations use DOORS batch mode instead of COM by the way, to avoid that the user will have to login. Maybe that helps, regards, Mathias |