A class containing options for loading a group from a file.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.GroupLoadOptions
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public class GroupLoadOptions : IDisposable
The GroupLoadOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | GroupLoadOptions | Creates a new instance of a GroupLoadOptions object. |
Properties
Name | Description | |
---|---|---|
![]() | IncludeAttachedDetails | True if attached detail groups should be included, false otherwise. The default value is true. |
![]() | IncludeGrids | True if grids should be brought in from the input file, false otherwise. The default value is false. |
![]() | IncludeLevels | True if levels should be brought in from the input file, false otherwise. The default value is false. |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
![]() | ReplaceDuplicatedGroups | If there are groups with the same names in source and destination documents set this property to true to replace existing groups, otherwise the operation will be canceled. The default value is false. |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the GroupLoadOptions |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetDuplicateTypeNamesHandler | Returns current duplicate type names handler or nullptr if none is set. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | SetDuplicateTypeNamesHandler | Sets a custom duplicate type names handler. If this value is not set, the default handler is used. By default, Revit displays a modal dialog with options to either copy new types only, or cancel the operation. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |