stores all the properties of the curtain grid and manages the behaviors and operations of the curtain grid
Beispiel #1
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="myDoc">
 /// the document of the sample
 /// </param>
 public GridGeometry(MyDocument myDoc)
 {
     m_myDocument     = myDoc;
     m_commandData    = myDoc.CommandData;
     m_activeDocument = myDoc.Document;
     m_gridProperties = new GridProperties();
     //m_activeGrid = grid;
     m_drawing         = new GridDrawing(myDoc, this);
     m_uGridLines      = new List <CurtainGridLine>();
     m_vGridLines      = new List <CurtainGridLine>();
     m_GridVertexesXYZ = new List <Autodesk.Revit.DB.XYZ>();
 }
Beispiel #2
0
 /// <summary>
 /// constructor
 /// </summary>
 /// <param name="myDoc">
 /// the document of the sample
 /// </param>
 public GridGeometry(MyDocument myDoc)
 {
     m_myDocument = myDoc;
      m_commandData = myDoc.CommandData;
      m_activeDocument = myDoc.Document;
      m_gridProperties = new GridProperties();
      //m_activeGrid = grid;
      m_drawing = new GridDrawing(myDoc, this);
      m_uGridLines = new List<CurtainGridLine>();
      m_vGridLines = new List<CurtainGridLine>();
      m_GridVertexesXYZ = new List<Autodesk.Revit.DB.XYZ>();
 }