Inheritance: Autodesk.Revit.UI.IExternalCommand
Exemplo n.º 1
0
        /// <summary>
        /// material properties from
        /// </summary>
        /// <param name="dataBuffer">material properties from Revit</param>
        public MaterialPropertiesForm(MaterialProperties dataBuffer)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            parameterDataGrid.PreferredColumnWidth = parameterDataGrid.Width / 2 - 2;

            m_dataBuffer = dataBuffer;
        }
Exemplo n.º 2
0
        /// <summary>
        /// material properties from
        /// </summary>
        /// <param name="dataBuffer">material properties from Revit</param>
        public MaterialPropertiesForm(MaterialProperties dataBuffer)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            parameterDataGrid.PreferredColumnWidth = parameterDataGrid.Width / 2 - 2;

            m_dataBuffer = dataBuffer;
        }