Sample Code Revit Batch Processor 1.1.11 documentation
class name Autodesk.Revit.DB.ElementType
class name Autodesk.Revit.DB.FilledRegionType
class name Autodesk.Revit.DB.FamilySymbol
List of class names which can be detailed components
Gets all filled region instances in a model.
Filters by class.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A list containing floor instances.
list Autodesk.Revit.DB.FilledRegion
Gets all filled region types ids in model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A list of element ids representing filled region types.
list Autodesk.Revit.DB.ElementIds
Gets all detail component types in the model.
Filters by built in category.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing detail component types.
Autodesk.Revit.DB.FilteredElementCollector
Get all repeating detail type id’s in model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A list of element ids representing repeating detail types.
list Autodesk.Revit.DB.ElementIds
Gets all detail symbol (types) ids in model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A list of element ids representing detail symbols.
list Autodesk.Revit.DB.ElementIds
Gets the ids of all symbols used in repeating details.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
idsRepeatDet (list Autodesk.Revit.DB.ElementIds) – List of repeating detail type ids.
List of family symbol (type) ids.
list Autodesk.Revit.DB.ElementIds
Gets all used repeating detail type ids in the model. Used: at least one instance of this type is placed in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: A list of element ids representing repeating detail types. :rtype: list Autodesk.Revit.DB.ElementIds
Gets all unused repeating detail type ids in the model. Unused: not one instance of this type is placed in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: A list of element ids representing repeating detail types. :rtype: list Autodesk.Revit.DB.ElementIds
Gets type ids off all unused repeating detail types in model. This method can be used to safely delete unused repeating detail types. In the case that no basic wall instance using any of the types is placed, this will return all but one type id since Revit requires at least one repeating detail type definition to be in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of element ids representing all repeating detail types not in use. :rtype: list of Autodesk.Revit.DB.ElementId
Gets all used detail symbol type ids in model. Used: at least one instance of this type is placed in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of family symbol (type) ids. :rtype: list Autodesk.Revit.DB.ElementIds
Gets all unused detail symbol type ids in model. Unused: Not one instance of this type is placed in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of family symbol (type) ids. :rtype: list Autodesk.Revit.DB.ElementIds
Gets type ids off all unused detail symbols (types) in model. This method can be used to safely delete all unused detail symbols (types) and families. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of element ids representing all unused detail symbols and families not in use. :rtype: list of Autodesk.Revit.DB.ElementId
Gets all used filled region type ids in model. Used: at least one instance of this type is placed in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of filled region type ids. :rtype: list Autodesk.Revit.DB.ElementIds
‘ Gets all unused filled region type ids in model. Unused: Not one instance of this type is placed in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of filled region type ids. :rtype: list Autodesk.Revit.DB.ElementIds
Gets ids off all unused filled region types in model. This method can be used to safely delete all unused filled region types in model. In the case that no filled region instance using any of the types is placed, this will return all but one type id since Revit requires at least one filled region type definition to be in the model. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: List of element ids representing all unused filled region types not in use. :rtype: list of Autodesk.Revit.DB.ElementId