view属性释义



所有点的坐标均从视图左下角(0,0)起算
图纸比例为1:20,打印出的图纸测试相应点坐标时需根据图纸比例计算
1. Origin(149.1,46.125,0)
api:The view origin coordinates in the sheet.
2. ExtremaCenter(191.6,47.875,0)
为图3中洋红色方框的中心点
3.FrameOrigin(-9.5,-14.25,0)
api:The vector from the view origin to the frame origin.
即:origin point->frame point
4. RestrictionBox
api:The axis aligned bounding box that represents the volume of the view
return :T3D.AABB

本文详细解析了三维视图中的Origin、ExtremaCenter、FrameOrigin、RestrictionBox等属性,以及如何根据图纸比例计算实际坐标。同时介绍了view.GetRelatedObjects()和view.GetModelObjects()方法,用于提取视图关联的对象和视图范围内的模型元素,如钢筋和构件。
最低0.47元/天 解锁文章
2796





