答案 0 :(得分:1)
您可以通过sectionExtension.tool
访问截面框的几何信息:
const sb = viewer.getExtension('Autodesk.Section')
sb.tool.getSectionBoxValues()
//sectionBox: (6) [-2.8294310569763184, -6.648449420928955, -9.332106590270996, -0.0652092695236206, -1.3873761892318726, -3.4865833520889282]
//sectionBoxTransform: (16) [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1]