Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI..
I am tryng to change the Titleblock on a sheet with another family loaded in the model.
Dim titleblock As FamilyInstance = New FilteredElementCollector(doc).OfClass(GetType(FamilyInstance)).OfCategory(BuiltInCategory.OST_TitleBlocks).Cast(Of FamilyInstance)().First(Function(q) q.OwnerViewId = vs.Id)
Dim fInstance As FamilyInstance = TryCast(titleblock, FamilyInstance)
Dim FType As FamilySymbol = titleblock.Symbol
Dim Fam As Family = FType.Family
Dim NomeCart As String = Fam.Name
I can find the instance of the titleblock and channge the type, but I don't know how change with another family.
Where i can find a sample?
Stefano
Solved! Go to Solution.