# Why isn't this working? curtain panels

**URL:** <https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055>\
**Category:** Revit\
**Created:** [August 31, 2015, 4:44am UTC](https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055 "2015-08-31T04:44:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arno\_De\_Lange](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/arno_de_lange/32/35178_2.png) [@Arno\_De\_Lange](https://forum.dynamobim.com/u/Arno_De_Lange)\
**Post date:** [August 31, 2015, 4:44am UTC](https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055/1 "2015-08-31T04:44:28Z")

</div>

![Capture](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/6/633869b9e08c937cad4602e8a208b493d14e72d1.png)

&nbsp;

&nbsp;

&nbsp;

The familyinstance.location isn’t working on curtain panels. error operation failed

Also the node elements.filterBYParameterValueandCondition doesn’t give a value lists are null.

I’am trying to select some curtain panels and change them into another curtain panel family

&nbsp;

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [August 31, 2015, 8:02am UTC](https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055/2 "2015-08-31T08:02:59Z")

</div>

At first glance I think the parameter name needs to be a string. Currently you are giving it an \_Singlefunction object.

---

<div class="post-metadata">

**Author:** ![Dennis\_Goff](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@Dennis\_Goff](https://forum.dynamobim.com/u/Dennis_Goff)\
**Post date:** [February 3, 2016, 9:30pm UTC](https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055/3 "2016-02-03T21:30:48Z")

</div>

I have the same problem. Why don’t curtain panel families not allow you to get the element location? Did you ever figure it out?

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [February 3, 2016, 9:58pm UTC](https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055/4 "2016-02-03T21:58:55Z")

</div>

Curtain Panels don’t have a Location property. You can do two other things to get a location. One is to extract boundary curves, explode them, get point at start of each curve, use the points to create a polygon by points, query the polygon for center point. Another option is to use Transform property of the panel and just query the transform for its Origin point. That will give you a point at the base of the panel I think.

---

<div class="post-metadata">

**Author:** ![Organon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/organon/32/161404_2.png) [@Organon](https://forum.dynamobim.com/u/Organon)\
**Post date:** [February 4, 2016, 2:45pm UTC](https://forum.dynamobim.com/t/why-isnt-this-working-curtain-panels/2055/5 "2016-02-04T14:45:31Z")

</div>

![CurtainPanels](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/e/ec314b8c01541a741c53520435570d484fd594ac.png)
