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
maxpoint,minpoint均以Origin为原点
maxpoint:(1835,100,100)
x:图3洋红色框的最右边x值
y:图3洋红色框的最上边y值
z:视图深度up值
minPoint:(-135,-30,-100)
x:图3洋红色框的最左边x值
y:图3洋红色框的最下边y值
z:视图深度down值
5.view.GetRelatedObjects()
说明:提取与view相关的对象
6. view.GetModelObjects()
说明:
提取内容包括:
1.view视图范围内的所有钢筋对象
2.构件上附加的预埋件及构件本身