/// <summary> /// The constructor of RoofsManager class. /// </summary> /// <param name="commandData">The ExternalCommandData</param> public RoofsManager(ExternalCommandData commandData) { m_commandData = commandData; m_levels = new List <Level>(); m_roofTypes = new List <RoofType>(); m_referencePlanes = new List <ReferencePlane>(); m_footPrint = new CurveArray(); m_profile = new CurveArray(); m_footPrintRoofManager = new FootPrintRoofManager(commandData); m_extrusionRoofManager = new ExtrusionRoofManager(commandData); m_selection = commandData.Application.ActiveUIDocument.Selection; m_transaction = new Transaction(commandData.Application.ActiveUIDocument.Document, "Document"); RoofKind = CreateRoofKind.FootPrintRoof; Initialize(); }
/// <summary> /// The constructor of RoofsManager class. /// </summary> /// <param name="commandData">The ExternalCommandData</param> public RoofsManager(ExternalCommandData commandData) { m_commandData = commandData; m_levels = new List<Level>(); m_roofTypes = new List<RoofType>(); m_referencePlanes = new List<ReferencePlane>(); m_footPrint = new CurveArray(); m_profile = new CurveArray(); m_footPrintRoofManager = new FootPrintRoofManager(commandData); m_extrusionRoofManager = new ExtrusionRoofManager(commandData); m_selection = commandData.Application.ActiveUIDocument.Selection; m_transaction = new Transaction(commandData.Application.ActiveUIDocument.Document, "Document"); RoofKind = CreateRoofKind.FootPrintRoof; Initialize(); }