Family Instance By Point in Transaction

Some family placement nodes consume previously placed families if run with List.Map. This node was adapted from Clockwork, and it just wraps a ‘Family by Point’ command to ensure that each list of points is processed in a separate placement transaction in Revit.

Credit to Dimitar Venkov for the assist.

Switch

This node simply takes an input set of data, and a Boolean switch. If the switch is true, the data is output. If the switch is false, the output is Empty List. This can be added to control the running of a script with master Boolean switches, or inline validation. In the case below, the List Length Validator confirms the input data has matching lengths, and the true output is used to control the flow in the Switch node.

Get View Dependent Elements from Linked Document

This will get view dependent elements (like Detail Items such as Filled Regions) from a linked document. Inputs:

· Linked document filename as string

· Category name

· Type name (results are filtered to include only this type)

· The “owner view” or the view that these elements live inside in the linked document

Batch Export Revit Views to IFC

This node takes 3 inputs:

  • View prefix for views you want to export to IFC
  • Target directory for the IFC files
  • Optional: IFC version, current default is IFC2x3

When the node is Run, it filters through the Revit views to find those with the specified prefix, then it exports them as individual IFC files to the target directory. You could combine this with Web Request node to enable periodic execution (ie. automatic batch export).

Full credit goes to those who put the framework of this together over on the forum (also see ‘Credits’ in image below).

 

Get Family List for this project

This will output a list of families as Revit elements from the current Revit document. From here you can perform various operations such as determining the Types that proceed from these families and so on. The example below simply exports the current project family name list to the clipboard so it can be pasted into another program such as Word.