c# - 是否有在 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
提前谢谢你
解决方案
推荐阅读
- python-3.x - ValueError: 层序号_6 的输入 0 与层不兼容:预期 ndim=4,发现 ndim=3。收到的完整形状:[32、28、28]
- javascript - 更改选择选项中的选定值
- javascript - 无法在 useState 挂钩中设置数组
- arduino - Arduino——如何将字符串和数组组合在一个字符串变量中
- c# - Linq 连接不包括实体框架中子表中的数据
- javascript - 如何按照预定的层次结构对javascript数组进行排序
- java - spring bean 在 mockito 测试中为空
- azure - Azure 表存储更新使列为 Null
- sql - 如何在 Postgres 中获取枚举数据类型的 AVG?
- python - 在 Python 中每 30 分钟读取一个文件