- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Did you ever get an answer as to whether there is a specification for writing a MAJ file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @josh_d_andersonPEJ3C no, I didn't discover anything more than what I had included in this question. It seems Autodesk is very secretive about this and not interested in letting anyone else use the MAJ file format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Have you looked into using the "Job Import" function?
https://help.autodesk.com/view/FABRICATION/ENU/?guid=GUID-D25AA561-B629-4FDF-97E5-D4539517A205
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There’s no public spec for MAJ files since they’re proprietary. Try exporting to CSV or TXT and see if CAMduct can handle those.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Yeah, creating MAJ files from scratch is tough without Fabrication tools. Maybe try exporting to CSV or TXT and see if the fabricators can convert them.