API Navisworks export Faceting factor

API Navisworks export Faceting factor

dante.van.wettum
Advocate Advocate
2,107 Views
11 Replies
Message 1 of 12

API Navisworks export Faceting factor

dante.van.wettum
Advocate
Advocate

Is there any way to set the Faceting factor when exporting trough the API?

It seems that all exports i make trough API navisworks export are done with a faceting factor of 1 now instead of a higher number.

 

Things i tried: 

- Looking for an option to set it in the API; there seems to be no way to set navisworks trough NWCExportoptions

- Checking the saved faceting factor within the registry; its stored with a value of 10 instead of the default 1; It seems the stored value is ignored when exporting trough the API, and falls back to the default 1 value.

- Edit the registry key just before i call the doc.Export method (but after setting nwxExportOptions); result is the same, its back to default 1 faceting factor.

 

Are there any options that i can set or try to get it to work? 

We automated the export of about 80 nwc exports, but without proper faceting factor we are back to manual exporting where the faceting does work.

0 Likes
Accepted solutions (2)
2,108 Views
11 Replies
Replies (11)
Message 2 of 12

jeremytammik
Autodesk
Autodesk

Dear Dante,

 

Thank you for your query.

 

However, you appear to have submitted it to the wrong forum.

 

This one is for the Revit API.

 

For Navisworks API questions, please submit it in the Navisworks API forum:

 

https://forums.autodesk.com/t5/navisworks-api/bd-p/600

 

Thank you!

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 12

dante.van.wettum
Advocate
Advocate

Well, it might be more of a gray area?

im making the exports from revit, using the NavisworksExportOptions Class from the Revit API.

for reference: http://www.revitapidocs.com/2015/a58dbe71-1be7-dad6-51b6-5386c162cf87.htm

 

I guess the gray area here is that the Revit API doesnt seem to support in setting all the options, but i am doubtfull i will find an answer in the Navisworks API forums (although i'll try making a duplicate of this topic).

 

Maybe i should make a support ticket with Autodesk instead in customer portal ?

 

0 Likes
Message 4 of 12

jeremytammik
Autodesk
Autodesk

Dear Dante,

 

Thank you for your clarification.

 

Oh, I see, you are in fact using the Revit API, and its NavisworksExportOptions class.

 

Then, of course, the topic is perfectly placed right here.

 

No, you do not need to raise another ticket anywhere else.

 

Your query in the Revit API discussion forum has already been automatically escalated to ADN DevHelp and generated the ADN ticket 14404629 [API Navisworks export Faceting factor].

 

Any thread that you submit here using your email address registered as an ADN member will be recognised as such and automatically escalated to us in the ADN team.

 

Regarding your question itself, it appears that quite a number of Revit export functionalities depend on the current view settings of the model, and small objects may be dropped, cf.:

 

 

Therefore, I wonder whether there is any way that you can enlarge the view settings or zoom factor?

 

Otherwise, I'll have to ask the development team and hear what they may be able to suggest.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 5 of 12

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Dante,

 

Thank you for your patience.

 

I discussed this with the development team. They say:

 

Looks like this option never made it into Revit API.  I see where it's used in the Navisworks exporter.   I even see where in the exporter it defaults to 1.   I don't see a workaround to make this work differently without a code change.

 

Consequently, I logged the issue NW-54315 [API wish: Revit export to Navisworks Faceting factor -- 14404629] with our development team for this on your behalf as it requires further exploration and possibly a modification to our software. Please make a note of this number for future reference.

 

You are welcome to request an update on the status of this issue or to provide additional information on it at any time quoting this change request number.

 

This issue is important to me. What can I do to help?

 

This issue needs to be assessed by our engineering team and prioritised against all other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:

 

  • Impact on your application and/or your development.
  • The number of users affected.
  • The potential revenue impact to you.
  • The potential revenue impact to Autodesk.
  • Realistic timescale over which a fix would help you.
  • In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.

 

This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 6 of 12

dante.van.wettum
Advocate
Advocate

Thank you for checking with the development team and logging the case.

Too bad the current API is not exposed for this functionality.

 

I will also log the case within my company as well, and see if this is a subject that can be addressed trough the EBA that our company has with Autodesk, so we can go into more detail of our tools and the impact for our workflow.

0 Likes
Message 7 of 12

jeremytammik
Autodesk
Autodesk

Yes, please, that would be great! Thank you!

 

Cheers,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 8 of 12

jeremytammik
Autodesk
Autodesk

I added the business case that I received from Menno de Jonge of BAM to the development issue NW-54315 [API wish: Revit export to Navisworks Faceting factor -- 14404629, 14613886].

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 9 of 12

Bruno.Torrinha
Explorer
Explorer

Dear Jeremy,

 

I am currently part of a BIM department within a worldwide company in the AEC industry and while trying to create some automations in Revit for exporting to NWC I also found the same issue regarding the access to the Faceting Factor exporter option.

I would take this chance also to express our interest in further development around the fixing of this issue.

Thank you for your help.

 

Best Regards,

 

Bruno Torrinha

0 Likes
Message 10 of 12

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Bruno,

 

Thank you for your interest.

 

The development issue NW-54315 [API wish: Revit export to Navisworks Faceting factor -- 14404629, 14613886] has been resolved.

 

I believe that the fix will be included in the next major release of Revit.

 

If you are interested in trying it out right now to see whether it satisfies all your requirements, please register at the Autodesk beta site and test it in the current pre-release of Revit:

 

https://feedback.autodesk.com

 

Thank you!

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 11 of 12

Bruno.Torrinha
Explorer
Explorer

Hello Jeremy,

 

Thank you for the quick response. I have given a look at feedback.autodesk.com but I could not find Revit pre-release in the available opportunities. Currently we are testing the 2019 version but workwise we are still using 2017 worldwide, will it exist any fix for these two versions?

 

Regards

Bruno Torrinha

0 Likes
Message 12 of 12

jeremytammik
Autodesk
Autodesk

Dear Bruno,

 

Thank you for your update and background info.

 

My pleasure entirely.

 

The only way to get a fix for Revit 2017 is by providing an extremely compelling business case.

 

The development team have long finished work on the major release following Revit 2019, so they are now working on the one after that, and probably the one after that as well.

 

Revit 2017 is so far back most of them can probably not remember it, and may never have seen it either.

 

Probably no sensible person in the world is still using the development environment required for Revit 2017 in everyday professional work.

 

So, the best of luck to you making your business case really compelling  🙂

 

Best regards,

 

Jeremy

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes