I was able to find an approach that works here.
Dimension openings in walls - Revit - Dynamo (dynamobim.com)