Sharing Inventor 2021 data to earlier version Revit rfa

If you are a manufacturer working with customers in construction it’s often a requirement to provide product models in a BIM compatible format, commonly a Revit format.

Sharing Inventor 2021 data to earlier version Revit rfa

Inventor 2021 gives us the option to work with Revit data and share data to Revit. We can share data directly from the Inventor BIM Content Environment.

When we export we can save out to rfa format, however, there is no option to choose which Revit version we are saving out as.

If your client is using an earlier Revit version this can be a problem.

There is though a method you can follow to set up your system to be able to export out to an earlier version, up to three versions earlier than your current version.

In this blog article, we will provide you with the required setup steps and an iLogic rule that will access this undocumented feature. 

 

Installation Requirements

  1. Install the matching Inventor legacy version. This can be up to three versions behind the latest release so currently 2018.
  2. Install the latest Inventor version, currently 2021.
  3. Obtain the latest version of Navisworks media. Copy RFATranslator.Translate.RevitServerLegacy.exe from Navisworks install files to legacy Inventor version Revit interoperability folder.

e.g. copy from Autodesk_Navisworks_Manage_2021_Multilingual_Win_64bit_dlm\x64\NAVMAN\Autodesk\Ldr\IVS\Bin

to

C:\Program Files\Common Files\Autodesk Shared\Revit Interoperability for Inventor 2018\Rx\

 

  1. You can Install the Revit legacy version to check your exported models and also gain access to the Revit templates. If you don’t have a Revit license you can run it in view-only mode. If you need to make any post export modifications you will require a Revit license to make any changes to the exported file in Revit.

 

iLogic Rule

You will require an iLogic rule to access the custom export functionality.

Create this as an external rule. 


Dim oBIMComp As BIMComponent

Dim selectedTemplate As String

Dim targetFile As String

oBIMComp = ThisApplication.ActiveDocument.ComponentDefinition.BIMComponent

Dim templateFileDlg As Inventor.FileDialog = Nothing

InventorVb.Application.CreateFileDialog(tFileDlg)

templateFileDlg.DialogTitle() = "Select Template for Export"

templateFileDlg.Filter = "Revit Family Template (*.rft)|*.rft"

templateFileDlg.InitialDirectory = "C:\ProgramData\Autodesk\RVT 2018\Family Templates\English"

templateFileDlg.CancelError = True

On Error Resume Next

templateFileDlg.ShowOpen()

If Err.Number <> 0 Then

        Return

        ElseIf templateFileDlg.FileName <> "" Then

        selectedTemplate = templateFileDlg.FileName

End If

Dim oNameValueMap As NameValueMap

oNameValueMap = ThisApplication.TransientObjects.CreateNameValueMap

oNameValueMap.Add("CustomRevitFamilyTemplate", selectedTemplate)

oNameValueMap.Add("RevitFileVersion", "Legacy")

Dim oFileDlg As Inventor.FileDialog = Nothing

InventorVb.Application.CreateFileDialog(oFileDlg)

oFileDlg.Filter = "Revit Family Files (*.rfa)|*.rfa"

oFileDlg.InitialDirectory = ThisDoc.Path

oFileDlg.CancelError = True

'On Error Resume Next

oFileDlg.ShowSave()

If Err.Number <> 0 Then

        Return

        ElseIf oFileDlg.FileName <> "" Then

        targetFile = oFileDlg.FileName

End If

oBIMComp.ExportBuildingComponentWithOptions(targetFile, oNameValueMap)

MessageBox.Show("Export to " & targetFile & " finished.", "RFA Export Rule Complete")

There is more to BIM though than just the model itself. If you need to know more about BIM as a manufacturer and what’s required, please get in contact with us by emailing info@symetri.co.uk.

If you want to learn more about iLogic we have On-demand webinars available, training courses and services to enable you to boost your productivity. 

Blog

It’s time to get serious with Autodesk Fusion.

07 February 2024

After Autodesk University 2023, it was clear that Autodesk was making a huge impact with their platform for manufacturing software on and off when needed. It has always been one of the best ideas in my mind, and Autodesk is now having. They announced the Fusion Industry Cloud, which is based on true connection of data, people, and processes.

Learn more
Blog

Autodesk Education Verification Process

01 February 2024

Autodesk provides free licences to their software for authorised education users, such as students and educators. To access these licences, educators are required to get their accounts verified by Autodesk for educational use. This blog will detail the steps involved in verifying your access.

Learn more