Extensions - lookup-foundation/RevitLookup GitHub Wiki

RevitLookup provides functionality to display methods in the user interface that do not exist in the Revit API or implemented as a Util classes. These extensions expose useful functionality in the context of specific objects.

[!NOTE]
The available extensions may vary depending on the version of Revit you are using.

The table below lists the extensions that are available in RevitLookup:

Type Extension API method
Application GetFormulaFunctions FormulaManager.GetFunctions
Application GetFormulaOperators FormulaManager.GetOperators
Application GetMacroManager MacroManager.GetMacroManager
Application GetSupportedPointCloudEngines PointCloudEngineRegistry.GetSupportedEngines
Application GetAllCloudRegions ModelPathUtils.GetAllCloudRegions
Application GetFailureSeverityName LabelUtils.GetFailureSeverityName
Application GetStructuralSectionShapeName LabelUtils.GetStructuralSectionShapeName
Application Is3DMImportLinkAvailable OptionalFunctionalityUtils.Is3DMImportLinkAvailable
Application IsAXMImportLinkAvailable OptionalFunctionalityUtils.IsAXMImportLinkAvailable
Application IsDGNExportAvailable OptionalFunctionalityUtils.IsDGNExportAvailable
Application IsDGNImportLinkAvailable OptionalFunctionalityUtils.IsDGNImportLinkAvailable
Application IsDWFExportAvailable OptionalFunctionalityUtils.IsDWFExportAvailable
Application IsDWGExportAvailable OptionalFunctionalityUtils.IsDWGExportAvailable
Application IsDWGImportLinkAvailable OptionalFunctionalityUtils.IsDWGImportLinkAvailable
Application IsDXFExportAvailable OptionalFunctionalityUtils.IsDXFExportAvailable
Application IsFBXExportAvailable OptionalFunctionalityUtils.IsFBXExportAvailable
Application IsGraphicsAvailable OptionalFunctionalityUtils.IsGraphicsAvailable
Application IsIFCAvailable OptionalFunctionalityUtils.IsIFCAvailable
Application IsMaterialLibraryAvailable OptionalFunctionalityUtils.IsMaterialLibraryAvailable
Application IsNavisworksExporterAvailable OptionalFunctionalityUtils.IsNavisworksExporterAvailable
Application IsOBJImportLinkAvailable OptionalFunctionalityUtils.IsOBJImportLinkAvailable
Application IsSATImportLinkAvailable OptionalFunctionalityUtils.IsSATImportLinkAvailable
Application IsShapeImporterAvailable OptionalFunctionalityUtils.IsShapeImporterAvailable
Application IsSKPImportLinkAvailable OptionalFunctionalityUtils.IsSKPImportLinkAvailable
Application IsSTEPImportLinkAvailable OptionalFunctionalityUtils.IsSTEPImportLinkAvailable
Application IsSTLImportLinkAvailable OptionalFunctionalityUtils.IsSTLImportLinkAvailable
UIApplication CurrentTheme UIThemeManager.CurrentTheme
UIApplication CurrentCanvasTheme UIThemeManager.CurrentCanvasTheme
UIApplication FollowSystemColorTheme UIThemeManager.FollowSystemColorTheme
UIApplication GetThemeName UIThemeManager.GetThemeName
Document GetAllGlobalParameters GlobalParametersManager.GetAllGlobalParameters
Document AreGlobalParametersAllowed GlobalParametersManager.AreGlobalParametersAllowed
Document GetGlobalParametersOrdered GlobalParametersManager.GetGlobalParametersOrdered
Document GetLightGroupManager LightGroupManager.GetLightGroupManager
Document GetTemporaryGraphicsManager TemporaryGraphicsManager.GetTemporaryGraphicsManager
Document GetAnalyticalToPhysicalAssociationManager AnalyticalToPhysicalAssociationManager.GetAnalyticalToPhysicalAssociationManager
Document CreateFamilySizeTableManager FamilySizeTableManager.GetFamilySizeTableManager
Document GetLightFamily LightFamily.GetLightFamily
Document GetMacroManager MacroManager.GetMacroManager
Document GetAssemblyCodeTable AssemblyCodeTable.GetAssemblyCodeTable
Document GetAllExternalFileReferences ExternalFileUtils.GetAllExternalFileReferences
Document GetAllExternalResourceReferences ExternalResourceUtils.GetAllExternalResourceReferences
Document GetKeynoteTable KeynoteTable.GetKeynoteTable
Document GetRegisteredUpdaterInfos UpdaterRegistry.GetRegisteredUpdaterInfos
Document GbXmlId ExportUtils.GetGBXMLDocumentId
Document GetAllCoordinationModelInstanceIds CoordinationModelLinkUtils.GetAllCoordinationModelInstanceIds
Document GetAllCoordinationModelTypeIds CoordinationModelLinkUtils.GetAllCoordinationModelTypeIds
Element CanBeMirrored ElementTransformUtils.CanMirrorElement
Element CanBeDeleted DocumentValidation.CanDeleteElement
Element GetJoinedElements JoinGeometryUtils.GetJoinedElements
Element GetCuttingSolids SolidSolidCutUtils.GetCuttingSolids
Element GetSolidsBeingCut SolidSolidCutUtils.GetSolidsBeingCut
Element IsAllowedForSolidCut SolidSolidCutUtils.IsAllowedForSolidCut
Element IsElementFromAppropriateContext SolidSolidCutUtils.IsElementFromAppropriateContext
Element GetCheckoutStatus WorksharingUtils.GetCheckoutStatus
Element GetWorksharingTooltipInfo WorksharingUtils.GetWorksharingTooltipInfo
Element GetModelUpdatesStatus WorksharingUtils.GetModelUpdatesStatus
Element IsValidForCreateParts PartUtils.AreElementsValidForCreateParts
Element GetAssociatedParts PartUtils.GetAssociatedParts
Element HasAssociatedParts PartUtils.HasAssociatedParts
Element IsADirectContext3DHandleInstance DirectContext3DDocumentUtils.IsADirectContext3DHandleInstance
Element IsADirectContext3DHandleType DirectContext3DDocumentUtils.IsADirectContext3DHandleType
Element IsCategorySupportedByElementIntersectsFilter ElementIntersectsFilter.IsCategorySupported
Element IsSupportedByElementIntersectsFilter ElementIntersectsFilter.IsElementSupported
Element ExportId ExportUtils.GetExportId
Element GetExternalFileReference ExternalFileUtils.GetExternalFileReference
Element IsExternalFileReference ExternalFileUtils.IsExternalFileReference
Element CanBeCutWithVoid InstanceVoidCutUtils.CanBeCutWithVoid
Element GetCuttingVoidInstances InstanceVoidCutUtils.GetCuttingVoidInstances
Element IsDetailElement DetailElementOrderUtils.IsDetailElement
Element IsBendingDetail RebarBendingDetail.IsBendingDetail
Element GetBendingDetailHost RebarBendingDetail.GetHost
Element GetBendingDetailPosition RebarBendingDetail.GetPosition
Element GetBendingDetailRotation RebarBendingDetail.GetRotation
Element IsRealisticBendingDetail RebarBendingDetail.IsRealisticBendingDetail
Element IsSchematicBendingDetail RebarBendingDetail.IsSchematicBendingDetail
Element GetBendingDetailHosts RebarBendingDetail.GetHosts
Element GetBendingDetailTagRelativePosition RebarBendingDetail.GetTagRelativePosition
Element GetBendingDetailTagRelativeRotation RebarBendingDetail.GetTagRelativeRotation
Element IsCoordinationModelInstance CoordinationModelLinkUtils.IsCoordinationModelInstance
Element IsCoordinationModelType CoordinationModelLinkUtils.IsCoordinationModelType
Element IsMultiAlignSupported AnnotationMultipleAlignmentUtils.ElementSupportsMultiAlign
Element GetAnnotationOutlineWithoutLeaders AnnotationMultipleAlignmentUtils.GetAnnotationOutlineWithoutLeaders
ElementType GetCoordinationModelTypeData CoordinationModelLinkUtils.GetCoordinationModelTypeData
ElementType GetRebarCrankLengthMultiplier RebarCrankTypeUtils.GetCrankLengthMultiplier
ElementType GetRebarCrankOffsetMultiplier RebarCrankTypeUtils.GetCrankOffsetMultiplier
ElementType GetRebarCrankRatio RebarCrankTypeUtils.GetCrankRatio
ElementType GetRebarSpliceLapLengthMultiplier RebarSpliceTypeUtils.GetLapLengthMultiplier
ElementType GetRebarSpliceShiftOption RebarSpliceTypeUtils.GetShiftOption
ElementType GetRebarSpliceStaggerLengthMultiplier RebarSpliceTypeUtils.GetStaggerLengthMultiplier
ElementType GetCoordinationModelTransparencyOverride CoordinationModelLinkUtils.GetTransparencyOverride
FamilyInstance GetInstancePlacementPointElementRefIds AdaptiveComponentInstanceUtils.GetInstancePlacementPointElementRefIds
FamilyInstance IsAdaptiveComponentInstance AdaptiveComponentInstanceUtils.IsAdaptiveComponentInstance
FamilyInstance GetInstancePointElementRefIds AdaptiveComponentInstanceUtils.GetInstancePointElementRefIds
FamilyInstance GetInstanceShapeHandlePointElementRefIds AdaptiveComponentInstanceUtils.GetInstanceShapeHandlePointElementRefIds
FamilyInstance HasAdaptiveFamilySymbol AdaptiveComponentInstanceUtils.HasAdaptiveFamilySymbol
FamilyInstance IsInstanceFlipped AdaptiveComponentInstanceUtils.IsInstanceFlipped
FamilyInstance IsMassFamilyInstance MassLevelData.IsMassFamilyInstance
FamilyInstance GetMassLevelDataIds MassInstanceUtils.GetMassLevelDataIds
FamilyInstance GetMassLevelIds MassInstanceUtils.GetMassLevelIds
FamilyInstance GetMassGrossFloorArea MassInstanceUtils.GetGrossFloorArea
FamilyInstance GetMassGrossSurfaceArea MassInstanceUtils.GetGrossSurfaceArea
FamilyInstance GetMassGrossVolume MassInstanceUtils.GetGrossVolume
FamilyInstance GetMassJoinedElementIds MassInstanceUtils.GetJoinedElementIds
FamilyInstance GetStructuralSection StructuralSectionUtils.GetStructuralSection
FamilyInstance GetStructuralElementDefinitionData StructuralSectionUtils.GetStructuralElementDefinitionData
FamilyInstance CanFlipFramingEnds StructuralFramingUtils.CanFlipEnds
FamilyInstance IsFramingJoinAllowedAtEnd StructuralFramingUtils.IsJoinAllowedAtEnd
FamilySymbol IsAdaptiveFamilySymbol AdaptiveComponentInstanceUtils.IsAdaptiveFamilySymbol
Family GetFamilySizeTableManager FamilySizeTableManager.GetFamilySizeTableManager
Family CanBeConvertedToFaceHostBased FamilyUtils.FamilyCanConvertToFaceHostBased
Family GetProfileSymbols FamilyUtils.GetProfileSymbols
Family GetNumberOfAdaptivePoints AdaptiveComponentFamilyUtils.GetNumberOfAdaptivePoints
Family GetNumberOfPlacementPoints AdaptiveComponentFamilyUtils.GetNumberOfPlacementPoints
Family GetNumberOfShapeHandlePoints AdaptiveComponentFamilyUtils.GetNumberOfShapeHandlePoints
Family IsAdaptiveComponentFamily AdaptiveComponentFamilyUtils.IsAdaptiveComponentFamily
Family CheckFamily LoadedFamilyIntegrityCheck.CheckFamily
HostObject GetBottomFaces HostObjectUtils.GetBottomFaces
HostObject GetTopFaces HostObjectUtils.GetTopFaces
HostObject GetSideFaces HostObjectUtils.GetSideFaces
View GetSpatialFieldManager SpatialFieldManager.GetSpatialFieldManager
View GetInstances -
View GetReferencedViewId ReferenceableViewUtils.GetReferencedViewId
Pipe HasOpenConnector PlumbingUtils.HasOpenConnector
Wall IsJoinAllowedAtEnd WallUtils.IsWallJoinAllowedAtEnd
WallType IsWallTypeValidForFaceWall FaceWall.IsWallTypeValidForFaceWall
CurveElement GetHostFace CurveByPointsUtils.GetHostFace
CurveElement GetProjectionType CurveByPointsUtils.GetProjectionType
CurveElement GetSketchOnSurface CurveByPointsUtils.GetSketchOnSurface
ReferencePoint IsAdaptivePlacementPoint AdaptiveComponentFamilyUtils.IsAdaptivePlacementPoint
ReferencePoint IsAdaptivePoint AdaptiveComponentFamilyUtils.IsAdaptivePoint
ReferencePoint IsAdaptiveShapeHandlePoint AdaptiveComponentFamilyUtils.IsAdaptiveShapeHandlePoint
ReferencePoint GetAdaptivePlacementNumber AdaptiveComponentFamilyUtils.GetPlacementNumber
ReferencePoint GetAdaptivePointConstraintType AdaptiveComponentFamilyUtils.GetPointConstraintType
ReferencePoint GetAdaptivePointOrientationType AdaptiveComponentFamilyUtils.GetPointOrientationType
Parameter AsBool ParameterExtensions.AsBool
Parameter AsColor ParameterExtensions.AsColor
Parameter GetAssociatedFamilyParameter FamilyManager.GetAssociatedFamilyParameter
GlobalParameter IsValidGlobalParameter GlobalParametersManager.IsValidGlobalParameter
ExternalDefinition GetOrCreateRebarShapeParameterElementId RebarShapeParameters.GetOrCreateElementIdForExternalDefinition
ExternalDefinition GetRebarShapeParameterElementId RebarShapeParameters.GetElementIdForExternalDefinition
ExternalDefinition IsValidExternalDefinition RebarShapeParameters.IsValidExternalDefinition
ExternalResourceType GetServers ExternalResourceServiceUtils.GetServersByType
ExternalResourceReference ServerSupportsAssemblyCodeData ExternalResourceServerUtils.ServerSupportsAssemblyCodeData
ExternalResourceReference ServerSupportsCADLinks ExternalResourceServerUtils.ServerSupportsCADLinks
ExternalResourceReference ServerSupportsIFCLinks ExternalResourceServerUtils.ServerSupportsIFCLinks
ExternalResourceReference ServerSupportsKeynotes ExternalResourceServerUtils.ServerSupportsKeynotes
ExternalResourceReference ServerSupportsRevitLinks ExternalResourceServerUtils.ServerSupportsRevitLinks
ForgeTypeId ToUnitLabel LabelUtils.GetLabelForUnit
ForgeTypeId ToSpecLabel LabelUtils.GetLabelForSpec
ForgeTypeId ToSymbolLabel LabelUtils.GetLabelForSymbol
ForgeTypeId ToGroupLabel LabelUtils.GetLabelForGroup
ForgeTypeId ToDisciplineLabel LabelUtils.GetLabelForDiscipline
ForgeTypeId ToParameterLabel LabelUtils.GetLabelForBuiltInParameter
ForgeTypeId IsSymbol UnitUtils.IsSymbol
ForgeTypeId IsUnit UnitUtils.IsUnit
ForgeTypeId IsSpec SpecUtils.IsSpec
ForgeTypeId IsMeasurableSpec UnitUtils.IsMeasurableSpec
ForgeTypeId IsValidDataType SpecUtils.IsValidDataType
ForgeTypeId IsValidUnit UnitUtils.IsValidUnit
ForgeTypeId IsBuiltInParameter ParameterUtils.IsBuiltInParameter
ForgeTypeId IsBuiltInGroup ParameterUtils.IsBuiltInGroup
ForgeTypeId GetBuiltInParameter ParameterUtils.GetBuiltInParameter
ForgeTypeId GetAllBuiltInParameters ParameterUtils.GetAllBuiltInParameters
ForgeTypeId GetAllBuiltInGroups ParameterUtils.GetAllBuiltInGroups
ForgeTypeId DownloadParameterOptions ParameterUtils.DownloadParameterOptions
ForgeTypeId DownloadParameter ParameterUtils.DownloadParameter
ForgeTypeId DownloadCompanyName ParameterUtils.DownloadCompanyName
ForgeTypeId GetBuiltInParameterGroupTypeId ParameterUtils.GetBuiltInParameterGroupTypeId
ForgeTypeId GetAllUnits UnitUtils.GetAllUnits
ForgeTypeId GetAllMeasurableSpecs UnitUtils.GetAllMeasurableSpecs
ForgeTypeId GetAllDisciplines UnitUtils.GetAllDisciplines
ForgeTypeId GetAllSpecs SpecUtils.GetAllSpecs
ForgeTypeId GetDiscipline UnitUtils.GetDiscipline
ForgeTypeId GetValidUnits UnitUtils.GetValidUnits
ForgeTypeId GetTypeCatalogStringForSpec UnitUtils.GetTypeCatalogStringForSpec
ForgeTypeId GetTypeCatalogStringForUnit UnitUtils.GetTypeCatalogStringForUnit
Category BuiltInCategory -
Category GetElements -
Category GetSSEPointVisibility SSEPointVisibilitySettings.GetVisibility
Category IsADirectContext3DHandleCategory DirectContext3DDocumentUtils.IsADirectContext3DHandleCategory
Category GetDirectContext3DHandleInstances DirectContext3DDocumentUtils.GetDirectContext3DHandleInstances
Category GetDirectContext3DHandleTypes DirectContext3DDocumentUtils.GetDirectContext3DHandleTypes
Category GetAllFilterableCategories ParameterFilterUtilities.GetAllFilterableCategories
Category GetFilterableParametersInCommon ParameterFilterUtilities.GetFilterableParametersInCommon
Schema GetElements -
GeometryObject IsNonSolid ExternallyTaggedGeometryValidation.IsNonSolid
GeometryObject IsSolid ExternallyTaggedGeometryValidation.IsSolid
GeometryObject LacksSubnodes ExternallyTaggedGeometryValidation.LacksSubnodes
Color Name ColorRepresentationUtils.GetColorName
Color HEX ColorRepresentationUtils.ColorToHex
Color HEX int ColorRepresentationUtils.ColorToHexInteger
Color RGB ColorRepresentationUtils.ColorToRgb
Color HSL ColorRepresentationUtils.ColorToHsl
Color HSV ColorRepresentationUtils.ColorToHsv
Color CMYK ColorRepresentationUtils.ColorToCmyk
Color HSB ColorRepresentationUtils.ColorToHsb
Color HSI ColorRepresentationUtils.ColorToHsi
Color HWB ColorRepresentationUtils.ColorToHwb
Color NCol ColorRepresentationUtils.ColorToNCol
Color CIELAB ColorRepresentationUtils.ColorToCielab
Color CIEXYZ ColorRepresentationUtils.ColorToCieXyz
Color VEC4 ColorRepresentationUtils.ColorToFloat
Color Decimal ColorRepresentationUtils.ColorToDecimal
Solid SplitVolumes SolidUtils.SplitVolumes
Solid IsValidForTessellation SolidUtils.IsValidForTessellation
Solid ComputeIsGeometricallyClosed SolidUtils.ComputeIsGeometricallyClosed
Solid ComputeIsTopologicallyClosed SolidUtils.ComputeIsTopologicallyClosed
Solid TessellateSolidOrShell SolidUtils.TessellateSolidOrShell
BoundingBoxXYZ Centroid -
BoundingBoxXYZ Vertices -
BoundingBoxXYZ Volume -
BoundingBoxXYZ SurfaceArea -
ModelPath ConvertModelPathToUserVisiblePath ModelPathUtils.ConvertModelPathToUserVisiblePath
ModelPath IsDocumentTransmitted TransmissionData.IsDocumentTransmitted
ModelPath DocumentIsNotTransmitted TransmissionData.DocumentIsNotTransmitted
ModelPath ReadTransmissionData TransmissionData.ReadTransmissionData
ModelPath GetUserWorksetInfo WorksharingUtils.GetUserWorksetInfo
Part IsMergedPart PartUtils.IsMergedPart
Part IsPartDerivedFromLink PartUtils.IsPartDerivedFromLink
Part GetChainLengthToOriginal PartUtils.GetChainLengthToOriginal
Part GetMergedParts PartUtils.GetMergedParts
Part ArePartsValidForDivide PartUtils.ArePartsValidForDivide
Part FindMergeableClusters PartUtils.FindMergeableClusters
Part ArePartsValidForMerge PartUtils.ArePartsValidForMerge
Part GetAssociatedPartMaker PartUtils.GetAssociatedPartMaker
Part GetSplittingCurves PartUtils.GetSplittingCurves
Part GetSplittingElements PartUtils.GetSplittingElements
Part HasAssociatedParts PartUtils.HasAssociatedParts
PartMaker GetPartMakerMethodToDivideVolumeFW PartUtils.GetPartMakerMethodToDivideVolumeFW
Rebar GetSpliceChain RebarSpliceUtils.GetSpliceChain
RebarShape GetAllParameters RebarShapeParameters.GetAllRebarShapeParameters
Surface GetNurbsSurfaceDataForSurface ExportUtils.GetNurbsSurfaceDataForSurface
Subelement ExportId ExportUtils.GetExportId
TriangulationInterface ConvertTrianglesToQuads FacetingUtils.ConvertTrianglesToQuads
EdgeEndPoint FindAllEdgeEndPointsAtVertex SolidUtils.FindAllEdgeEndPointsAtVertex
AssemblyInstance AcquireViews AssemblyViewUtils.AcquireAssemblyViews
Connector ValidateFabricationConnectivity FabricationUtils.ValidateConnectivity