NOTE: Inspect Comparison (Debug) will colour some of the edges of the definitions you inspect.Īlright, I got to playing with the plugin for a bit. NOTE: In the test model, the third window from the top left looks similar to some of the others, but it doesn't have the same number of faces. (it might be that the geometry from Revit simply has too much deviance - but I'm not sure.) If there are places where I can reduce precision loss in my code. I would appreciate it someone with better know-how of float point tolerances could comment on the code. In the attached test model I had to set the tolerance to 0.002 to be able to make it replace all. With my test models (one attached) objects that appeared similar where not within SU's tolerance of 0.001 inch. (Event face direction or position is not compared.)
Select a bunch of instances to compare only their definitions against the rest.Ĭomparison is currently strictly geometric - material and layer comparison is currently not done. Select nothing to compare all definitions. Lots of debug menus.Ĭompares components for geometric similarities - replaces the instances of similar definitions to use the same definition. This plugin is in very early experimental development. Use with own risk - backup/save before using!