AcDbCivilTinSurface::triangles on brics 2021

Hi,

function TinSurfaceTriangles ::triangles returns an array of triangles- each triangle includes 3 identical points (unlike B20, where it works fine).
Is there any workaround?

Thanks,
Simon

Comments

  • Terry Dotson
    edited December 2020

    I can't reproduce that problem (works here) on 21.1.04 (x64) revision 86916 using .Triangles. Are you using the .Triangles or .GetTriangles(includeInvisible As Boolean)?

  • I am using
    virtual bool triangles(AcTinTrianglesArray& triangles, const bool visibleOnly = false) const;
    on 21.1.05 (x64) revision 87753 and BRXSDK_r15543_for_Bcad_V21_1_04

  • Dear All,

    yes, unfortunately there was such a defect in the mentioned function :-(
    Will be fixed in next BricsCAD update ... coming soon.

    many greetings !

  • To check I installed 21.1.05. You must be using BRX (not .NET) because I don't see a match for that. The C# .Triangles (which works) is ...

    public System.Collections.Generic.IEnumerable Triangles { get; }
    Member of Bricscad.Civil.TinSurfaceStatic

    I would suggest you submit a support request, they seem to be quite responsive to developers needs lately.