PropertyLine クラスに新しいメソッドとプロパティが追加され、プロジェクト内の敷地境界線を含むサードパーティのワークフローが強化されました。以前は、PropertyLine クラスは独自の専用メソッドとプロパティなしで公開されていました。

公開されている API は、次のような UI で使用できる敷地境界線の機能を完全にサポートします。
メソッド(12)
public static PropertyLine Create(Document document, IList<CurveLoop> curveLoops) public static PropertyLine Create(Document document,IList<PropertyTableEntry> pt) public static bool IsValidBoundary(IList<CurveLoop> curveLoops) public static bool IsValidPropertyTable(Document document,IList<PropertyTableEntry> pt) public void ConvertToTable() public XYZ GetStart() public void SetStart(XYZ start) public void SetBoundary(IList<CurveLoop> curveLoops) public IList<CurveLoop> GetBoundary() public void SetPropertyTable(IList<PropertyTableEntry> newTable) public IList<PropertyTableEntry> GetPropertyTable() public bool IsClosedLoop()
プロパティ(1)
public double Area { get; }
| PropertyTableEntry の公開プロパティ | PropertyTableEntry の公開メソッド |
|---|---|
public double Distance { get; }
public double Bearing { get; }
public int Id { get; set; }
public PropertyTableEntryArcDirection ArcDirection { get; }
public double Radius { get; }
public PropertyTableEntryCurveType CurveType { get; }
|
public static PropertyTableEntry Create( double distance, double bearing, PropertyTableEntryCurveType curveType, double arcRadius, PropertyTableEntryArcDirection arcDir, int id ) public static bool IsValidPropertyTableEntry( double distance, double bearing, PropertyTableEntryCurveType curveType, double arcRadius, PropertyTableEntryArcDirection arcDir ) |
「Revit API 開発者用ガイド」を参照してください。
この機能は、Ideas フォーラムでお客様から推薦により支持を受けたものであり、製品ロード マップに記載されています。