# Dimension Error in legend

**URL:** <https://forum.dynamobim.com/t/dimension-error-in-legend/111733>\
**Category:** Revit\
**Created:** [August 6, 2025, 12:21pm UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733 "2025-08-06T12:21:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![JACOBS12](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JACOBS12](https://forum.dynamobim.com/u/JACOBS12)\
**Post date:** [August 6, 2025, 12:21pm UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/1 "2025-08-06T12:21:45Z")

</div>

I am trying to Auto dimension my schedules, but somehow I get this error, and maybe have tunnel vision, but cannot solve this error. Any help perhaps?

 ![Screenshot 2025-08-01 101540](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/d/7daea61dd5d1299205be331d9c62faaa192bbf56.png)

[BAK\_Window Schedule.dyn](https://forum.dynamobim.com/uploads/short-url/xkp2Bf8fAE9BF9P5TlaIjrzjxvu.dyn) (232.4 KB)

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [August 8, 2025, 12:17am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/2 "2025-08-08T00:17:15Z")

</div>

It’s a bit hard to help as you don’t show or discuss what the errors are. Can you provide an example file to replicate the issue with the .dyn?

---

<div class="post-metadata">

**Author:** ![JACOBS12](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JACOBS12](https://forum.dynamobim.com/u/JACOBS12)\
**Post date:** [August 8, 2025, 6:04am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/3 "2025-08-08T06:04:05Z")

</div>

Good morning, Thanks, I cant, my file is too big.  
But any revit file should show the error.  
To recreate:

1. Create a Legend View - any name

2. place a Legend Component ( a window with the correct orientation)

3. with the Legend view active, run the Dynamo code.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 8, 2025, 6:56am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/4 "2025-08-08T06:56:53Z")

</div>

Hi if your both wanna create legend, as i guess you mean [schedule = legend] component and want dimension as well in same run, you will need a transaction and a passtrough i guess…

---

<div class="post-metadata">

**Author:** ![JACOBS12](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JACOBS12](https://forum.dynamobim.com/u/JACOBS12)\
**Post date:** [August 8, 2025, 7:09am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/5 "2025-08-08T07:09:16Z")

</div>

TheSchedule will b e in a already created Legend View. The Dynamo script check for the current view, which is the Legend View, and create the window shedule in that view.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 8, 2025, 7:14am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/6 "2025-08-08T07:14:04Z")

</div>

allright not sure i understand then, a schedule in a legend view ?, didnt even know that was possible…

---

<div class="post-metadata">

**Author:** ![JACOBS12](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JACOBS12](https://forum.dynamobim.com/u/JACOBS12)\
**Post date:** [August 8, 2025, 7:31am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/7 "2025-08-08T07:31:25Z")

</div>

Yes, I want to create a window ( and door) schedule, with the doors and windows dimensioned, like this picture.  
Now, my dynamo code already create the schedule on a legend view, it just does not dimension it yet, and Im trying to get it to do oveall dimensions also

 ![sasa](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/c/1c920ed27de62f1b2393712aeb2b9f54221e2c2c.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 8, 2025, 7:33am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/8 "2025-08-08T07:33:52Z")

</div>

ahaa now i guess what you mean, but will just call it place legends component in a legend view and dimension, right ?

---

<div class="post-metadata">

**Author:** ![JACOBS12](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JACOBS12](https://forum.dynamobim.com/u/JACOBS12)\
**Post date:** [August 8, 2025, 7:36am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/9 "2025-08-08T07:36:14Z")

</div>

Yes. Sorry, Im new to Dynamo coding

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 8, 2025, 7:38am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/10 "2025-08-08T07:38:38Z")

</div>

no worries 😉 but best if you could share a small rvt sample, where the error happends , we can test on as Mike mention, dont expect people create a sample for test your graph 😉 😉

---

<div class="post-metadata">

**Author:** ![JACOBS12](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@JACOBS12](https://forum.dynamobim.com/u/JACOBS12)\
**Post date:** [August 8, 2025, 8:29am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/11 "2025-08-08T08:29:25Z")

</div>

Cant upload. file is bigger that the allowd 10mb, but here is a dropbox link:

> **[Dropbox](https://www.dropbox.com/scl/fi/i4njhckmpcaoy52o7o6lb/Model-House.rvt?rlkey=9fbjffneyajwygl42bsbufxvn&dl=0)**

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 8, 2025, 8:34am UTC](https://forum.dynamobim.com/t/dimension-error-in-legend/111733/12 "2025-08-08T08:34:09Z")

</div>

yes cheers 😉 then you have better luck…
