/// <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>(); }
/// <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>(); }