### Point Cloud API Additions Source: https://www.revitapidocs.com/2022/news Provides a direct entry point to get access to a ReCap Project object from the ReCap SDK. ```APIDOC ## Point Cloud API Additions ### Description Provides a direct entry point to get access to a ReCap Project object from the ReCap SDK. ### Methods - `PointCloudType.GetReCapProject()` ``` -------------------------------- ### BasePoint.Clipped Source: https://www.revitapidocs.com/2022/news Gets or sets the clipped state of the survey point BasePoint. ```APIDOC ## BasePoint.Clipped ### Description Gets or sets the clipped state of the survey point BasePoint based on the active ProjectLocation of its Document. For the project base point, the get method will always return false, and the set method will throw an exception. ### Property * BasePoint.Clipped (bool) ``` -------------------------------- ### Revision Numbering Sequence ID Access Source: https://www.revitapidocs.com/2022/news Provides methods to get and set the revision numbering sequence ID for a revision. ```APIDOC ## Revision Numbering Sequence ID Access ### Description Provides methods to get and set the revision numbering sequence ID for a revision. ### Methods - `Revision.GetRevisionNumberingSequenceId()` - `Revision.SetRevisionNumberingSequenceId(ElementId sequenceId)` ``` -------------------------------- ### Ceiling Creation Source: https://www.revitapidocs.com/2022/news Provides methods for creating new ceiling instances in a Revit project. Supports basic ceiling creation and creation of sloped ceilings. ```APIDOC ## Ceiling Creation ### Description Creates a new instance of a ceiling in a Revit project. One overload supports creating a sloped ceiling. ### Methods - `Ceiling.Create(Document document, IList curveLoops, ElementId ceilingTypeId, ElementId level)` - `Ceiling.Create(Document document, IList curveLoops, ElementId ceilingTypeId, ElementId levelId, Line slopeArrow, double slope)` ``` -------------------------------- ### Wall Profile Sketch APIs Source: https://www.revitapidocs.com/2022/news Provides methods to manage profile sketches for wall elements that support them, allowing for addition, removal, and checking support. ```APIDOC ## Wall Profile Sketch APIs ### Description Provide access to add and remove profile sketches to wall elements that support them. Once a sketch is added, the profile sketch can be edited using `SketchEditScope`. ### Methods - `Wall.CreateProfileSketch()` - `Wall.RemoveProfileSketch()` - `Wall.CanHaveProfileSketch()` ``` -------------------------------- ### Rebar Conversion Methods Source: https://www.revitapidocs.com/2022/news Methods to convert RebarInSystem elements into Rebar elements. ```APIDOC ## Rebar Conversion Methods ### Description Converts all RebarInSystem elements owned by the input element into equivalent Rebar elements. ### Methods - `AreaReinforcement.ConvertRebarInSystemToRebars()` - `PathReinforcement.ConvertRebarInSystemToRebars()` ``` -------------------------------- ### View API Additions Source: https://www.revitapidocs.com/2022/news New methods and properties for callout views and grid visibility in 3D views. ```APIDOC ## View API Additions ### Callout view #### View.GetCalloutParentId() Returns the ID of a view which this callout references, or InvalidElementId if there is not parent. * **Method**: View.GetCalloutParentId() (ElementId) #### View.IsCallout Identifies if the view is a callout view. * **Property**: View.IsCallout (bool) ### Grids in 3D views Several new methods in View3D control grid visibility in 3D Views: #### View3D.GetLevelsThatShowGrids() Returns a set of levels that currently show grids. * **Method**: View3D.GetLevelsThatShowGrids() (ElementIdset) #### View3D.ShowGridsOnLevel(ElementId levelId) Shows grids on the specified level. * **Method**: View3D.ShowGridsOnLevel(ElementId levelId) #### View3D.HideGridsOnLevel(ElementId levelId) Hides grids on the specified level. * **Method**: View3D.HideGridsOnLevel(ElementId levelId) #### View3D.ShowGridsOnLevels(ElementIdset levelIds) Shows grids on the specified set of levels. * **Method**: View3D.ShowGridsOnLevels(ElementIdset levelIds) ``` -------------------------------- ### MEPHiddenLineSettings Class and Methods Source: https://www.revitapidocs.com/2022/news Represents settings for mechanical hidden line display and provides a method to obtain these settings. ```APIDOC ## MEPHiddenLineSettings Class and Methods ### Description Represents the settings of the mechanical hidden line display (e.g., ducts and pipes). It can be obtained from the static method `MEPHiddenLineSettings.GetMEPHiddenLineSettings(Document)`. ### Class - `Autodesk.Revit.DB.Mechanical.MEPHiddenLineSettings` ### Static Method - `MEPHiddenLineSettings.GetMEPHiddenLineSettings(Document)` ### Properties - `MEPHiddenLineSettings.DrawHiddenLine` - `MEPHiddenLineSettings.LineStyle` - `MEPHiddenLineSettings.InsideGap` - `MEPHiddenLineSettings.OutsideGap` - `MEPHiddenLineSettings.SingleLineGap` ``` -------------------------------- ### RebarInSystem Methods Source: https://www.revitapidocs.com/2022/news Methods for manipulating individual bars within a RebarInSystem, specifically for elements owned by PathReinforcement. ```APIDOC ## RebarInSystem Methods ### Description Provides access to move, include, or remove individual bars for RebarInSystem elements owned by PathReinforcement. ### Methods - `RebarInSystem.SetBarIncluded()` - `RebarInSystem.MoveBarInSet()` - `RebarInSystem.GetMovedBarTransform()` - `RebarInSystem.ResetMovedBarTransform()` - `RebarInSystem.CanEditIndividualBars()` ``` -------------------------------- ### Viewport API Additions Source: https://www.revitapidocs.com/2022/news New properties for controlling viewport labels and their offsets. ```APIDOC ## Viewport API Additions ### Label for views on sheets (Viewport) #### Viewport.LabelOffset Controls the two-dimensional label offset from the left bottom corner of the viewport to the left end of the viewport label line. * **Property**: Viewport.LabelOffset (double) #### Viewport.LabelLineLength Controls the length of the viewport label line in sheet space. * **Property**: Viewport.LabelLineLength (double) ``` -------------------------------- ### Temporary Graphics API Source: https://www.revitapidocs.com/2022/news New class for creating and managing temporary graphics in the canvas. ```APIDOC ## Temporary Graphics API ### TemporaryGraphicsManager Allows the creation of temporary graphics in the canvas and can be used to create in-canvas controls. * **Method**: TemporaryGraphicsManager.GetTemporaryGraphicsManager() (TemporaryGraphicsManager) * **Method**: TemporaryGraphicsManager.AddControl(InCanvasControlData controlData) * **Method**: TemporaryGraphicsManager.UpdateControl(InCanvasControlData controlData) * **Method**: TemporaryGraphicsManager.RemoveControl(InCanvasControlData controlData) * **Method**: TemporaryGraphicsManager.SetVisibility(InCanvasControlData controlData, bool visible) * **Method**: TemporaryGraphicsManager.GetAll() (IList) * **Method**: TemporaryGraphicsManager.Clear() ### InCanvasControlData Stores a reference to the image used in the temporary graphics. * **Property**: InCanvasControlData.ImagePath (string) * **Property**: InCanvasControlData.Position (XYZ) ``` -------------------------------- ### Alignment Station Label Options Classes Source: https://www.revitapidocs.com/2022/news Provides options for creating alignment station labels. ```APIDOC ## Autodesk.Revit.DB.Infrastructure.AlignmentStationLabelOptions and Autodesk.Revit.DB.Infrastructure.AlignmentStationLabelSetOptions ### Description These classes provide configuration options for creating single alignment station labels or sets of labels. ``` -------------------------------- ### Import/Link Rhino Source: https://www.revitapidocs.com/2022/news Methods to import or link a 3DM file into the document. ```APIDOC ## Import/Link Rhino ### Description Methods to import or link a 3DM file into the document. ### Methods - `Document.Import(string filePath, ImportOptions3DM options, View view)` - `Document.Link(string filePath, ImportOptions3DM options, View view)` ``` -------------------------------- ### External Geometry Handling Source: https://www.revitapidocs.com/2022/news Classes and methods for representing and managing geometry from external sources, including identifiers, tagged geometry, and BRepBuilder integration. ```APIDOC ## ExternalGeometryId Class ### Description Represents an identifier for geometry from external sources. ## ExternalGeometryId.IsValidExternalGeometryId() ### Description Provides validation of an external geometry identifier. ### Method ExternalGeometryId.IsValidExternalGeometryId() ## ExternalGeometryId.Id ### Description Accesses the external geometry identifier as a String. ### Property ExternalGeometryId.Id ## ExternallyTaggedGeometryObject Class ### Description Serves as a base class for externally tagged geometry. ## ExternallyTaggedGeometryObject.ExternalId ### Description Provides the ExternalGeometryId associated with the geometry. ### Property ExternallyTaggedGeometryObject.ExternalId ## ExternallyTaggedNonBRep Class ### Description Represents non-BRep geometry with an external identifier. ## ExternallyTaggedBRep Class ### Description Represents BRep (Solid) geometry with external identifiers for the BRep itself and any subset of Faces or Edges. ## BRepBuilderPersistentIds Class ### Description Provides a mechanism to associate external identifiers with geometry created by a BRepBuilder. ## BRepBuilderPersistentIds.AddSubTag() ### Description Associates a tag with Faces and Edges created by BRepBuilder. ### Method BRepBuilderPersistentIds.AddSubTag() ## BRepBuilderPersistentIds.IsValidExternalGeometryIdForNewCorrespondence() ### Description Validates an external geometry ID for a new correspondence. ### Method BRepBuilderPersistentIds.IsValidExternalGeometryIdForNewCorrespondence() ## BRepBuilderPersistentIds.IsValidBRepBuilderGeometryIdForNewCorrespondence() ### Description Validates a BRepBuilder geometry ID for a new correspondence. ### Method BRepBuilderPersistentIds.IsValidBRepBuilderGeometryIdForNewCorrespondence() ## BRepBuilderPersistentIds.IsAssociatedBRepBuilderValid() ### Description Checks if the associated BRepBuilder is valid. ### Method BRepBuilderPersistentIds.IsAssociatedBRepBuilderValid() ## BRepBuilderPersistentIds.IsBRepBuilderGeometryIdFaceOrEdge() ### Description Determines if a BRepBuilder geometry ID corresponds to a Face or Edge. ### Method BRepBuilderPersistentIds.IsBRepBuilderGeometryIdFaceOrEdge() ## BRepBuilder.GetResult() ### Description Returns an ExternallyTaggedBRep, accepting a BRepBuilderPersistentIds. ### Method BRepBuilder.GetResult() ## ExternallyTaggedGeometryValidation Class ### Description Provides validators to help determine the validity of a GeometryObject for use with externally tagged geometry. ## ExternallyTaggedGeometryValidation.IsValidGeometry ### Description Validates a GeometryObject. ### Method ExternallyTaggedGeometryValidation.IsValidGeometry ## ExternallyTaggedGeometryValidation.IsNonSolid ### Description Checks if a GeometryObject is non-solid. ### Method ExternallyTaggedGeometryValidation.IsNonSolid ## ExternallyTaggedGeometryValidation.IsSolid ### Description Checks if a GeometryObject is solid. ### Method ExternallyTaggedGeometryValidation.IsSolid ## DirectShape.AddExternallyTaggedGeometry() ### Description Adds an ExternallyTaggedGeometryObject to a DirectShape. ### Method DirectShape.AddExternallyTaggedGeometry() ## DirectShape.GetExternallyTaggedGeometry() ### Description Retrieves an ExternallyTaggedGeometryObject from a DirectShape. ### Method DirectShape.GetExternallyTaggedGeometry() ## DirectShape.HasExternallyTaggedGeometry() ### Description Checks if a DirectShape has externally tagged geometry. ### Method DirectShape.HasExternallyTaggedGeometry() ## DirectShape.UpdateExternallyTaggedGeometry() ### Description Updates an ExternallyTaggedGeometryObject in a DirectShape. ### Method DirectShape.UpdateExternallyTaggedGeometry() ## DirectShape.RemoveExternallyTaggedGeometry() ### Description Removes an ExternallyTaggedGeometryObject from a DirectShape. ### Method DirectShape.RemoveExternallyTaggedGeometry() ## DirectShape.ResetExternallyTaggedGeometry() ### Description Resets all externally tagged geometry in a DirectShape. ### Method DirectShape.ResetExternallyTaggedGeometry() ## DirectShapeType.AddExternallyTaggedGeometry() ### Description Adds an ExternallyTaggedGeometryObject to a DirectShapeType. ### Method DirectShapeType.AddExternallyTaggedGeometry() ## DirectShapeType.GetExternallyTaggedGeometry() ### Description Retrieves an ExternallyTaggedGeometryObject from a DirectShapeType. ### Method DirectShapeType.GetExternallyTaggedGeometry() ## DirectShapeType.HasExternallyTaggedGeometry() ### Description Checks if a DirectShapeType has externally tagged geometry. ### Method DirectShapeType.HasExternallyTaggedGeometry() ## DirectShapeType.UpdateExternallyTaggedGeometry() ### Description Updates an ExternallyTaggedGeometryObject in a DirectShapeType. ### Method DirectShapeType.UpdateExternallyTaggedGeometry() ## DirectShapeType.RemoveExternallyTaggedGeometry() ### Description Removes an ExternallyTaggedGeometryObject from a DirectShapeType. ### Method DirectShapeType.RemoveExternallyTaggedGeometry() ## DirectShapeType.ResetExternallyTaggedGeometry() ### Description Resets all externally tagged geometry in a DirectShapeType. ### Method DirectShapeType.ResetExternallyTaggedGeometry() ``` -------------------------------- ### Dimension API Additions Source: https://www.revitapidocs.com/2022/news New properties for dimension layout and text prefixes/suffixes. ```APIDOC ## Dimension API Additions ### Dimension layout Several new properties allow access to positioning for various parts of a dimension: * **Property**: Dimension.TextPosition (XYZ) * **Property**: Dimension.LeaderEndPosition (XYZ) * **Property**: Dimension.HasLeader (bool) * **Property**: SpotDimension.LeaderElbowPosition (XYZ) * **Property**: SpotDimension.LeaderHasElbow (bool) ### DimensionType prefix/suffix The new properties allow access to the corresponding values in the dimension type. * **Property**: DimensionType.Prefix (string) * **Property**: DimensionType.Suffix (string) ``` -------------------------------- ### ExportPDFSettings Class Source: https://www.revitapidocs.com/2022/news Represents a named stored PDF export option within a document. ```APIDOC ## Autodesk.Revit.DB.ExportPDFSettings ### Description Represents a stored PDF export configuration. Allows for extraction, modification, or creation of named PDF export settings. ### Usage Use this class to manage predefined PDF export options within a Revit document. ``` -------------------------------- ### Phasing API Additions Source: https://www.revitapidocs.com/2022/news Methods to validate the order of phases on a given element. ```APIDOC ## Phasing API Additions ### Description Methods to validate the order of phases on a given element. ### Methods - `Element.IsDemolishedPhaseOrderValid(ElementId phaseId)` - `Element.IsCreatedPhaseOrderValid(ElementId phaseId)` ``` -------------------------------- ### Area Reinforcement Layers Methods Source: https://www.revitapidocs.com/2022/news Methods for accessing and manipulating layers within Area Reinforcement elements. ```APIDOC ## Area Reinforcement Layers Methods ### Description Provides access to the layers of Area Reinforcement elements and allows manipulation (moving and removing) of individual lines within those layers. ### Methods - `AreaReinforcement.GetNumberOfLines()` - `AreaReinforcement.GetLineFromLayerAtIndex()` - `AreaReinforcement.SetLineIncluded()` - `AreaReinforcement.IsLineIncluded()` - `AreaReinforcement.MoveLine()` - `AreaReinforcement.GetMovedLineTransform()` - `AreaReinforcement.ResetMovedLineTransform()` - `AreaReinforcement.SetLayerActive()` - `AreaReinforcement.IsLayerActive()` - `AreaReinforcement.GetLayerDirection()` ``` -------------------------------- ### DesignToFabricationConverter Method Source: https://www.revitapidocs.com/2022/news Method to set a map for converting family symbols to fabrication part types. ```APIDOC ## DesignToFabricationConverter Method ### Description Sets a map used when the design to fabrication tool is running. The map relationships will be used to replace any family instance that is based upon the family symbols found in the map with the corresponding fabrication part for the fabrication part type set in the mapping. ### Method - `DesignToFabricationConverter.SetMapForFamilySymbolToFabricationPartType()` ``` -------------------------------- ### ColorFillSchemeEntry Class Source: https://www.revitapidocs.com/2022/news Represents an entry within a color fill scheme, defining its properties. ```APIDOC ## Autodesk.Revit.DB.ColorFillSchemeEntry ### Description Represents an individual entry in a color fill scheme. ### Key Members - **Color**: Gets or sets the color for the entry. - **FillPatternId**: Gets or sets the fill pattern ID for the entry. - **Caption**: Gets or sets the caption for the entry. - **StorageType**: Gets the storage type of the entry's value. - **IsVisible**: Gets or sets whether the entry is visible. - **IsInUse**: Gets or sets whether the entry is currently in use. - **GetIntegerValue()**: Retrieves the integer value of the entry. - **GetDoubleValue()**: Retrieves the double value of the entry. - **GetStringValue()**: Retrieves the string value of the entry. - **GetElementIdValue()**: Retrieves the ElementId value of the entry. - **SetIntegerValue(int)**: Sets the integer value of the entry. - **SetDoubleValue(double)**: Sets the double value of the entry. - **SetStringValue(string)**: Sets the string value of the entry. - **SetElementIdValue(ElementId)**: Sets the ElementId value of the entry. ``` -------------------------------- ### Document.Export to PDF Source: https://www.revitapidocs.com/2022/news Exports views and sheets in PDF format with customizable options. ```APIDOC ## Document.Export(String, IList, PDFExportOptions) ### Description Exports one or more views and sheets in PDF format. ### Method Document.Export ### Parameters - **String**: Path to save the PDF file. - **IList**: A list of ElementIds representing the views and sheets to export. - **PDFExportOptions**: Options for configuring the PDF export, including graphical settings, paper format, and output options. ``` -------------------------------- ### Category API Additions Source: https://www.revitapidocs.com/2022/news New methods for accessing BuiltInCategories. ```APIDOC ## Category API Additions ### Built in Categories Allow access to BuiltInCategories. * **Method**: Category.GetBuiltInCategoryTypeId(BuiltInCategory) (ForgeTypeId) * **Method**: Category.GetBuiltInCategory(ForgeTypeId) (BuiltInCategory) * **Method**: Category.IsBuiltInCategory(ForgeTypeId) (bool) ``` -------------------------------- ### Schedule Field Customization Source: https://www.revitapidocs.com/2022/news New properties for customizing multiple value indication per schedule field. ```APIDOC ## Schedule Field Customization ### Description New properties for customizing multiple value indication per schedule field. ### Properties - `ScheduleField.MultipleValuesDisplayType` (ScheduleFieldMultipleValuesDisplayType) - `ScheduleField.MultipleValuesText` (string) - `ScheduleField.MultipleValuesCustomText` (string) ``` -------------------------------- ### Color Fill API - ColorFillScheme Source: https://www.revitapidocs.com/2022/news Represents a color scheme that can be applied to plan and section views, with methods for managing entries, formatting, and accessing scheme properties. ```APIDOC ## Color Fill API - ColorFillScheme ### Description Represents a color scheme that can be applied to plan and section views. Provides access to color fill schemes, entries, and legends, as well as the color fill scheme applied to a particular view. ### Class `Autodesk.Revit.DB.ColorFillScheme` ### Key Members - `ColorFillScheme.AddEntry()` - `ColorFillScheme.RemoveEntry()` - `ColorFillScheme.UpdateEntry()` - `ColorFillScheme.GetEntries()` - `ColorFillScheme.SetEntries()` - `ColorFillScheme.SortEntries()` - `ColorFillScheme.AreaSchemeId` - `ColorFillScheme.CategoryId` - `ColorFillScheme.ParameterDefinition` - `ColorFillScheme.StorageType` - `ColorFillScheme.Title` - `ColorFillScheme.Duplicate` - `ColorFillScheme.GetFormatOptions()` - `ColorFillScheme.SetFormatOptions()` - `ColorFillScheme.GetSupportedParameterIds()` ``` -------------------------------- ### Cloud Model API Additions Source: https://www.revitapidocs.com/2022/news Methods to access identifying Forge IDs for Cloud Models. ```APIDOC ## Document.GetHubId() ### Description Returns the ForgeDM hub id where the model locates. ### Method Document.GetHubId() ## Document.GetProjectId() ### Description Returns the ForgeDM project id where the model locates. ### Method Document.GetProjectId() ## Document.GetCloudFolderId(bool forceRefresh) ### Description Returns the ForgeDM folder id where the model locates. The forceRefresh parameter can be used to refresh the ID if needed. ### Method Document.GetCloudFolderId(bool forceRefresh) ## Document.GetCloudModelUrn() ### Description Returns a ForgeDM Urn identifying the cloud model. ### Method Document.GetCloudModelUrn() ### Note These methods all return strings, which will be empty for a document which is not a cloud model. ``` -------------------------------- ### ColorFillLegend Class Source: https://www.revitapidocs.com/2022/news Provides functionality to create, read, and modify color fill legend annotation elements. ```APIDOC ## Autodesk.Revit.DB.ColorFillLegend ### Description Represents a color fill legend annotation element. Allows for creation and modification of legend properties. ### Key Members - **Create()**: Creates a new color fill legend. - **GetColumnWidths()**: Retrieves the column widths of the legend. - **SetColumnWidths(IList)**: Sets the column widths of the legend. - **ColorFillCategoryId**: Gets or sets the category ID for the color fill. - **Height**: Gets or sets the height of the legend. - **Origin**: Gets or sets the origin point of the legend. ``` -------------------------------- ### View.ColorFillScheme Access Source: https://www.revitapidocs.com/2022/news Provides methods to access and set the color fill scheme associated with a view category. ```APIDOC ## View.GetColorFillSchemeId() and View.SetColorFillSchemeId() ### Description These methods provide read and write access to the color fill scheme associated with a specific category within a view. ### Methods - **View.GetColorFillSchemeId()**: Retrieves the ColorFillSchemeId for a category in the view. - **View.SetColorFillSchemeId(ColorFillSchemeId)**: Sets the ColorFillSchemeId for a category in the view. ``` -------------------------------- ### DirectShape and DirectShapeType Reference Geometry Source: https://www.revitapidocs.com/2022/news Methods for adding reference curves, planes, and points to DirectShape and DirectShapeType elements. Includes options for naming references and validators for inputs. ```APIDOC ## DirectShape.AddReferenceCurve() ### Description Adds a reference curve to a DirectShape element. ### Method DirectShape.AddReferenceCurve() ## DirectShape.AddReferencePlane() ### Description Adds a reference plane to a DirectShape element. ### Method DirectShape.AddReferencePlane() ## DirectShape.AddReferencePoint() ### Description Adds a reference point to a DirectShape element. ### Method DirectShape.AddReferencePoint() ## DirectShapeType.AddReferenceCurve() ### Description Adds a reference curve to a DirectShapeType. ### Method DirectShapeType.AddReferenceCurve() ## DirectShapeType.AddReferencePlane() ### Description Adds a reference plane to a DirectShapeType. ### Method DirectShapeType.AddReferencePlane() ## DirectShapeType.AddReferencePoint() ### Description Adds a reference point to a DirectShapeType. ### Method DirectShapeType.AddReferencePoint() ## DirectShapeReferenceOptions.Name ### Description Sets the assigned name for a reference. If specified, the name is visible when picking the reference's geometry; otherwise, the default DirectShape element name is displayed. ### Property DirectShapeReferenceOptions.Name ## DirectShapeReferenceOptions.IsValidReferenceName() ### Description Validates the name assigned to DirectShapeReferenceOptions.Name. ### Method DirectShape.IsValidReferenceName() ## DirectShape.IsValidReferenceCurve() ### Description Validates the inputs needed for specifying a curve reference in the DirectShape. ### Method DirectShape.IsValidReferenceCurve() ## DirectShape.IsValidReferencePlaneBoundingBoxUV() ### Description Validates the inputs needed for specifying a plane reference using BoundingBoxUV in the DirectShape. ### Method DirectShape.IsValidReferencePlaneBoundingBoxUV() ## DirectShapeType.IsValidReferenceCurve() ### Description Validates the inputs needed for specifying a curve reference in the DirectShapeType. ### Method DirectShapeType.IsValidReferenceCurve() ## DirectShapeType.IsValidReferencePlaneBoundingBoxUV() ### Description Validates the inputs needed for specifying a plane reference using BoundingBoxUV in the DirectShapeType. ### Method DirectShapeType.IsValidReferencePlaneBoundingBoxUV() ``` -------------------------------- ### Editing Sketches with SketchEditScope Source: https://www.revitapidocs.com/2022/news Allows applications to edit sketch-based elements while preserving existing elements. Supports editing of ceiling, floor, wall profile, and opening sketches. ```APIDOC ## Editing Sketches with SketchEditScope ### Description Allows an application to edit sketch based elements while preserving the unchanged elements that are already present in the sketch. When a Sketch editing session is active, you can add, delete or modify Sketch elements. When you finish the session, the edited Sketch-based element will be updated. Only certain sketches are currently supported for editing. ### Supported Sketches - Ceiling sketches - Floor sketches - Wall profile sketches - Opening sketches ### Members - `SketchEditScope` constructor - creates a new `SketchEditScope` - `SketchEditScope.Start()` - starts editing a particular sketch, including starting the associated transaction. - `SketchEditScope.IsSketchEditingSupported()` - checks if a particular sketch can be edited with a `SketchEditScope`. ``` -------------------------------- ### Autodesk.Civil.DB.Infrastructure.AlignmentStationLabel Class Source: https://www.revitapidocs.com/2022/news Represents an alignment station label annotation. ```APIDOC ## Autodesk.Revit.DB.Infrastructure.AlignmentStationLabel ### Description Represents an annotation for an alignment station label. Allows finding, creating, and modifying such labels. ### Usage This object is not an Element, but the underlying Element (a SpotDimension instance) can be obtained if needed. ``` -------------------------------- ### HVAC Load Type Properties Source: https://www.revitapidocs.com/2022/news Properties for accessing set points for HVAC load types. ```APIDOC ## HVAC Load Type Properties ### Description Provides access to heating temperature, cooling temperature, humidification, and dehumidification set point values. Temperature set points are in Kelvin, while humidity set points are percentages ranging from 0 to 1. ### Properties - `HVACLoadType.HeatingSetPoint` - `HVACLoadType.CoolingSetPoint` - `HVACLoadType.HumidificationSetPoint` - `HVACLoadType.DehumidificationSetPoint` ``` -------------------------------- ### Rebar Geometry Methods Source: https://www.revitapidocs.com/2022/news Methods to retrieve transformed centerline curves for Rebar and RebarInSystem elements. ```APIDOC ## Rebar Geometry Methods ### Description Returns the centerline curves for a given bar, considering the BarPositionTransform and MovedBarTransform, in the actual transformed position. ### Methods - `Rebar.GetTransformedCenterlineCurves()` - `RebarInSystem.GetTransformedCenterlineCurves()` ``` -------------------------------- ### Sketch APIs Source: https://www.revitapidocs.com/2022/news Provides access to sketch IDs for various elements and methods to retrieve information about sketches and their owned elements. ```APIDOC ## Sketch APIs ### Description Return the ID of the element's sketch. Also provides methods to get the ID of the element that owns a sketch and to retrieve all elements owned by a sketch. ### Methods - `Ceiling.SketchId` - `Floor.SketchId` - `Wall.SketchId` - `Opening.SketchId` - `Sketch.OwnerId` - `Sketch.GetAllElements()` ### Elements Owned by Sketch - `Autodesk.Revit.DB.ModelCurve` - `Autodesk.Revit.DB.ReferencePlane` - `Autodesk.Revit.DB.Dimension` ``` -------------------------------- ### Slanted and Tapered Walls Source: https://www.revitapidocs.com/2022/news Enables assignment of cross-section types to walls and validation of such assignments. Includes enumerations for cross-section options. ```APIDOC ## Slanted and Tapered Walls ### Description Allow assignment of a cross section type to a given wall, and determine if that type can be assigned. Includes enumerations for options related to alternate wall cross section values, especially for Tapered walls. ### Members - `Wall.CrossSection` - `Wall.IsWallCrossSectionValid()` ### Enumerations - `Autodesk.Revit.DB.WallCrossSection` - `Autodesk.Revit.DB.WidthMeasuredAt` - `Autodesk.Revit.DB.InsertOrientation` ``` -------------------------------- ### OpenOptions.IgnoreExtensibleStorageSchemaConflict Source: https://www.revitapidocs.com/2022/news Allows applications to ignore schema conflict errors when opening a model. Setting this to true will erase data in the existing schema with the conflicting ID. ```APIDOC ## OpenOptions.IgnoreExtensibleStorageSchemaConflict ### Description Allows your application to ignore a schema conflict error on open. The default is false. Setting this to true will ignore the exception of schema conflict while opening the model. Data in the existing schema with the conflicting ID will be erased from the model. ### Property * OpenOptions.IgnoreExtensibleStorageSchemaConflict (bool) ``` -------------------------------- ### RebarFreeFormAccessor Properties and Methods Source: https://www.revitapidocs.com/2022/news Properties and methods for accessing and modifying freeform rebar elements. ```APIDOC ## RebarFreeFormAccessor Properties and Methods ### Description Provides read and write access to properties of freeform rebar elements and allows changing the rebar shape. ### Properties - `RebarFreeFormAccessor.RebarStyle` - `RebarFreeFormAccessor.StirrupTieAttachmentType` ### Methods - `RebarFreeFormAccessor.SetReportedShape()` ``` -------------------------------- ### MultipleValuesIndicationSettings API Source: https://www.revitapidocs.com/2022/news Allows access to custom values for parameters when multiple elements are referenced with differing values. ```APIDOC ## MultipleValuesIndicationSettings API ### Autodesk.Revit.DB.MultipleValuesIndicationSettings Allows access to the custom value for used in instances of the Properties Palette, Tags and Schedules when multiple elements are referenced and the value of the parameter is different. * **Method**: MultipleValuesIndicationSettings.GetMultipleValuesIndicationSettings() (MultipleValuesIndicationSettings) * **Property**: MultipleValuesIndicationSettings.Custom (bool) * **Property**: MultipleValuesIndicationSettings.CustomValue (string) * **Property**: MultipleValuesIndicationSettings.Value (string) - Read-only access to the value that will be used (either the custom value or the default). ``` -------------------------------- ### Level API Additions Source: https://www.revitapidocs.com/2022/news New methods for finding the nearest level ID based on elevation. ```APIDOC ## Level API Additions ### GetNearestLevelId Returns the ID of the Level which is closest to the specified elevation. The level can be at, above or below the target elevation. If there is more than one Level at the same distance from the elevation, the Level with the lowest ID will be returned. * **Method**: Level.GetNearestLevelId(Document document, double elevation) (ElementId) * **Method**: Level.GetNearestLevelId(Document document, double elevation, out double offset) (ElementId) ``` -------------------------------- ### Revision Numbering Sequence API Source: https://www.revitapidocs.com/2022/news Provides methods for creating, managing, and retrieving revision numbering sequences and their settings. ```APIDOC ## Revision Numbering Sequence API ### Description Provides methods for creating, managing, and retrieving revision numbering sequences and their settings. ### Methods - `RevisionNumberingSequence.CreateNumericSequence()` - `RevisionNumberingSequence.CreateAlphanumericSequence()` - `RevisionNumberingSequence.GetSequenceName()` - `RevisionNumberingSequence.SetSequenceName(string sequenceName)` - `RevisionNumberingSequence.GetNumericRevisionSettings()` - `RevisionNumberingSequence.SetNumericRevisionSettings(NumericRevisionSettings settings)` - `RevisionNumberingSequence.GetAlphanumericRevisionSettings()` - `RevisionNumberingSequence.SetAlphanumericRevisionSettings(AlphanumericRevisionSettings settings)` - `RevisionNumberingSequence.GetAllRevisionNumberingSequences()` - `RevisionNumberingSequence.HasValidRevisionSettingsForNumberType()` - `RevisionNumberingSequence.HasValidNumericRevisionSettings()` - `RevisionNumberingSequence.HasValidAlphanumericRevisionSettings()` ### Properties - `RevisionNumberingSequence.NumberType` (RevisionNumberingSequence.NumberType) ``` -------------------------------- ### Floor API - GetDefaultFloorType Source: https://www.revitapidocs.com/2022/news Retrieves the ID of the default floor or foundation type for a given document. ```APIDOC ## Floor API - GetDefaultFloorType ### Description Returns the ID of the default floor or foundation type for a document. ### Method `Floor.GetDefaultFloorType(Document document, bool isFoundation)` ``` -------------------------------- ### Boundary Validation Source: https://www.revitapidocs.com/2022/news Validates if input curves form a valid horizontal boundary for creating ceilings or floors. ```APIDOC ## Boundary Validation ### Description Validates input curves form a valid horizontal boundary for Ceiling or Floor creation. ### Method `BoundaryValidation.IsValidHorizontalBoundary()` ``` -------------------------------- ### Custom Family Names Source: https://www.revitapidocs.com/2022/news Methods for setting and checking the ability to set custom family names for DirectShapeTypes. ```APIDOC ## DirectShapeType.SetFamilyName() ### Description Provides the ability to set a custom Family name for a DirectShapeType. ### Method DirectShapeType.SetFamilyName() ## DirectShapeType.CanChangeFamilyName() ### Description Provides the ability to check if a DirectShapeType supports a custom Family name. Certain categories do not support custom Family names. ### Method DirectShapeType.CanChangeFamilyName() ``` -------------------------------- ### PanelScheduleData Property Source: https://www.revitapidocs.com/2022/news Property to check if a panel schedule automatically shades load display. ```APIDOC ## PanelScheduleData Property ### Description Indicates if a panel schedule will display shading for Load cells automatically. ### Property - `PanelScheduleData.IsAutoShadingForLoadDisplay` ``` -------------------------------- ### Moving Individual Rebar in a Rebar Set Source: https://www.revitapidocs.com/2022/news Methods to move an individual bar within a Rebar Set and manage its transform. ```APIDOC ## Moving Individual Rebar in a Rebar Set ### Description Methods to move an individual bar within a Rebar Set and manage its transform. ### Methods - `Rebar.MoveBarInSet(int barIndex, Transform transform)` - `Rebar.GetBarIndexFromReference(Reference reference)` - `Rebar.GetMovedBarTransform()` - `Rebar.ResetMovedBarTransform()` ``` -------------------------------- ### ViewSystemsAnalysisReport Property Source: https://www.revitapidocs.com/2022/news Property for accessing the report style of a ViewSystemsAnalysisReport. ```APIDOC ## ViewSystemsAnalysisReport Property ### Description Accesses the report style used in a particular analysis report view. ### Property - `ViewSystemsAnalysisReport.ReportStyle` ``` -------------------------------- ### GenericZone Property Source: https://www.revitapidocs.com/2022/news Property for accessing the level offset of a GenericZone. ```APIDOC ## GenericZone Property ### Description Gets or sets the offset distance from this zone to the associated level. ### Property - `GenericZone.LevelOffset` ``` -------------------------------- ### CompoundStructure API Source: https://www.revitapidocs.com/2022/news Checks if split and merge regions operations can be used for a compound structure, associated with existing methods for region manipulation. ```APIDOC ## CompoundStructure API ### Description Checks whether split and merge regions operations can be used for this compound structure. This validator is associated with the use of the existing `MergeRegionsAdjacentToSegment()` and `SplitRegion()` methods. ### Method `CompoundStructure.CanSplitAndMergeRegionsBeUsed()` ``` -------------------------------- ### Autodesk.Civil.DB.Infrastructure.Alignment Class Source: https://www.revitapidocs.com/2022/news Represents a civil alignment and provides access to its properties and geometry. ```APIDOC ## Autodesk.Revit.DB.Infrastructure.Alignment ### Description Represents a civil alignment imported from InfraWorks. Allows querying alignment properties and geometric information. ### Usage This object is not an Element, but the underlying Element can be obtained if needed. Found in the **Addins\CivilAlignments\Autodesk.CivilAlignments.DBApplication.dll** assembly. ``` -------------------------------- ### Mesh API Additions Source: https://www.revitapidocs.com/2022/news Property to check if a mesh is closed. ```APIDOC ## Mesh API Additions ### Description Property to check if a mesh is closed. ### Properties - `Mesh.IsClosed` (bool) ``` -------------------------------- ### Numeric Revision Settings Source: https://www.revitapidocs.com/2022/news Provides methods to access and modify the minimum number of digits for a numeric revision number. ```APIDOC ## Numeric Revision Settings ### Description Provides methods to access and modify the minimum number of digits for a numeric revision number. ### Methods - `NumericRevisionSettings.GetMinimumDigits()` - `NumericRevisionSettings.SetMinimumDigits(int minimumDigits)` ``` -------------------------------- ### Removing Individual Bars from a Rebar Set Source: https://www.revitapidocs.com/2022/news Function to designate a particular bar at a given index to be included or not, and a function to check bar existence. ```APIDOC ## Removing Individual Bars from a Rebar Set ### Description Function to designate a particular bar at a given index to be included or not, and a function to check bar existence. ### Methods - `Rebar.SetBarIncluded(int barIndex, bool included)` - `Rebar.DoesBarExistAtPosition(int positionIndex)` ### Properties - `Rebar.IncludeFirstBar` (bool) - `Rebar.IncludeLastBar` (bool) ``` -------------------------------- ### Document.ResetSharedCoordinates Source: https://www.revitapidocs.com/2022/news Resets the shared coordinates for the host model, providing the same functionality as the UI Command 'Reset Shared Coordinates'. ```APIDOC ## Document.ResetSharedCoordinates() ### Description Resets the shared coordinates for the host model. It provides the same functionality as the UI Command "Reset Shared Coordinates". After resetting coordinates, the following changes will take place: 1. GIS coordinate system will be erased 2. Shared coordinates relationships with other linked models will be eliminated. 3. The Survey Point will be moved back to the startup location, where it coincides with the Internal Origin. 4. The angle between Project North and True North will be reset to 0. Note: There will be no changes to linked models. ### Method * Document.ResetSharedCoordinates() ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.