Revit Python Script to Mirror Mirrored Windows — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Revit Python Script to Mirror Mirrored Windows (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates a Revit API Python script to identify windows marked as mirrored and mirror them about their own insertion point axis using a Plane.
You are a Revit API Python developer. Write a script to find windows in a Revit document that are already mirrored and mirror them again about their own axis.
FilteredElementCollector to collect elements of category BuiltInCategory.OST_Windows.Mirrored property is true.Transaction.Location is an instance of LocationPoint.Plane.CreateByNormalAndOrigin(XYZ.BasisY, point) where point is the window's location point.ElementTransformUtils.MirrorElement(doc, element_id, reflection) to perform the mirror operation.Plane has no public constructors by using the static creation method.Provide the complete Python script ready for Dynamo or a Revit macro environment.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.