Create an enlarged detail by selecting a box and adding two dimension lines. Traditionally, you need to manually create the range of the enlarged detail and then add dimension lines in four directions.
This script automatically determines the rooms and walls within the selected range through box selection, and then offsets them by a specified distance, such as 1000, as the range of the enlarged detail, and adds dimension lines in four directions based on the axis lines in the enlarged detail.