Thanks for the tips. The pointed me in a better direction. I ended up first using a FilteredElementCollector of ViewFamilyType and then searching the collector for the viewFamilyType.Name.Equals(mySearchString). From here I got the element Id of the ViewFamilyType and in my collection of DraftingViews used the GetTypeId() and checked against the Id I retrieved from the ViewFamilyTpe.
↧