Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
278 views
in Technique[技术] by (71.8m points)

Not able retrieve floor data using Autodesk.AEC.LevelsExtension in NWC file

I am trying to find the mix and max of floors in autodesk forge viewer. For getting levels I used 'Autodesk.AEC.LevelsExtension' extension in autodesk. by using this extension I retrieve the floor data and then calculate the min and max the above approach works well with .rvt files but does not work for .nwc

the reason some people told is while exporting to .nwc AEC data is not included.

so my question is, is there any other way I can retrieve the floor data of floor max and mix in autodesk forge viewer


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I looked at the properties of a Revit floor in an RVT BIM imported into a NavisWorks NWD file.

Among many others, the floor contains the following Revit Element properties:

Element (LcRevitData_Element)
  Name (LcRevitPropertyElementName) = Generic 150mm (DisplayString)
  Type (LcRevitPropertyElementType) = Generic 150mm (DisplayString)
  Family (LcRevitPropertyElementFamily) = Floor (DisplayString)
  Category (LcRevitPropertyElementCategory) = Floors (DisplayString)
  Id (LcRevitPropertyElementId) = 346574 (Int32)
  Level (lcldrevit_parameter_-1001952) = LcRevitElement(Level "Level 1", #311) (NamedConstant)
  Height Offset From Level (lcldrevit_parameter_-1001951) = 0 (DoubleLength)
  Structural (lcldrevit_parameter_-1001954) = false (Boolean)
  Phase Created (lcldrevit_parameter_-1012100) = LcRevitElement(Phase "New Construction", #86961) (NamedConstant)
  Enable Analytical Model (lcldrevit_parameter_-1001552) = false (Boolean)
  Slope (lcldrevit_parameter_-1006016) = 0.00° (DisplayString)
  Room Bounding (lcldrevit_parameter_-1001007) = true (Boolean)
  Perimeter (lcldrevit_parameter_-1001953) = 74.8 (DoubleLength)
  Area (lcldrevit_parameter_-1012805) = 325.5 (DoubleArea)
  Volume (lcldrevit_parameter_-1012806) = 160.19 (DoubleVolume)
  Related to Mass (lcldrevit_parameter_-1001713) = false (Boolean)
  Elevation at Top (lcldrevit_parameter_-1001598) = 0 (DoubleLength)
  Elevation at Bottom (lcldrevit_parameter_-1001561) = -0.49 (DoubleLength)
  Thickness (lcldrevit_parameter_-1001900) = 0.49 (DoubleLength)

Afaict, the elevation at top and bottom data should enable you to retrieve the information you are after.

Of course, this will only work assuming the following is true:

  • The floors are authored in Revit
  • The Revit Element properties I see in NavisWorks are exported to Forge

Please check and confirm whether these assumptions hold and whether that solves your problem.

In any case, we would be very interested to hear any other results and solutions that you find.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...