Click or drag to resize

ComponentBase Methods

返回用户文档首页

The ComponentBase type exposes the following members.

Methods
 NameDescription
Public methodAddChild 将对象添加为组件的子对象
Public methodCreateAlignPlane(PartBase, Plane, Boolean) 创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
Public methodCreateAlignPlane(PartBase, Plane, Double, Double, Boolean) 创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
Public methodCreateAutoWeld 创建自动焊缝
Public methodCreateBeamCutter 创建梁切割体
Public methodCode exampleCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, Boolean) 创建螺栓组
Public methodCode exampleCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, Boolean) 创建螺栓组
Public methodCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, String, Double, UInt32, Boolean)Obsolete.
创建螺栓组
Public methodCreateBoltGroup(PartBase, PartBase, Vec3, Vec3, String, Double, UInt32, Boolean)Obsolete.
创建螺栓组
Public methodCreateBoltHoles(PartBase, PartBase, Vec3, Vec3, Boolean) 创建螺栓孔组
Public methodCreateBoltHoles(PartBase, PartBase, Vec3, Vec3, Boolean) 创建螺栓孔组
Public methodCreateCutPlane(PartBase, Plane, Boolean) 创建零件的切割面(对目标零件执行面切割)
Public methodCreateCutPlane(PartBase, Plane, Double, Double, Boolean) 创建零件的切割面(对目标零件执行面切割)
Public methodCreateLine 创建辅助线
Public methodCreateObject(DefineObjectType, Boolean) 创建对象,新对象会作为组件的子对象
Public methodCreateObject(DefineObjectType, Vec3, Boolean) 创建对象,
Public methodCreatePlateCutter(PartBase, Plane, Plane, Plane, Boolean) 创建板切割体(对目标零件执行切割)
Public methodCreatePlateCutter(PartBase, Vec3, Double, DefineObjectSide, Boolean) 
Public methodCreatePoint 创建辅助点
Public methodCreatePolyWeld 创建多边形焊缝
Public methodCreateQuad 创建辅助面片
Public methodCreateSteelBeam 获取或创建钢梁
Public methodCreateSteelPlate(Plane, Plane, Plane, Boolean) 创建钢板
Public methodCreateSteelPlate(Plane, Double, Plane, Boolean) 创建钢板
Public methodCreateSteelPlate(Vec3, Double, DefineObjectSide, Boolean) 创建钢板
Public methodCreateSteelPolyBeam 创建钢折形梁
Public methodDeleteObject 删除子对象
Public methodDeleteObjects 删除子对象组
Public methodFlush 将对象属性同步到对应的内核对象
(Inherited from ObjectBase)
Public methodGetOrCreateAlignPlane(String, PartBase, Plane) 获取或创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
Public methodGetOrCreateAlignPlane(String, PartBase, Plane, Double, Double) 获取或创建零件的对齐面(对目标零件执行面对齐,只对直梁、折形梁零件有效)
Public methodGetOrCreateAutoWeld 获取或创建自动焊缝
Public methodGetOrCreateBeamCutter 获取或创建梁切割体
Public methodCode exampleGetOrCreateBoltGroup(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓组
Public methodCode exampleGetOrCreateBoltGroup(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓组
Public methodGetOrCreateBoltHoles(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓孔组
Public methodGetOrCreateBoltHoles(String, PartBase, PartBase, Vec3, Vec3) 获取或创建螺栓孔组
Public methodGetOrCreateCutPlane(String, PartBase, Plane) 获取或创建零件的切割面(对目标零件执行面切割)
Public methodGetOrCreateCutPlane(String, PartBase, Plane, Double, Double) 获取或创建零件的切割面(对目标零件执行面切割)
Public methodGetOrCreateLine 获取或创建辅助线
Public methodGetOrCreateObject(String, DefineObjectType) 创建对象,新对象会作为组件的子对象
Public methodGetOrCreateObject(String, DefineObjectType, Vec3) 创建对象,
Public methodGetOrCreatePlateCutter(String, PartBase, Plane, Plane, Plane) 获取或创建板切割体(对目标零件执行切割)
Public methodGetOrCreatePlateCutter(String, PartBase, Vec3, Double, DefineObjectSide) 
Public methodGetOrCreatePoint 获取或创建辅助点
Public methodGetOrCreatePolyWeld 获取或创建多边形焊缝
Public methodGetOrCreateQuad 获取或创建辅助面片
Public methodGetOrCreateSteelBeam 获取或创建钢梁
Public methodGetOrCreateSteelPlate(String, Plane, Plane, Plane) 获取或创建钢板
Public methodGetOrCreateSteelPlate(String, Plane, Double, Plane) 获取或创建钢板
Public methodGetOrCreateSteelPlate(String, Vec3, Double, DefineObjectSide) 获取或创建钢板
Public methodGetOrCreateSteelPolyBeam 获取或创建钢折形梁
Public methodGetUserVariable 获取组件中配置的用户变量
Public methodModifyUIProps 修改UI交互属性
Public methodRefresh 刷新内核对象
(Inherited from ObjectBase)
Public methodRefreshCompObsolete.
刷新组件,此方法已弃用,请使用Refresh()代替
Public methodSetLocalCtrlPoints 在本地坐标系下设置控制点
(Inherited from TFObject)
Public methodSetWorldCtrlPoints 在世界坐标系下设置控制点 NOTE: points中坐标位置受Scene.GlobalTransform影响
(Inherited from TFObject)
Top
See Also