Hi,
I am a dynamo newbie - but i want to write code that toggles the visibility of a particular text type.
Our design office sometimes add notes for production to check on - which will be always in the same text type. if its visible, i want to turn it off - and if its invisible - turn it on.
In autoCAD i would have used text that does not plot…
How are you handling this in Revit currently? The automated process should logically match the manual process. If you can explain to us what that is and what you’ve attempted so far, we can help you round out the rest.
Hi Nick,
We are not actually doing this yet. my first thought was to just set up view templates and have the user apply them to the views - but that’s complicated because sometimes the content is not consistent. i just thought having a function in dynamo player would be easier for the user. Click one the “Construction Note” text type displays - click again and it disappears…
if i can work out how to select only the specific text type using dynamo - that would be a start,
Been trough the Dynamo primer - and the Aussi Bim Guru 10 stages - still confused…
It would help to have your workflow figured out but if your main focus is just to hide text notes of a certain type then that can certainly be done. You could do something like this:
- Get all
TextNotes
- Filter for specific type
- Get
OwnerView
from each element - Toggle the individual view override for each
TextNote