Example #1
0
 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);
 }
Example #2
0
 public void propertiesChanged(Object sender, Rhino.DocumentEventArgs args)
 {
     this.ExpireSolution(true);
 }