ApplicationEntryPoint
Description:
For Revit Macros use only.
For Revit Macros use only.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.ApplicationServices.Application
Autodesk.Revit.DB.Macros.ApplicationEntryPoint
System.Object
Autodesk.Revit.ApplicationServices.Application
Autodesk.Revit.DB.Macros.ApplicationEntryPoint
public abstract class ApplicationEntryPoint : Application,
IEntryPoint
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ApplicationEntryPoint() | None | Initializes a new instance of the class | |
| ApplicationEntryPoint() | None | Initializes a new instance of the class |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ApplicationInitialized | event | Subscribe to this event to get notified after the Revit application has been initialized | Application |
| DocumentChanged | event | Subscribe to the DocumentChanged event to be notified when Revit document has changed. | Application |
| DocumentClosed | event | Subscribe to the DocumentClosing event to be notified when Revit is just about to close a document. | Application |
| DocumentClosing | event | Subscribe to the DocumentClosing event to be notified when Revit is just about to close a document. | Application |
| DocumentCreated | event | Subscribe to the DocumentCreated event to be notified immediately after Revit has finished creating a new document. | Application |
| DocumentCreating | event | Subscribe to the DocumentCreating event to be notified when Revit is just about to create a new document. | Application |
| DocumentOpened | event | Subscribe to the DocumentOpened event to be notified immediately after Revit has finished opening a document. | Application |
| DocumentOpening | event | Subscribe to the DocumentOpening event to be notified when Revit is just about to open a document. | Application |
| DocumentPrinted | event | Subscribe to the DocumentPrinted event to be notified immediately after Revit has finished printing a view or ViewSet of the document. | Application |
| DocumentPrinting | event | Subscribe to the DocumentPrinting event to be notified when Revit is just about to print a view or ViewSet of the document. | Application |
| DocumentReloadedLatest | event | Subscribe to the DocumentReloadedLatestEventArgs event to be notified immediately after Revit has finished reloading a document with central model. | Application |
| DocumentReloadingLatest | event | Subscribe to the DocumentReloadingLatestEventArgs event to be notified when Revit is just about to reload latest changes from a central model. | Application |
| DocumentSavedAs | event | Subscribe to the DocumentSavedAs event to be notified immediately after Revit has finished saving document with a new file name. | Application |
| DocumentSaved | event | Subscribe to the DocumentSaved event to be notified immediately after Revit has finished saving a document. | Application |
| DocumentSavingAs | event | Subscribe to the DocumentSavingAs event to be notified when Revit is just about to save the document with a new file name. | Application |
| DocumentSaving | event | Subscribe to the DocumentSaving event to be notified when Revit is just about to save a document. | Application |
| DocumentSynchronizedWithCentral | event | Subscribe to the DocumentSynchronizedWithCentral event to be notified immediately after Revit has finished synchronizing a document with central model. | Application |
| DocumentSynchronizingWithCentral | event | Subscribe to the DocumentSynchronizingWithCentral event to be notified when Revit is just about to synchronize a document with central model. | Application |
| DocumentWorksharingEnabled | event | Subscribe to the DocumentWorksharingEnabled event to be notified when a document has become workshared. | Application |
| ElementTypeDuplicated | event | Subscribe to the ElementTypeDuplicated event to be notified immediately after Revit has finished duplicating an element type. | Application |
| ElementTypeDuplicating | event | Subscribe to the ElementTypeDuplicating event to be notified when Revit is just about to duplicate an element type. | Application |
| FailuresProcessing | event | Subscribe to the FailuresProcessing event to be notified when failures are being processed at the end of transaction. | Application |
| FamilyLoadedIntoDocument | event | Subscribe to the FamilyLoadedInto event to be notified after Revit loaded a family into a document. | Application |
| FamilyLoadingIntoDocument | event | Subscribe to the FamilyLoadingInto event to be notified when Revit is just about to load a family into a document. | Application |
| FileExported | event | Subscribe to the FileExported event to be notified immediately after Revit has finished exporting files of formats supported by the API. | Application |
| FileExporting | event | Subscribe to the FileExporting event to be notified when Revit is just about to export files of formats supported by the API. | Application |
| FileImported | event | Subscribe to the FileImported event to be notified immediately after Revit has finished importing a file of format supported by the API. | Application |
| FileImporting | event | Subscribe to the FileImporting event to be notified when Revit is just about to import a file of format supported by the API. | Application |
| LinkedResourceOpened | event | Subscribe to the LinkedResourceOpened event to be notified immediately after Revit has finished opening a linked resource. | Application |
| LinkedResourceOpening | event | Subscribe to the LinkedResourceOpening event to be notified when Revit is just about to open a linked resource. | Application |
| ProgressChanged | event | Subscribe to the ProgressChanged event to be notified when an operation in Revit has progress bar data available. | Application |
| ViewExported | event | Subscribe to the ViewExported event to be notified immediately after Revit has finished exporting a view of the document. | Application |
| ViewExporting | event | Subscribe to the ViewExporting event to be notified when Revit is just about to export a view of the document. | Application |
| ViewPrinted | event | Subscribe to the ViewPrinted event to be notified immediately after Revit has finished printing a view of the document. | Application |
| ViewPrinting | event | Subscribe to the ViewPrinting event to be notified when Revit is just about to print a view of the document. | Application |
| ViewsExportedByContext | event | Subscribe to the ViewsExportedByContext event to be notified immediately after Revit has finished exporting one or more views of the document via an export context by CustomExporter. | Application |
| ViewsExportingByContext | event | Subscribe to the ViewsExportingByContext event to be notified when Revit is just about to export one or more views of the document via an export context by CustomExporter. | Application |
| WorksharedOperationProgressChanged | event | Subscribe to the WorksharedOperationProgressChanged to be notified when progress has changed during Collaboration for Revit's workshared operations: open model and synchronize with central. | Application |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| CreateRibbonPanel(String) | RibbonPanel | ||
| CreateRibbonPanel(String, String) | RibbonPanel | ||
| CreateRibbonPanel(Tab, String) | RibbonPanel | ||
| CreateRibbonTab(String) | None | ||
| FinishInitializationEO() | None | For Revit Macros internal use only. | |
| FinishInitializationEO() | None | For Revit Macros internal use only. | |
| GetRibbonPanels() | List<RibbonPanel> | ||
| GetRibbonPanels(String) | List<RibbonPanel> | ||
| GetRibbonPanels(Tab) | List<RibbonPanel> | ||
| Initialize(Object, String) | None | For Revit Macros internal use only. | |
| Initialize(Object, String) | None | For Revit Macros internal use only. | |
| OnShutdownEO() | None | For Revit Macros internal use only. | |
| OnShutdownEO() | None | For Revit Macros internal use only. | |
| CopyModel(ModelPath, String, Boolean) | None | Copies an existing model to a new file. Overwriting a file of the same name is allowed. | Application |
| Dispose() | None | Releases all resources used by the | Application |
| ExtractPartAtomFromFamilyFile(String, String) | None | Writes a PartAtom XML from the contents of a family file. | Application |
| GetAssets(AssetType) | IList<Asset> | Gets all the Assets of the specified type. | Application |
| GetFailureDefinitionRegistry() | FailureDefinitionRegistry | Returns the instance of FailureDefinitionRegistry. | Application |
| GetLibraryPaths() | IDictionary | Returns path information identifying where Revit searches for content. | Application |
| GetRevitServerNetworkHosts() | IList<string> | Gets the list of all Revit Server Network hosts in current session. | Application |
| GetSystemsAnalysisWorkflowNames() | IList<string> | Returns names for systems analysis workflows. | Application |
| GetSystemsAnalysisWorkflows() | IDictionary | Returns name and path information identifying systems analysis workflow files. | Application |
| GetWorksharingCentralGUID(ServerPath) | Guid | Gets the worksharing central GUID of the given server-based model. | Application |
| IsJournalPlaying() | bool | Determines if the application is currently in journal playback mode. | Application |
| IsValidThickness(Double) | bool | Checks if the input value is valid to be supplied as a thickness (for an extrusion, or blend, or wall layer, or similar geometric construct). | Application |
| NewAreaCreationData(ViewPlan, UV) | AreaCreationData | Creates an object which wraps the arguments of Area for batch creation. | Application |
| NewBoundingBoxUV() | BoundingBoxUV | Creates an empty two-dimensional rectangle. | Application |
| NewBoundingBoxUV(Double, Double, Double, Double) | BoundingBoxUV | Creates a two-dimensional rectangle with supplied values. | Application |
| NewBoundingBoxXYZ() | BoundingBoxXYZ | Creates a three-dimensional rectangular box. | Application |
| NewCategorySet() | CategorySet | Creates a new instance of a set specifically for holding category objects. | Application |
| NewColor() | Color | Returns a new color object. | Application |
| NewCombinableElementArray() | CombinableElementArray | Returns an array that can hold combinable element objects. | Application |
| NewCurveArrArray() | CurveArrArray | Creates an empty array that can store geometric curve loops. | Application |
| NewCurveArray() | CurveArray | Creates an empty array that can store geometric curves. | Application |
| NewCurveLoopsProfile(CurveArrArray) | CurveLoopsProfile | Creates a new CurveLoopsProfile object. | Application |
| NewDoubleArray() | DoubleArray | Creates a new instance of a double array. | Application |
| NewDWFExportOptions() | DWFExportOptions | Creates DWF Export options. | Application |
| NewDWFXExportOptions() | DWFXExportOptions | Creates DWFX Export options. | Application |
| NewElementId() | ElementId | Creates a new Autodesk::Revit::DB::ElementId^ object. | Application |
| NewElementSet() | ElementSet | Creates a new instance of a set specifically for holding elements. | Application |
| NewFaceArray() | FaceArray | Creates a new instance of a face array. | Application |
| NewFamilyDocument(String) | Document | New family document, including family, titleblock, and annotation symbol | Application |
| NewFamilyInstanceCreationData(Curve, FamilySymbol, Level, StructuralType) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(Face, Line, FamilySymbol) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(Face, XYZ, XYZ, FamilySymbol) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(FamilySymbol, IList<XYZ>) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(XYZ, FamilySymbol, Element, Level, StructuralType) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(XYZ, FamilySymbol, Element, StructuralType) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(XYZ, FamilySymbol, Level, StructuralType) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(XYZ, FamilySymbol, StructuralType) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilyInstanceCreationData(XYZ, FamilySymbol, XYZ, Element, StructuralType) | FamilyInstanceCreationData | Creates an object which wraps the arguments of NewFamilyInstance() for batch creation. | Application |
| NewFamilySymbolProfile(FamilySymbol) | FamilySymbolProfile | Creates a new FamilySymbolProfile object. | Application |
| NewFBXExportOptions() | FBXExportOptions | Creates 3D-Studio Max (FBX) Export options. | Application |
| NewGBXMLImportOptions() | GBXMLImportOptions | Creates Green-Building XML Import options. | Application |
| NewGeometryOptions() | Options | Creates an object to specify user preferences in parsing of geometry. | Application |
| NewInstanceBinding() | InstanceBinding | Creates a new empty instance binding object. | Application |
| NewInstanceBinding(CategorySet) | InstanceBinding | Creates a new instance binding object containing the categories passed as a parameter. | Application |
| NewIntersectionResultArray() | IntersectionResultArray | Creates a new instance of an IntersectionResult array. | Application |
| NewPointOnEdgeEdgeIntersection(Reference, Reference) | PointOnEdgeEdgeIntersection | Construct a PointOnEdgeEdgeIntersection object which is used to define the placement of a ReferencePoint given two references to edge. | Application |
| NewPointOnEdgeFaceIntersection(Reference, Reference, Boolean) | PointOnEdgeFaceIntersection | Construct a PointOnEdgeFaceIntersection object which is used to define the placement of a ReferencePoint given a references to edge and a reference to face. | Application |
| NewPointOnEdge(Reference, PointLocationOnCurve) | PointOnEdge | Create a PointOnEdge object which is used to define the placement of a ReferencePoint. | Application |
| NewPointOnFace(Reference, UV) | PointOnFace | Construct a PointOnFace object which is used to define the placement of a ReferencePoint given a reference and a location on the face. | Application |
| NewPointOnPlane(Reference, UV, UV, Double) | PointOnPlane | Construct a PointOnPlane object which is used to define the placement of a ReferencePoint from its property values. | Application |
| NewPointRelativeToPoint(Reference) | PointRelativeToPoint | Create a PointRelativeToPoint object, which is used to define the placement of a ReferencePoint relative to a host point. | Application |
| NewProjectDocument(String) | Document | New project document | Application |
| NewProjectDocument(UnitSystem) | Document | Creates a new project document with no template file specified. | Application |
| NewProjectPosition(Double, Double, Double, Double) | ProjectPosition | Creates a new project position object. | Application |
| NewProjectTemplateDocument(String) | Document | New project template document | Application |
| NewReferenceArray() | ReferenceArray | Creates a new instance of a reference array. | Application |
| NewReferencePointArray() | ReferencePointArray | Creates an empty array that can store ReferencePoint objects. | Application |
| NewSpaceSet() | SpaceSet | Creates a new instance of a space set. | Application |
| NewTypeBinding() | TypeBinding | Creates a new empty type binding object. | Application |
| NewTypeBinding(CategorySet) | TypeBinding | Creates a new type binding object containing the categories passed as a parameter. | Application |
| NewUV() | UV | Creates a UV object at the origin. | Application |
| NewUV(Double, Double) | UV | Creates a UV object representing coordinates in 2-space with supplied values. | Application |
| NewUV(UV) | UV | Creates a UV object by copying the supplied UV object. | Application |
| NewVertexIndexPairArray() | VertexIndexPairArray | Returns an array that can hold VertexIndexPair objects. | Application |
| NewVertexIndexPair(Int32, Int32) | VertexIndexPair | Creates a new VertexIndexPair object. | Application |
| NewViewSet() | ViewSet | Creates a new instance of a View set. | Application |
| NewXYZ() | XYZ | Creates a XYZ object at the origin. | Application |
| NewXYZ(Double, Double, Double) | XYZ | Creates a XYZ object representing coordinates in 3-space with supplied values. | Application |
| NewXYZ(XYZ) | XYZ | Creates a XYZ object by copying the supplied XYZ object. | Application |
| OpenBuildingComponentDocument(String) | Document | Opens a Building Component document from disk. | Application |
| OpenDocumentFile(ModelPath, OpenOptions) | The opened document. | Opens a document from disk or cloud. | Application |
| OpenDocumentFile(ModelPath, OpenOptions, IOpenFromCloudCallback) | The opened document. | Opens a document from disk or cloud. | Application |
| OpenDocumentFile(String) | The opened document. | Opens a document from disk. | Application |
| OpenIFCDocument(String) | Document | Opens an IFC document from disk using default options. | Application |
| OpenIFCDocument(String, IFCImportOptions) | Document | Opens an IFC document from disk using custom options. | Application |
| OpenSharedParameterFile() | nullNothingnullptr | Enables access to shared parameter groups and definitions that are maintained on disk. | Application |
| PurgeReleasedAPIObjects() | None | Explicitly purges all API objects that have been released but are still awaiting to be finalized | Application |
| RegisterFailuresProcessor(IFailuresProcessor) | None | Replaces Revit's default user interface (if present) with alternative handling for all warnings and errors (including those not generated by your application) for the rest of the Revit session; if your application is not prepared to respond to all warnings | Application |
| SetLibraryPaths(IDictionary<String, String>) | None | Sets path information identifying where Revit searches for content. | Application |
| SetSystemsAnalysisWorkflows(IDictionary<String, String>) | None | Sets name and path information identifying systems analysis workflow files. | Application |
| UpdateRenderAppearanceLibrary() | None | Updates the stored render appearance library, giving the Revit session access to any new RPC content. | Application |
| WriteJournalComment(String, Boolean) | None | Writes a comment to the Revit journal file. | Application |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddinFolder | string | The full path to the Revit Macros module. | |
| AddinFolder | string | The full path to the Revit Macros module. | |
| ActiveAddInId | AddInId | Retrieves the Id of the currently running external application. | Application |
| AllowNavigationDuringRedraw | bool | Checks whether or not the navigation during redraw is enabled, and enable or disable it. | Application |
| AllUsersAddinsLocation | string | The folder location for .addin files for all users. | Application |
| AngleTolerance | double | Angle tolerance. | Application |
| BackgroundColor | Color | The background color to use for model views in this session. | Application |
| Cities | CitySet | Returns a set of all the known city locations within Revit. | Application |
| Create | Application | Provides an object that can be used to create new instances of Autodesk Revit API objects. | Application |
| CurrentRevitServerAccelerator | string | Current Revit Server accelerator. | Application |
| CurrentUserAddinsLocation | string | The folder location for .addin files for the current user. | Application |
| CurrentUsersAddinsDataFolderPath | string | Path to AddinsData folder for the current user. | Application |
| CurrentUsersDataFolderPath | string | Path to data folder for the current user. | Application |
| DefaultIFCProjectTemplate | string | Full path to the default template file for new IFC project documents. It may be empty, in which case the DefaultProjectTemplate should be used. | Application |
| DefaultProjectTemplate | string | Full path to the default template file for new project documents. | Application |
| DefaultViewDiscipline | ViewDiscipline | The view discipline that will be applied to new views by default. | Application |
| Documents | DocumentSet | Returns a set of documents within Revit. | Application |
| ExportIFCCategoryTable | string | Full path to the file that defines Revit category to IFC entity mappings for IFC export. | Application |
| FamilyTemplatePath | string | Default path for family template files. | Application |
| ImportIFCCategoryTable | string | Full path to the file that defines IFC entity to Revit category mappings for IFC import. | Application |
| IsArchitectureEnabled | bool | Checks whether or not the architecture discipline is enabled, and enable or disable it. | Application |
| IsElectricalAnalysisEnabled | bool | Checks whether or not electrical analysis is enabled, and enable or disable it. | Application |
| IsElectricalEnabled | bool | Checks whether or not the electrical discipline is enabled, and enable or disable it. | Application |
| IsEnergyAnalysisEnabled | bool | Checks whether or not energy analysis is enabled, and enable or disable it. | Application |
| IsLoggedIn | bool | Checks if the user is logged in from this session to their Autodesk account. | Application |
| IsMassingEnabled | bool | Checks whether or not the massing and site tools are enabled, and enable or disable them. | Application |
| IsMechanicalAnalysisEnabled | bool | Checks whether or not mechanical analysis is enabled, and enable or disable it. | Application |
| IsMechanicalEnabled | bool | Checks whether or not the mechanical discipline is enabled, and enable or disable it. | Application |
| IsPipingAnalysisEnabled | bool | Checks whether or not piping analysis is enabled, and enable or disable it. | Application |
| IsPipingEnabled | bool | Checks whether or not the piping discipline is enabled, and enable or disable it. | Application |
| IsRouteAnalysisEnabled | bool | Checks whether or not route analysis is enabled, and enable or disable it. | Application |
| IsStructuralAnalysisEnabled | bool | Checks whether or not the structural analysis is enabled, and enable or disable it. | Application |
| IsStructureEnabled | bool | Checks whether or not the structure discipline is enabled, and enable or disable it. | Application |
| IsSystemsEnabled | bool | Checks whether or not any systems disciplines (mechanical, electrical, or piping) are enabled. | Application |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | Application |
| Language | LanguageType | The language used in the current session of Revit. | Application |
| LoginUserId | string | The user id of the user currently logged in. The user id will be empty if the user is not logged in. | Application |
| MinimumThickness | double | The minimum thickness allowed in Revit for a variety of geometric constructs. These include blends, extrusions, and wall layers. | Application |
| PointCloudsRootPath | string | Root path for point cloud files. | Application |
| Product | ProductType | The product type for the current session of Revit. | Application |
| RecordingJournalFilename | string | Retrieve the name of the journal file the Revit is currently recording to. | Application |
| SharedParametersFilename | string | Contains the fully qualified path to a shared parameters file. | Application |
| ShortCurveTolerance | double | The enforced minimum length for any curve created by Revit. | Application |
| ShowGraphicalWarningCableTrayConduitDisconnects | bool | Whether or not to show the graphical warnings for CTC disconnects. | Application |
| ShowGraphicalWarningDuctDisconnects | bool | Whether or not to show the graphical warnings for duct disconnects. | Application |
| ShowGraphicalWarningElectricalDisconnects | bool | Whether or not to show the graphical warnings for Electrical disconnects. | Application |
| ShowGraphicalWarningHangerDisconnects | bool | Whether or not to show the graphical warnings for Fabrication Hanger disconnects. | Application |
| ShowGraphicalWarningPipeDisconnects | bool | Whether or not to show the graphical warnings for Pipe disconnects. | Application |
| SubVersionNumber | string | The minor version number of Revit | Application |
| SystemsAnalysisWorkfilesRootPath | string | Root path for systems analysis workfiles | Application |
| Username | string | Gets the user name for the current Revit session. | Application |
| VersionBuild | string | Returns the internal build number of the Autodesk Revit application. | Application |
| VersionName | string | Returns the name of the Revit application. | Application |
| VersionNumber | string | Return the primary version of the Revit application. | Application |
| VertexTolerance | double | Vertex tolerance. | Application |