Ejemplo n.º 1
0
 /// <summary>
 /// Overload constructor
 /// </summary>
 /// <param name="pathRein">path reinforcement object</param>
 /// <param name="commandData">revit command data</param>
 public PathReinforcementForm(Autodesk.Revit.DB.Structure.PathReinforcement pathRein,
                              Autodesk.Revit.UI.ExternalCommandData commandData) : this()
 {
     m_pathRein   = pathRein;
     m_properties = new PathReinProperties(pathRein);
     m_properties.UpdateSelectObjEvent += new PathReinProperties.UpdateSelectObjEventHandler(UpdatePropSelectedObject);
     this.propertyGrid.SelectedObject   = m_properties;
     m_profile = new Profile(pathRein, commandData);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Overload constructor
 /// </summary>
 /// <param name="pathRein">path reinforcement object</param>
 /// <param name="commandData">revit command data</param>
 public PathReinforcementForm(Autodesk.Revit.DB.Structure.PathReinforcement pathRein, 
                              Autodesk.Revit.UI.ExternalCommandData commandData )
     : this()
 {
     m_pathRein = pathRein;
     m_properties = new PathReinProperties(pathRein);
     m_properties.UpdateSelectObjEvent += new PathReinProperties.UpdateSelectObjEventHandler(UpdatePropSelectedObject);
     this.propertyGrid.SelectedObject = m_properties;
     m_profile = new Profile(pathRein, commandData);
 }