BIM Exchange / Content missing elements

BIM Exchange / Content missing elements

Peter.deVries
Enthusiast Enthusiast
10,894 Views
25 Replies
Message 1 of 26

BIM Exchange / Content missing elements

Peter.deVries
Enthusiast
Enthusiast

Hello everyone,

 

I am currently working with Inventor release 2018.1.1 (build 171) and trying to export a part to a Revit Family (.rfa).

 

Yes, 'trying', because the ribbon in the Environment tab doesn't say 'BIM Exchange', but 'BIM Content':


000376.jpg

 

And the 'BIM Content' tab is different than I come across in the tutorials and forums:

 

000377.jpg

 

What happened to the 'Check design' and other commands?

 

Furthermore, when I just click 'Export Building Components' and open it in Revit 2018, there are no properties or editable geometry. It is just one big block.

 

Clues anyone? Because it is rather frustrating to find a solution ...

 

Regards,

Peter

 

 

0 Likes
Accepted solutions (2)
10,895 Views
25 Replies
Replies (25)
Message 2 of 26

Peter.deVries
Enthusiast
Enthusiast

Hi all,

 

Never mind - my company has pushed the wrong version. It should be 'Autodesk Inventor Professional' and not just 'Autodesk Inventor'.

 

So now I am waiting for the correct one 🙂

 

Kind regards,

Peter

0 Likes
Message 3 of 26

DarrenP
Consultant
Consultant

this is not an Inventor Professional feature

this was changed in 2018

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

0 Likes
Message 4 of 26

Peter.deVries
Enthusiast
Enthusiast

Let me update this issue.

This morning, I installed Inventor Professional 2018 and indeed, the 'Environments' ribbon has changed - as shown in this picture

 

000387.jpg 

 

This ribbon does not have the 'Recognize Revit Features' button, nor does 2018 has the 'BIM'-ribbon add-in as 2017 does have.

 

But it is just as DarrenP has indicated: this seems to have changed in Inventor 2018. The question to this is: Why?

It was working perfectly in versions 2016 and 2017: the Inventor dimensions were accessible in Revit 2016 and 2017 respectively. An export of an Inventor Part using 'Export Building Components' also displayed the action 'Rebuilding Revit family file':

 

000388.jpg

 

 

Not so with Inventor Professional 2018! When exporting an Inventor Part to Revit, Revit displays the part as one solid only (after a necessary exploding), with no features recognized what so ever, nor are there any dimensions transported to Revit.

 

In short, how can I export an Inventor Part (or Assembly) to a Revit family?

 

By the way, a similar question c.q. related issue can be found here:

https://forums.autodesk.com/t5/inventor-ideas/inventor-2018-command-regression-check-design-in-bim/i...

 

Hope if anyone has the answer - other than installing Inventor 2017.4 and reference the 2018 parts and have it exported there.

 

Regards,

Peter

 

0 Likes
Message 5 of 26

DarrenP
Consultant
Consultant

@Peter.deVries wrote:

 

Hope if anyone has the answer - other than installing Inventor 2017.4 and reference the 2018 parts and have it exported there.

 

Regards,

Peter

 


this maybe the only answer right now

@johnsonshiue do you know why this changed in 2018?

DarrenP
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

0 Likes
Message 6 of 26

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi Guys,

 

The change is intended. Some tools like Check Design and Recognize Revit Features are removed in 2018. It is because the significant difference between Inventor and Revit making improvement on the two particular workflows extremely difficult. Also, the two commands do not allow assembly to be exported. The team decided to remove the commands based on user feedback and technical difficulty.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 7 of 26

djohnson
Observer
Observer

Very VERY disappointed this feature has been removed, Surely no one has fed back that they do not use this feature. For this reason alone I cannot progress past V 2017. Even if we simplify the model we still need to know if it passes Revit features. I would like a more thorough explanation with detailed reasons why this has been removed as the above reason is poor. p.s. we only moved to Inventor from Creo for the BIM exchange features as per V 2017. I may as well revert back to Creo and get there .IFC exporter add-on....

 

Regards

Message 8 of 26

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi Dean,

 

If you still want the features partially recognized in Revit file, there is actually an API access. Here is the code. You can copy and paste it to a VBA module within a part. Make sure you change the export file name at the bottom.

 

Sub Part2RFA()

Dim oPartDoc As PartDocument
Set oPartDoc = ThisApplication.ActiveDocument

Dim oBIMComp As BIMComponent
Set oBIMComp = oPartDoc.ComponentDefinition.BIMComponent

