-
Notifications
You must be signed in to change notification settings - Fork 14
FamilyLibrary
FamilyLibrary
is a settings object allowing for loading missing Families and Family Types to the project. It can be attached to RevitAdapter
by setting RevitSettings.FamilyLoadSettings.FamilyLibrary
property. On Push
, if a requested Family or Family or Family Type is not loaded to the project, the adapter will parse the specified library in search for it. Once found, it will be loaded on the fly.
Following order will be considered when seeking requested Family or Family Type:
- Families already loaded into the project
- Families found in
FamilyLibrary
provided
The script below shows how to supply families from C:\Desktop\MyLibrary folders to the adapter, so that it could load them automatically.
FamilyLibrary
also helps querying the .rfa files present in the folder. Once created, it contains a collection of RevitFilePreview
objects that contain basic information about the family contained in each file: category, family name, names of family types etc. All this information can be easily extracted by using a sequence of Explode
components.
-
Overview:
What is Revit_Toolkit for?
Code structure
Building from source and debugging
License
Sample scripts -
Adapter:
Basics
Revit <-> BHoM conversion
BHoM vs Revit identity
Handling of Parameters
Conventions
Setup in Revit
Setup in Grasshopper
Setup in Dynamo
Setup in Excel
Details -
Pull:
Basics
Requests and filtering
Pull of Geometry and Representation
Pull from Links
Pull in Grasshopper
Pull in Dynamo
Pull in Excel
Examples
Explicit family vs type mapping
Details -
Push:
Basics
Push modes
Updating Revit types
FamilyLibrary
Push in Grasshopper
Push in Dynamo
Push in Excel
Examples
Details -
Remove:
Basics
Remove in Grasshopper
Remove in Dynamo
Remove in Excel
Examples
Details -
References:
BHoM Wiki
BHoM Adapter