Reputation: 13
When I query element properties in Autodesk forge for a model that is based on NWD file, I only get small set of the element properties than what I see in NavisWorks Manage. On the other hand, when I query the properties for models based on Revit rvt files, I can see all the properties. Is there anyway to get the full properties for nwd files? Just to clarify, I am asking about properties that are already in the NWD file and I can see it in Navisworks. Thanks in advance
Upvotes: 1
Views: 923
Reputation: 28
You can set viewer selection mode by
viewer.setSelectionMode(Autodesk.Viewing.SelectionMode.FIRST_OBJECT)
and then you can get the properties you want.
There are 3 different type: FIRST_OBJECT
, LAST_OBJECT
, LEAF_OBJECT
. the default is LEAF_OBJECT
.
Upvotes: 1
Reputation: 8574
The Model Derivative API will only extract information available on the original file, there are no settings on this process (e.g. which properties to extract), except selecting 2D or 3D views.
If you need information as presented in Revit, then consider using the .RVT file.
Upvotes: 0