public AppUI(ExternalCommandData revit, ref string message) { InitializeComponent(); this.Revit = revit; this.Message = message; this.Paramters = new PCFData(); this.Writer = new PCFWriter(); //Excel 파일만 열 수 있도록 한정 this.openExcelDialog.Filter = "Excel files (*.xlsx)|*.xlsx"; if (!string.IsNullOrEmpty(Properties.Settings.Default.ExcelPath)) { this.ExcelName.Text = Properties.Settings.Default.ExcelPath; this.DataCtrl = new DataCtrl.ExcelCtrl(Revit, Properties.Settings.Default.ExcelPath); } }
public string ToString(double unit) { return(PCFWriter.FormatDecimal(X * unit) + " " + PCFWriter.FormatDecimal(Y * unit) + " " + PCFWriter.FormatDecimal(Z * unit)); }