Hi guys,
where can i find the node get all views?
i saw some post with this node but i cant find it in my library.
there is a package called archi-lab package but i cant find it
Regards
Hi guys,
where can i find the node get all views?
i saw some post with this node but i cant find it in my library.
there is a package called archi-lab package but i cant find it
Regards
Hi,
You can find it in Custom Package called archi-lab. You need to install from online package search in Dynamo.
also, make sure you are on Dynamo 1.0.0. Konrad’s packages are all updated to 1.0.0 now.
Thank you
If other people are looking for this, I found it in the J-nodes package, which also includes the archi-lab package.
It’s actually been changed now.
Oh, thanks, that’s much easier
so basically someone took my package and put it inside theirs? Mhmmmm…that is interesting.
Wasn’t me, but you can check on it yourself. I only came to find it
because I follow your blog and dynamo stuff and through that came to find
this other package.
hi
I just want to extract all keynotes (as csi numbers) which have already assigned to every objects in the project.
in order to check the csi codes if they were assigned correctly so if some of the csi codes were assigned wrongly
ı would like to correct them in the excel sheet and import back to revit.
so any help would be valuable for me…
is that any sample for that
Thank you so much !
Konrad, why Get All Views it’s availible anymore?
Because better nodes are available in archi-lab now.
Here’s basic code I use for all views. Not as fast as C#, but easy to edit down to a small subset of things you might need.
We just don’t have the IT staff needed of individual rights to deal with nodes, so it all has to run on default OTB nodes or python. You can turn this into a dyf if needed. (Even gets the project browser…)GetAllViewsEverywhere.dyn (30.3 KB)
It’s going to be faster if you just run the FilteredElementCollector once and then do your sorting and sifting on that one list. All the information you need is on that first list.
from operator import itemgetter#, attrgetter
myData = UnwrapElement(IN[0])
myViews = FilteredElementCollector(doc).OfClass(View)
myViewNames = [v.Name for v in myViews]
myViewTypes = [v.ViewType for v in myViews]
myIsTemplate = [v.IsTemplate for v in myViews]
myResult = zip(myViews, myViewNames, myViewTypes, myIsTemplate)
OUT = sorted(myResult, key=itemgetter(2))
…and of course a filter lambda to grab just the stuff you might want. Where “CeilingPlan” could be a variable as well as the index ( v[2] ) coming into he node.
filter(lambda v: str(v[2]) == "CeilingPlan", mySortedList)
Hi All,
There is a easy way to get all views by type below.
Dynamo - Get All Views by Type
hope it is helpful!