Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Export to different file formats in the API

3 REPLIES 3
Reply
Message 1 of 4
sanderobdeijn
984 Views, 3 Replies

Export to different file formats in the API

Through the ui I can saveas

  • .nwf (2015)
  • .nwf (2014)
  • .nwf (2013)
  • .nwd (2015)
  • .nwd (2014)
  • .nwd (2013)

I can export to

  • 3d DWF
  • FBX
  • KML

And i can publish with extra options to NWD(2015)

 

If i look at the api I can only find.

Save to NWF. 2015/2014/2013

With the following command:

Application.ActiveDocument.SaveFile("FileName.nwf", DocumentFileVersion.Current);

 

and publishing to NWD 2015

PublishProperties properties = new PublishProperties();

Autodesk.Navisworks.Api.Application.ActiveDocument.PublishFile("FileName.nwd", properties);

 

Are the other options also exposed?

 

 

3 REPLIES 3
Message 2 of 4

Hi,

as far as I know, API has not exposed all abilities of product. exporting FBX is one wish which has been logged. sorry for this.
Message 3 of 4
uros3d
in reply to: xiaodong_liang

So, there is no API exposed export options, but is it possible to extract for example, geometry and property information and make a custom exporter?

 

Also, when exporting to FBX only geometry and materials are exported, right? It seems to lose all element properties... Is it FBX format limitation or is it FBX exporter's fault?

Message 4 of 4
xiaodong_liang
in reply to: uros3d

Hi,

 

API allows you to get primitives of the geometries and the object's properties

http://adndevblog.typepad.com/aec/2012/05/get-primitive-from-solid-of-navisworks.html

http://adndevblog.typepad.com/aec/2012/05/navisworks-net-api-properties.html

 

As to the ability of FBX exporter, it is a kind of product question, sorry I have not an answer. I'd suggest you could post it on product board. Thanks for your understanding.

http://forums.autodesk.com/t5/Navisworks-General/bd-p/372

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report