Autodesk Forge Viewer How to get coordinates of line start/stop
问题 I am trying to do room highlighting in forge viewer. In revit I have created lines that represent the borders of a room. After conversion to svf I know the dbids of those lines. Now I want to know the start and stop points (vertices) of those lines so that I can create a Three.Shape() of the room borders. [EDIT] I get the fragId from dbId function getFragIdFromDbId(viewer, dbid){ var returnValue; var it = viewer.model.getData().instanceTree; it.enumNodeFragments(dbid, function(fragId) {