← Back to RevitChaosLabs | Home
Model Vanity Metrics runs a quick pass on your active Revit model and gives you a fake “score” out of 100, plus a tongue-in-cheek rating like Model Citizen or Full Goblin Mode.
It is not a real QA tool.
It’s meant to be a fun way to explore the Revit API and talk about what actually makes models painful to work with.
Right now the command gathers:
Document.GetWarnings()ImportInstance countFamilyInstance where Family.IsInPlace is trueOST_LinesGroup instancesView where IsTemplate == falseView.ViewTemplateId == InvalidElementIdDocument.PathName + FileInfoEach of these feeds a very simple scoring function that starts at 100 and subtracts points based on “model sins”.
If you’re learning the Revit API, this command is a compact example of:
ExternalCommandDataFilteredElementCollector with: OfClass(...)OfCategory(...)WhereElementIsNotElementType()Document.GetWarnings()FamilyInstance → Family.IsInPlace)View.ViewTemplateIdThese numbers are mostly about “how this model looks on paper”, not whether it will actually coordinate or build correctly.
It’s meant to spark questions like: