Se han añadido nuevos métodos y propiedades a la clase PropertyLine para mejorar los flujos de trabajo de terceros que implican líneas de propiedad en los proyectos. Anteriormente, la clase PropertyLine se mostraba sin sus propios métodos y propiedades específicos.

La API mostrada proporciona compatibilidad completa con las funciones de línea de propiedad disponibles en la interfaz de usuario, entre las que se incluyen:
Métodos (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()
Propiedad (1)
public double Area { get; }
| Propiedades mostradas de PropertyTableEntry | Métodos mostrados de 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 ) |
Consulte la guía para desarrolladores de API de Revit.
Esta función la han sugerido los clientes en el foro de ideas y se describe en el plan de productos.