Dim oNameValueMap As NameValueMap
Set oNameValueMap = ThisApplication.TransientObjects.CreateNameValueMap

'  ExportMethod
'  "NativeRevitFeatures", only support part
'  "DerivedSubstitute", support part and assembly
Call oNameValueMap.Add("ExportMethod", "NativeRevitFeatures")
Call oBIMComp.ExportBuildingComponentWithOptions("C:\aaa.rfa", oNameValueMap)

End Sub

 

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 9 of 26

Peter.deVries
Enthusiast
Enthusiast

Thank you very much for this workaround, johnsonshiue!

This works great for me.

 

And thanks to you djohnson as well for pressing on, so we got the workaround through API Access.

 

Kind regards and have a wonderful day you all,

Peter

0 Likes
Message 10 of 26

djohnson
Observer
Observer

Hi

 

Thank you for the response, as I am new to Inventor could you please point me in the right direction with instructions how to implement the above in Inventor 2018.

 

Regards

0 Likes
Message 11 of 26

johnsonshiue
Community Manager
Community Manager

Hi! There are ways to make this process more elegant. I can show you the simplest way. Start up Inventor and go to Tools -> VBA Editor -> click on the default module under ApplicationProject -> copy and paste the code I provide. Now, open a part you want to translate and go back to Tools -> Macros -> set Macros filter to All Application Projects. You will see "Part2RFA." Just run it. You will get an rfa file in C:\. Please note that the output file name can be changed in the code.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 12 of 26

jnoordzij
Advocate
Advocate
Just how long will this method remain applyable?
0 Likes
Message 13 of 26

johnsonshiue
Community Manager
Community Manager

Hi! The process should remain available until a replacement workflow has been identified.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 14 of 26

Anonymous
Not applicable

Hi. i know this is old, but could you explain me this instruction "change the export file name at the bottom". Where exactly must i change the file name? Could you give me an example, please?

 

0 Likes
Message 15 of 26

johnsonshiue
Community Manager
Community Manager

Hi! In the sample code I shared, there is a line saying "C:\aaa.rfa." If you don't change the name, all exported files will be aaa.rfa and newer one will overwrite the older one.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
Message 16 of 26

m.loorendejong
Observer
Observer

Hello Shiue,

 

I have a question;

Does this method (vba code) also work in Inventor Professional 2019?

I copied the code in Inventor Professional 2019, I get the following error code;

Run-time error '5':

Invalid procedure call or argument

(see also the attachment for the inserted VBA code)

 

Maybe you have a solution?

Thanks!

 

0 Likes
Message 17 of 26

johnsonshiue
Community Manager
Community Manager

Hi! Indeed, the VBA script I provide no longer seems to work on 2019. I need to check with the project team and understand the behavior better.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 18 of 26

EvanGu
Autodesk
Autodesk

Hi! Are you using Windows10? Looks it does not allow to save files to the root directory of Disk C, change to another directory and try again.

 

Sub Part2RFA()

Dim oPartDoc As PartDocument
Set oPartDoc = ThisApplication.ActiveDocument

Dim oBIMComp As BIMComponent
Set oBIMComp = oPartDoc.ComponentDefinition.BIMComponent

Dim oNameValueMap As NameValueMap
Set oNameValueMap = ThisApplication.TransientObjects.CreateNameValueMap

'  ExportMethod
'  "NativeRevitFeatures", only support part
'  "DerivedSubstitute", support part and assembly
Call oNameValueMap.Add("ExportMethod", "NativeRevitFeatures")
Call oBIMComp.ExportBuildingComponentWithOptions("C:\temp\aaa.rfa", oNameValueMap)

End Sub


Evan Gu
Inventor/Fusion QA Engineer
Message 19 of 26

m.loorendejong
Observer
Observer

Hi EvanGu,

 

Thanks, the VBA code is working now. But i still can't edit the geometry in Revit. I exported some parameters like width & length. These exported parameters are "0", you can change them but the model is not updating. The model is still a "dumb" block (non editable).

 

Maybe you have another clue?

 

Thanks!

0 Likes
Message 20 of 26

EvanGu
Autodesk
Autodesk

Hi! Only feature parameters (Extrude distance, Revolve angle) can be edited to drive the model update in Revit, parameters added by sketch dimensions in Inventor do not associate to the sketch in Revit. You need to add "Label" to build the connection.

Parameters d31, d35... are exported from Inventor, select a sketch dimension and add label to a parameter. Then edit the parameter, the model can update accordingly.

lalel.png


Evan Gu
Inventor/Fusion QA Engineer