momentesf087ce6867 asks if we can select objects by picking subcategory ? If that means finding elements while working it the Family Editor, where the GenericForm class (Extrusion, Sweep, Blend, etc) have a Subcategory property, then yes we can do that. Run this macro after selecting an element (such as an extrusion in with the Frame/Mullion subcategory Continue reading #AU2024 Wish 2
For Joel who said I’d love to have a button to turn off annotations for all links in a view! , the Revit API is getting closer to being able to do this but isn t quite all the way there yet. The RevitLinkGraphicsSettings class was introduced in the 2024 API and allowed us to set the Continue reading #AU2024 #Revit API Wish 1
With all the AI chatbot natural language queries that are so cool these days, is there anyone still with wishes for some Revit API proof-of-concepts written in good old-fashioned C#? If so, send your questions, suggestions, and wishes for things that might be possible to achieve with the Revit API a handful will be Continue reading Are there any #AU2024 #Revit API wishes out there?
A post in the forum mentions that I have a list of Walls and I want to create a new View3D with the same walls but containing only the Structure function layers . We can do this nicely with the Part functionality and the Revit API. public void ShowWallStructureOnly() { var doc = this.ActiveUIDocument.Document; View3D view; Continue reading Create a 3d view showing only #Revit wall structural…
The feeback on last week s post was positive And I moved some code around so that it would recursively handle all nested subfamilies private void MergeFamilies(Document doc, ElementId categoryId, List string namesOfSubcategoriesToMerge, string newCategoryName) { List Family families = new FilteredElementCollector(doc) .OfClass(typeof(Family)) .Cast Family () .Where(q = q.FamilyCategoryId ==…
Can a Curtain Wall grid be generated based on model lines or detail lines in elevation: At the moment we can create custom grid patterns by using type parameters, however, it has its limitations, as often I need to copy or create additional CW grids to create a defined pattern. (example: additional horizontal CW grid Continue reading #AU2023 API Wish Granted! Use Lines to Create Curtain Grids
Cillian asked Would it be possible to duplicate an existing Area scheme, along with their associated area boundaries and areas? We can do all of that, with a limitation that the API does not have the Apply Area Rules option that exists in the Revit UI. So whether we copy the existing boundary lines into Continue reading AU2023 API Wish Duplicate Area Scheme, Areas, Boundary Lines, and Tags
Simon posted in the forum looking for the possibility to convert a floor to a ceiling by sketch or a roof by sketch and vice versa . Yes, this can be done with the Revit API! You can find the source code here.
Thanks to some feedback from Tim, this new tool can now also be used to create room/area lines when you select one or more: https://bitbucket.org/BoostYourBIM/boostyourbimterrifictools/src/master/BoostYourBIMTerrificTools/RoomAreaBoundaries/