Structural Plan View / Ceiling Plan View Confusion

Just wanted to make it clear for everyone, because it seems nobody understood the sentence in my very first post:

For your understanding, all my Plans are Structural Plans with view direction up. In Dynamo they are calles CeilingPlanViews, but they are still StructuralPlans in Revit.

I can show you two samples where this effects my script. There is already a thread where i explained it, but hear a short version:

The “Set Parameter Nodes” all have the same view as input. The Set.Parameter.By.Name node changes the type and view direction. This means the python script should work if i connect it with the Set.Paramater.By.Name Node, but it doesnt. The Python script only works if i connect it to the cropbox node (green). Thats the only node that gives a ceilingplanview as output.

As i mentioned before, also this script works by running it a second time…
You can read the long version here: https://forum.dynamobim.com/t/duplicate-plan-and-set-crop-box-view-range-scale-view-template-view-type-etc
Duplicate_Formworkplan.dyn (49.2 KB)

Edit: Can show you another example tomorrow!