Sample Code Revit Batch Processor 1.1.11 documentation
Bases: IFamilyData
Initialize the shared parameter data object.
root_path (str) – Root path of the family.
root_category_path (str) – Root category path of the family.
Process the document and find all shared parameters in the family. Update the data storage with the shared parameter data.
doc (Autodesk.Revit.DB.Document) – Revit family document
None
Get the shared parameter data.
List of shared parameter data storage instances.
Add shared parameter data to the data storage.
storage_instance (FamilySharedParameterDataStorage) – Shared parameter data storage instance.
None
Bases: IFamilyProcessor
Class constructor.
Calls processor instance with the document and root path provided and adds processor instance to class property .data
doc (Autodesk.Revit.DB.Document) – Current family document.
rootPath (str) – The path of the nested family in a tree: rootFamilyName::nestedFamilyNameOne::nestedFamilyTwo This includes the actual family name as the last node.
rootCategoryPath (str) – The category path of the nested family in a tree: rootFamilyCategory::nestedFamilyOneCategory::nestedFamilyTwoCategory This includes the actual family category as the last node.
Bases: IFamilyDataStorage
Class constructor
Bases: IFamilyDataStorageUsedBy
Class constructor