请选择 进入手机版 | 继续访问电脑版

01BIM社区

 找回密码
 立即注册

扫一扫,访问微社区

12
返回列表 发新帖
楼主: tzbm123456

建筑工程——土建部分

[复制链接]

90

主题

182

帖子

799

积分

高级会员

Rank: 4

积分
799
发表于 2019-7-3 16:19:27 | 显示全部楼层
成员函数
1、initialize(m_Entities=Sketchup.active_model.entities)
2、setEntityID(m_EntityID)
3、setBuildingStr(m_BuildingStr)
4、setFloorStr(m_FloorStr)
5、setType(m_Type)
6、setBianHao(m_BianHao)
7、setEngiMatStr(m_EngiMatStr)
8、setWallDepth(m_WallDepth)
9、setElevationBottom(m_ElevationBottom)
10、setElevationTop(m_ElevationTop)
11、setFloorElevation(m_FloorElevation)
12、setPoint1(m_Point1)
13、setPoint1Left(m_Point1Left)
14、setPoint1Right(m_Point1Right)
15、setPoint2(m_Point2)
16、setPoint2Left(m_Point2Left)
17、setPoint2Right(m_Point2Right)
18、setPoint3(m_Point3)
19、setPoint3Left(m_Point3Left)
20、setPoint3Right(m_Point3Right)
21、setLeftDepth(m_LeftDepth)
22、setLeftMat(m_LeftMat)
23、setRightDepth(m_RightDepth)
24、setRightMat(m_RightMat)
25、setBottomMat(m_BottomMat)
26、setTopMat(m_TopMat)
27、setFirstMat(m_FirstMat)
28、setLastMat(m_LastMat)
29、setHoleMat(m_HoleMat)
30、setHole(m_Hole)
31、setHoleBottomOffset(m_HoleBottomOffset)
32、setCenPtBottom(m_CenPtBottom)
33、countVariable()
34、updatePtLR(): 获取@mLeftArrB、@mRightArrB、@mLeftArrT、@mRightArrT 用于IM用户
35、createEntity():调用层,生成实体主程序
36、createEntArcDef_JM():定义层,创建实体子程序——初级会员
37、drawEntArcCore_JM(ents):核心层,绘制实体子程序,供初级会员的定义层使用
38、createEntArcDef_IM():定义层,创建实体子程序——中级会员
39、drawEntArcCore_IM(ents):核心层,绘制实体子程序,供中级会员的定义层使用
40、setAttribute():设置实体属性
41、getValues(dictionary):获取字典值数组
42、getKeys(dictionary):获取字典关键字数组
43、getDictKeyValue(dictionary,key):获取字典关键字对应的值
44、getDictLength(dictionary):获取字典关键字个数
45、updateArguments():根据新实体ID更新实例变量
46、countSerialNum():计算name包含"WallArc"实体的总数量,返回值为Fixnum型值,赋予@mSerialNum
47、createHoleArc():绘制弧墙墙洞
48、calculationLAV():统计长度、面积、体积
49、createHoleArr():根据实例变量@mHoleArr绘制墙洞
50、viewDrawStandardFrame(view):视图绘制墙体标准边框
51、viewDrawEntityFrame(view):视图绘制墙体实际边框
viewDrawEntityHole(view):视图绘制实际墙洞

学而不思则罔,思而不学则殆
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|01BIM社区 - 最专业的BIM技术交流平台 ( 渝ICP备15000873号 )

GMT+8, 2024-3-29 04:39 , Processed in 0.052809 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表