private static void RhinoDoc_NewDocument(object sender, Rhino.DocumentEventArgs e) { // If a new document is created without template it is updated from Revit.ActiveDBDocument System.Diagnostics.Debug.Assert(string.IsNullOrEmpty(e.Document.TemplateFileUsed)); UpdateDocumentUnits(e.Document); UpdateDocumentUnits(e.Document, Revit.ActiveDBDocument); }
public void propertiesChanged(Object sender, Rhino.DocumentEventArgs args) { this.ExpireSolution(true); }