MichaelCsikos
1377 Views, 7 Replies

Creating an MAJ file from scratch with C#

I am an ADN member and have already asked this question through DevHelp Online, but they directed me here as they are not supporting the Fabrication products.

 

Duct fabricators have requested that we produce an MAJ job file through our MEPtrix software (an AutoCAD add-in).

MAJ files can be imported and exported by Fabrication CAMduct, Fabrication CADmep and Revit (with the Revit Extension for Fabrication installed). I see that there is now a Fabrication API, but the API cannot create new job databases, nor can it create new duct. And of course, it requires a license of a Fabrication product.

Is there any other way of producing a data file which can be imported by a fabricator into CAMduct? Is there a specification for such a file format? The Revit extension makes use of methods in the Autodesk.Revit.DB.Fabrication namespace in the Revit API, but the methods used are internal. If MAJ files are used as a data exchange format, where is the spec for it? What about ITM, CSV or TXT files?