:orphan:

###################
Autodesk DWF Reader
###################

.. rst-class:: format-title-block

+----------------------------------------------------------------------+
|                        **Autodesk Design Web Format**                |
+-----------------------------------------+----------------------------+
| **File Extension**                      | DWF, DWFX                  |
+-----------------------------------------+----------------------------+
| **Supported Versions**                  | Any                        |
+-----------------------------------------+----------------------------+
| **Platforms**                           | |wy| |ly| |mn| |an| |iy|   | 
+-----------------------------------------+----------------------------+
| :ref:`dwf_tessellation`                 | |t_green| Supported        |
+-----------------------------------------+----------------------------+
| :ref:`dwf_brep`                         | |c_grey| N/A               |
+-----------------------------------------+----------------------------+
| :ref:`dwf_pmi`                          | |c_grey| N/A               |
+-----------------------------------------+----------------------------+

The Autodesk DWF (Design Web Format) Reader provides full access to the Assembly and Visualization data stored within a particular DWF file. 

A file does not need to have a particular extension to be read correctly by HOOPS Exchange. However, the file extensions of DWF files that you can expect to be loaded by HOOPS Exchange are:

* `.DWF`
* `.DWFX`

How to Import From DWF
======================

To load an Autodesk DWF file, use :cpp:func:`A3DAsmModelFileLoadFromFile`.
The :cpp:struct:`A3DParamsLoadData` structure is used to customize the loading behavior:

.. code-block:: c

   A3DAsmModelFile* pModelFile = 0;

   A3DRWParamsLoadData sReadParam;
   A3D_INITIALIZE_DATA(A3DRWParamsLoadData, sReadParam);
   sReadParam.m_sGeneral.m_bReadSolids = true;

   // ... set other A3DRWParamsLoadData fields as necessary

   A3DAsmModelFileLoadFromFile("path/to/file.dwf", &sReadParam, &pModelFile);

See :doc:`/guide/basic_operations/load_model` for more about loading model files.

.. _dwf_tessellation: 

Tessellation
============

The triangle information along with the RGBA coloring and texture information is parsed and provided via HOOPS Exchange.

.. _dwf_brep: 

B-rep
=====

B-rep is not supported for DWF.

.. _dwf_pmi: 

PMI
===

This concept is not supported by DWF.

Assembly
========

Incremental load is not supported for DWF.

Views
=====

This concept is not supported by DWF.

Miscellaneous
=============

Import Options Specific to DWF
******************************

None

Restrictions
************

* DWF import is only available for Windows and Linux
* Only 3D objects are supported
