I am working on Autocad
using C# so need to know whether there is any way to get flat list
of layers from the dwg
file (using urn).
Right now I am using "GetModelviewPropertiesAsync
" method of Autodesk
library, but this is giving me of hierarchical data and it is not efficient to iterate through each loop.
Also tried this api Link. This is also not giving me a flat list
.
Please help.
The Forge Model Derivative APIs only provide the structured properties. Forge Viewer obtains the layers by traversing through the properties (just once) after loading the urn. Is there any reason why you'd need to traverse the properties in a loop?