I need the View to be received as a CeilingPlanView. So after creating the View I have to find a node that changes it from StructuralPlanView to CeilingPlanView. Or i have to get a refreshed List of Views from where I can select the view. I´m already struggling for days and could´t find a solution.
By accident i found one node that does the trick, MEPover.View.SetCropBoxCurves. It magically puts the View out as ceilingplan. But thats no good solution…
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 would be very happy about any advice.
Thank you very much in advance!
I´m sorry, i know it`s confusing, the problem in one sentence:
Dynamo says the new plan is a StructuralPlanView, but it has to be a CeilingPlanView.
No i don´t want to change view direction! The created plan already has view direction up! Thats why it has to be a CeilingPlanView. There is only one StructuralPlan familytype in my Revit-Project.
Here you can see the only node i found that changes the View to the right name.
I don´t want to create a ceilingplan. I want to create a structural plan.
Structural Plans with view direction up are only called CeilingPlanView in Dynamo.
@Jakob: It´s not only possible in the UI, my Dynamo script is in fact creating the right plan already. That´s not the problem. @Kulkul: I don´t want or need to change the viewrang. I don´t know why you suggest it. @c.poupin: Exactly, thank you for clarification!
So let´s get back to the real problem here.
Please keep in mind: Dynamo creates the correct Plan! I get what i want in Revit!
BUT: In the line of nodes that create the plan, dynamo keeps putting the plan out as a StructuralPlanView! Somehow i have to force it to REFRESH/UPDATE the view. Because it should be a ceilingplanview, as you can see it is after running the script.
Is there some way to start a new transaction and get a refreshed list of views or something like that?
I’m lost. What do you want to do? A full graph image and some screenshots of where you are may help me get caught up, unless others are more familiar with what you are after here can help you out.
Perhaps a Transaction.End node after creating the view and applying the crop box curves, then a Transaction.Start node to delink to Revit.
I agree with Jacob you are hard to follow.
But i understand you want to change Views that are Structural Plans into Views that are Ceiling Plans.
AFAIK Views are Types and you can’t change them after you created them.
I guess you have to make new Views which are Ceilings Plans.
Sorry bvs, seems that its hard to explain and hard to understand.
You missunderstood.
I never wanted to change a Structural Plan to a Ceiling Plan!
I am working and have ever only been working with Structural Plans.
BUT a Structural Plan with view direction UP is called a CeilingPlanView in the Revit API and in Dynamo, thats not my fault
Yes bvs my quote is corret, it has to be a CeilingPlanView!
I wanted to keep this as simple as possible thats why i didnt add a full graph where this behavior makes a problem, i will add one when i´m home from work!
Because it seems not 100% clear already, here the whole problem in one picture:
Adding a transaction end node as Jacob said might help I thinkbut why I don’t really follow as to why you need this to happen.
I think your complete graph will help other users to give you an awnser that is useful for you.
Did you pick the right View in the first place @gerhard.p? You can have duplicates there.
If you want Dynamo to ‘know’ it is a Ceiling Plan why start of making a Structural Plan in the first place?
PS
You can change te View Direction of Structural Plans. So your statement is wrong.
PPS
I can’t replicate your issue myself. My Sturctural Plans stays a Sturctural Plan
both in Revit and in Dynamo.
My guess is you picked the wrong View in Views.
If not, we need to see more of your Graph (.dyn) to help you because
I have no clue how your Structural Plan ended up as a Ceiling Plan in Dynamo.
Can you please tell me which statement is wrong, i´m happy to explain!
Yes, i know that i can change view direction, i thought thats what the whole thread is about^^
No, i did`t pick a wrong view.
I know that you all just want to make shure that i´m not making a mistake anywhere, but i didn´t know that i have to proofe any statement i make with a picture. I will do that from now on!
And bvs, you can´t replicate the problem when you have view direction down as a default setting. But thank you very much for trying!
Please give me another try, i will show you pictures in revit to clear things up.