Working on a script that measures the center of a wall section to an origin point or grid location we define in a project. I’ve run into a challenge where wall openings and doors aren’t detected due to what Revit records for my script. I’m using a Element.GetLocation, and curve.PointAtParameter to determine the center of wall now. How would I detect openings, and split the wall to follow the base openings at the floor level? Is this even possible?
The image below, my script picks up where the red datum is (arrow pointed) but the places I really need to locate are circled. The wall is modelled continuous with a wall opening placed at the break.
Do analytical lines follow these openings? Am I just simply stuck?
Any help or ideas here would be greatly appechiated!