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

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

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 or through the forum

BIM1_FlipWorkplane.dyn (18.6 KB)

6 Likes

Thanks for this Jean-Marc,

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

Cheers

Brock

no, not at the moment

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?

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

e.Flipped # will return a boolean

if in a loop :

for e in elements_list:
    status = e.Flipped

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

1 Like