Autodesk.Revit.DB.BuiltInFailures.StructuralConnectionFailures
枚举类型定义了 REVIT 结构连接的建模失败类型。
该枚举类型用于捕获 REVIT 中结构连接构件建模过程中可能出现的各种错误,以辅助开发者在编写 REVIT 插件时进行异常处理。
该枚举类型定义了以下成员:
CutNotPerpendicularToCutPlane
: 连接截面断面不垂直于截面平面错误EndCutsOverlap
: 连接端点重合错误MixedMaterials
: 材料不匹配错误NonPlanarCuts
: 连接面不是平面错误NotPerpendicularToCutPlane
: 连接方向不垂直于截面平面错误可以通过以下方式使用 Autodesk.Revit.DB.BuiltInFailures.StructuralConnectionFailures
枚举类型:
try
{
// some code that may throw a StructuralConnectionFailures exception
}
catch(StructuralConnectionFailures e)
{
// handle the exception
}
Autodesk.Revit.DB.BuiltInFailures.StructuralConnectionFailures
异常。