Why isn't this working? curtain panels


#1

Capture

 

 

 

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

 


#2

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


#3

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?


#4

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.


#5