首页 > 解决方案 > 是否有在 revit api c# 2021 中使用 ParameterSplit 的替代方法?

问题描述

我正在尝试创建一种在 Revit 中拆分钢筋的方法。我注意到 ParameterSplit 在 2015 API 文档中使用,有谁知道是否有替代方案?

代码片段如下,geocurve 类型为 Curve

Curve[] curves = geocurve.ParameterSplit(geocurve.ComputeNormalizedParameter(geocurve.ComputeClosestPoints(curve, true, true, true, out IList<ClosestPointsPairBetweenTwoCurves> resultList)));

我还在下面的链接中检查了新的更新更改,似乎没有任何东西可以用来分割钢筋?

https://thebuildingcoder.typepad.com/blog/2017/04/whats-new-in-the-revit-2018-api.html#2.11

提前谢谢你

标签: c#revit-apiautodesk

解决方案


推荐阅读