Revit二开–实体剪切
Revit二次开发课程(http://bimdp.ke.qq.com)
在revit的开发过程中用到的剪切有很多种,例如,墙和梁的剪切,洞口和墙的剪切,空心族的剪切等等,每种剪切采用的方法并不一样。
在此做简要举例说明。实体剪切 SolidSolidCutUtils.
实体剪切
first
Remark:
These utilities are applicable for the generic forms, geometry combinations and family instances in conceptual model, pattern based curtain panel, or adaptive component families, and family instances which are permitted to participate in joining in projects. Thus, for example, a beam cannot cut a wall (as the wall is not a family instance) in projects. Nor can a steel beam participate in cutting another family (because steel beams do not participate in joining).
注:
这些功能应用于一般体量,几何连接和概念模型中的族实例,幕墙嵌板,自适应的构建族,在项目中被允许参与连接的族实例。……
thus
应用范围有限,所以使用时要认清目标对象是否符合这些条件。
and then
public static class SolidSolidCutUtils
{
//在实体间添加剪切
public