# "Accessibility script" to check if you meet different requirements for sizes and widths

**URL:** <https://forum.dynamobim.com/t/accessibility-script-to-check-if-you-meet-different-requirements-for-sizes-and-widths/60831>\
**Category:** Revit\
**Tags:** revit, geometry, dynamo\
**Created:** [February 23, 2021, 2:29pm UTC](https://forum.dynamobim.com/t/accessibility-script-to-check-if-you-meet-different-requirements-for-sizes-and-widths/60831 "2021-02-23T14:29:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Robert\_Younger](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/robert_younger/32/205603_2.png) [@Robert\_Younger](https://forum.dynamobim.com/u/Robert_Younger)\
**Post date:** [February 23, 2021, 7:18pm UTC](https://forum.dynamobim.com/t/accessibility-script-to-check-if-you-meet-different-requirements-for-sizes-and-widths/60831/4 "2021-02-23T19:18:52Z")

</div>

For rectangular-shaped, orthogonally-aligned rooms, you can use a Bounding Box Min-Point and Max-Point to get the X and Y dimensions of a room.

The problems I would expect are irregular-shaped rooms and rotated rooms. Corridors tend to be either or both of these which can complicate things.

For specific locations like areas in front of lifts, you can place an element representing the minimum clearance and then generate a clash check to see if that clearance zone is free of obstruction.

EDIT: [How to find the center path of a surface - #12 by Yna\_Db](https://forum.dynamobim.com/t/how-to-find-the-center-path-of-a-surface/15791/12)

This looks to be a useful read on the topic.

---

_[View the full topic](https://forum.dynamobim.com/t/accessibility-script-to-check-if-you-meet-different-requirements-for-sizes-and-widths/60831)._
