Fabrication in Revit® > Fabrication Parts in Revit®
Revit assemblies export as block
bolshevik09:
i am using fabrication parts to model in revit and creating spool assemblies for prefab. The GC is requesting that i provide a cad file with all of the spools saved as blocks (because they are using Doxel). I have no problem exporting each assembly using the MAJ utility, but then i have to manually select the parts and create a block out of it. This is extremely time consuming.
Is there a way to export the assemblies saved as individual blocks? I would need the blocks named as their assembly name
cadbyken:
There is a way to make a selection set using mapfilter. If you could populate a list, then use a lisp routine to do each iteration, that is one path. The list can be created by converting a screenshot of the project browser. I use SnagIt that has not only the screen capture, but does it while scrolling and converts to text.
bolshevik09:
--- Quote from: cadbyken on Oct 08, 2025, 12:07:50 PM ---There is a way to make a selection set using mapfilter. If you could populate a list, then use a lisp routine to do each iteration, that is one path. The list can be created by converting a screenshot of the project browser. I use SnagIt that has not only the screen capture, but does it while scrolling and converts to text.
--- End quote ---
Unfortunately i dont use lisp very often and i wouldnt know how to write that. I tried the Mapfilter and was able to select all of the elements for the spool.
If i understand this correctly, the lisp would run mapfilter, filter out a spool, create a block of it naming it with a integer at the end, and then repeat?
cadbyken:
Yes. There are several threads on Mapfilter like this one https://www.xtracad.com/forum/index.php/topic,8168.msg111634.html#msg111634
One of the keys is to use the Search/Filter for Objects. When you use the group, it is written back into a txt file that you can look at to help you out.
The lisp routine just helps automate it.
Get the name
Select by the name
Create block by the name.
cadbyken:
A manual way of doing it is cut and paste
Cut the name
openjob <paste name>
select all
block <paste name>
hide block
Start back at top of list
You could also use an old time AutoCAD script (not to be confused with Fabrication MEP scripting) as well. Build it by creating a list of the spool names as mentioned above. Don't forget to suppress the dialog boxes in that example.
Navigation
[0] Message Index
[#] Next page
Go to full version