Foram adicionados novos métodos e novas propriedades à classe PropertyLine para aprimorar os fluxos de trabalho de terceiros que envolvem linhas de propriedade em projetos. Anteriormente, a classe PropertyLine era exposta sem seus próprios métodos e propriedades dedicados.

A API exposta fornece suporte completo para a funcionalidade Linha de propriedade disponível na interface do usuário, incluindo:
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()
Propriedade (1)
public double Area { get; }
| Propriedades PropertyTableEntry expostas | Métodos PropertyTableEntry expostos |
|---|---|
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 Guia para Desenvolvedores de APIs do Revit.
Esse recurso foi sugerido pelos clientes no Fórum de ideias e é descrito no roteiro de produtos.