# PACK #5 - Flip element's wokplane - Script 2/3

**URL:** <https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784>\
**Category:** Share\
**Tags:** revit, python, dynamo\
**Created:** [April 2, 2020, 9:59am UTC](https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784 "2020-04-02T09:59:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Marc](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jean-marc/32/79122_2.png) [@Jean-Marc](https://forum.dynamobim.com/u/Jean-Marc)\
**Post date:** [April 2, 2020, 9:59am UTC](https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784/1 "2020-04-02T09:59:59Z")

</div>

`Hello Dynamos,`

Today I will share 3 scripts we developped in-house, on the same principle as the previous ones.

## WITH THIS SCRIPT YOU WILL BE ABLE TO:

- Flip the workplane of the selected elements

 ![BIM1_FlipWorkplane (2)](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/6/c636c588a09eb2cae5388110ad3196896e11eb41.png)

All python here, no interface, again…

### 2-STEP PROCESS

1. Select element that is on the workset you want to activate
2. Run the script
3. (If you want to re-run the script from Dynamo, you will have to set the boolean to false or true, unless you are running the script from Dynamo player or Dyno or pyRevit)

**If you have any questions about these scripts, please do not hesitate to contact us on [dynamo@bimone.com](mailto:dynamo@bimone.com) or through the forum**

[BIM1\_FlipWorkplane.dyn](https://forum.dynamobim.com/uploads/short-url/h2OlMDtMdiGfxdIe1uewzEFSiw.dyn) (18.6 KB)

---

<div class="post-metadata">

**Author:** ![bwilkeA77N6](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@bwilkeA77N6](https://forum.dynamobim.com/u/bwilkeA77N6)\
**Post date:** [April 6, 2022, 6:22am UTC](https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784/2 "2022-04-06T06:22:16Z")

</div>

Thanks for this Jean-Marc,

Does this script take into account whether the item is already flipped on the workplane or not?

Cheers

Brock

---

<div class="post-metadata">

**Author:** ![Jean-Marc](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jean-marc/32/79122_2.png) [@Jean-Marc](https://forum.dynamobim.com/u/Jean-Marc)\
**Post date:** [April 6, 2022, 7:42am UTC](https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784/3 "2022-04-06T07:42:18Z")

</div>

no, not at the moment

---

<div class="post-metadata">

**Author:** ![bwilkeA77N6](https://avatars.discourse-cdn.com/v4/letter/b/ecb155/32.png) [@bwilkeA77N6](https://forum.dynamobim.com/u/bwilkeA77N6)\
**Post date:** [April 6, 2022, 7:54am UTC](https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784/4 "2022-04-06T07:54:46Z")

</div>

Hi there,

Thanks for the response.  
Do you know if there is a node that can report the status of whether an element has been flipped on its workplane?

---

<div class="post-metadata">

**Author:** ![Jean-Marc](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jean-marc/32/79122_2.png) [@Jean-Marc](https://forum.dynamobim.com/u/Jean-Marc)\
**Post date:** [April 6, 2022, 8:05am UTC](https://forum.dynamobim.com/t/pack-5-flip-elements-wokplane-script-2-3/48784/5 "2022-04-06T08:05:10Z")

</div>

node, no. but I think it looks like this in python for walls:

```auto
e.Flipped # will return a boolean

```

if in a loop :

```auto
for e in elements_list:
    status = e.Flipped

```

it really all depends on the type of elements you are trying to deal with
