Revit.SDK.Samples.CurtainWallGrid.CS.GridDrawing.GetLines2D C# (CSharp) Метод

GetLines2D() публичный Метод

get the 2D data of the curtain grid the original data is in CurtainGridLine/XYZ/Curve format of Revit, change it to Point/GridLine2D format
public GetLines2D ( ) : void
Результат void
        public void GetLines2D()
        {
            // clear the data container first to delete all the obsolete data
             m_uGridLines2D.Clear();
             m_vGridLines2D.Clear();
             m_boundLines2D.Clear();
             m_uLinePathList.Clear();
             m_uSegLinePathListList.Clear();
             m_vSegLinePathListList.Clear();
             m_vLinePathList.Clear();
             m_boundPath.Clear();
             m_drawObject.Clear();
             // initialize the matrixes used in the code
             m_coordinates.GetMatrix();
             // get the U grid lines and their segments (in GridLine2D format)
             GetULines2D();
             // get the V grid lines and their segments (in GridLine2D format)
             GetVLines2D();
             // get all the boundary lines (in GridLine2D format)
             GetBoundLines2D();
             // check whether the segments are "isolated"
             // (the "isolated" segments will be displayed especially in the sample)
             // how a segment is "isolated": for a segment, at least one of its end points doesn't
             // have any other segments connected.
             UpdateIsolate();
        }