Der Klasse PropertyLine wurden neue Methoden und Eigenschaften hinzugefügt, um die Arbeitsabläufe von Drittanbietern mit Grundstücksgrenzen in Projekten zu verbessern. Zuvor wurde die Klasse PropertyLine ohne eigene Methoden und Eigenschaften angezeigt.

Die freigegebene API bietet volle Unterstützung für die in der Benutzeroberfläche verfügbaren Funktionen für Grundstücksgrenzen, einschließlich:
Methoden (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()
Eigenschaft (1)
public double Area { get; }
| PropertyTableEntry exponierte Eigenschaften | PropertyTableEntry-Methoden verfügbar |
|---|---|
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 ) |
Weitere Informationen finden Sie unter API-Entwicklerhandbuch für Revit.
Diese Funktion wurde von Kunden im Ideas-Forum vorgeschlagen und wird im Produktüberblick beschrieben.