Hide not placed section view in the sheet


#1

i have got script for to do that.
actually it does not work the way i expected.

Dynamo_Section.dyn (9.3 KB)


#2

Hi.
I had created something like this with nodes.


#3

Thank u .
I tried that. gave me error.
i attached image.
please tell me what wrongs with that?


#4

couldn’t see the jpg image. Here I am attaching the script only. Cheers.


#5

Hide all Sections not in sheet.dyn (38.9 KB)


#6

Section tags of views that are not placed on a sheet, will not print. You don’t have to hide them. Unless your question refers to something else, you should be good with just Revit.


#7

What Konrad is talking about (under Print Setup).
image


#8

Hai,
I coud not open the file.
Pls tell me why?
thanks alot


#9

You’re probably using dynamo 1.3.x and the file is created in 2.x, just an educated guess :slight_smile:


#10

thank alot.
how can i solve it?
do i need to have that version?


#11

Yes, you need to install 2.x (would recommend 2.0.1 or newer :slight_smile:
You can have both versions installed and will be asked for which version you want to use when opening dynamo :slight_smile:
Be aware that any old dynamo files saved in 2.x will no longer be able to be opened in 1.3.x


#12

thank alot.
i ll try it.


#13

Thanks a lot.
I appreciated ur work.


#14

Hai,

it has still probelm.
for example i have 3 section views in my floorplan. i have placed section view_1 in the sheet.(sheet_1)
the another section view_2hasbeen placed on other sheet.(sheet_2). the last section view has not been placed on sheet. by ur script i can hide the last section view.
lets say i am on the sheet_1. there i want to hide 2 section views except Section view_1. cz that is the only section view has been placed on sheet_1)


#15

Jonathan plz see my reply to abhijeetraje.
Do u have any idea?


#16

You would have to set up a filter for every view in this case.


#17

Can you share revit file?


#18

Hai, i attach test file to justify my problem with section view and the dynamo script that u gave.
Sheet A100- u have only 1 section view has been placed.it is named “section 1”.

Sheet A101- u have only 1 section view has been placed. it is named “section 2”.
Now the point is : A100 all the section views have to be hided, except “section 1”.
in A101 all the section views have to be hided, except “section 2”.

But by ur script ; if i use it to A100, it wil hide the section view “Section 3” and “section 4”.
It will not hide section view: “section 2”. cz it has been placed on sheet A101.

or reversely Sheet A101: “Section 2” has to be visible, by your script can be hided "section 3 and “section 4”. u can not hide the “section 1”. cz it has been placed on sheet A100.

Now it is very clear for u.
Probabaly u can give a good solution.
Thanks a lot .Project2.rvt (1.7 MB)


#19

Hi.

  I checked. If you only activate the view, it selects sheet as current view. You open floor plan from project browser, and then run the script, then it works. Screenshot below.


#20

Hai,
u are right. i had done it.
If u open sheets: u have 2 sheets in the model.
on Sheet A100 : only “section 1” has to be visible in the floor plan. i can see ur screenshots. u have 2 section views.
that is correct. they have been placed on different sheets.
“section 1”- Sheet A100
“section 2” -Sheet A101.

Now u can see the problem clearly.
i got the result that u have attached in the screen
i am patiently waiting for ur answer