2022 Members
Changes 4
M

ApplicationEntryPoint

Name Return Type Description Inherited From
M CopyModel(ModelPath, String, Boolean) None Copies an existing model to a new file. Overwriting a file of the same name is allowed. (Inherited from Application .) Application
M Dispose() None (Inherited from Application .) Application
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M ExtractPartAtomFromFamilyFile(String, String) None Writes a PartAtom XML from the contents of a family file. (Inherited from Application .) Application
M FinishInitializationEO() None For Revit Macros internal use only.
M GetAssets(AssetType) IList<Asset> Gets all the Assets of the specified type. (Inherited from Application .) Application
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetLibraryPaths() IDictionary Returns path information identifying where Revit searches for content. (Inherited from Application .) Application
M GetRevitServerNetworkHosts() IList<string> Gets the list of all Revit Server Network hosts in current session. (Inherited from Application .) Application
M GetSystemsAnalysisWorkflowNames() IList<string> Returns names for systems analysis workflows. (Inherited from Application .) Application
M GetSystemsAnalysisWorkflows() IDictionary Returns name and path information identifying systems analysis workflow files. (Inherited from Application .) Application
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M GetWorksharingCentralGUID(ServerPath) Guid Gets the worksharing central GUID of the given server-based model. (Inherited from Application .) Application
M Initialize(Object, String) None For Revit Macros internal use only.
M IsJournalPlaying() bool Determines if the application is currently in journal playback mode. (Inherited from Application .) Application
M NewFamilyDocument(String) Document New family document, including family, titleblock, and annotation symbol (Inherited from Application .) Application
M NewProjectDocument(String) Document New project document (Inherited from Application .) Application
M NewProjectDocument(UnitSystem) Document Creates a new project document with no template file specified. (Inherited from Application .) Application
M NewProjectTemplateDocument(String) Document New project template document (Inherited from Application .) Application
M OnShutdownEO() None For Revit Macros internal use only.
M OpenBuildingComponentDocument(String) Document Opens a Building Component document from disk. (Inherited from Application .) Application
M OpenDocumentFile(String) The opened document. Opens a document from disk. (Inherited from Application .) Application
M OpenDocumentFile(ModelPath, OpenOptions) The opened document. Opens a document from disk or cloud. (Inherited from Application .) Application
M OpenDocumentFile(ModelPath, OpenOptions, IOpenFromCloudCallback) The opened document. Opens a document from disk or cloud. (Inherited from Application .) Application
M OpenIFCDocument(String) Document Opens an IFC document from disk using default options. (Inherited from Application .) Application
M OpenIFCDocument(String, IFCImportOptions) Document Opens an IFC document from disk using custom options. (Inherited from Application .) Application
M OpenSharedParameterFile() nullNothingnullptr Enables access to shared parameter groups and definitions that are maintained on disk. (Inherited from Application .) Application
M PurgeReleasedAPIObjects() None Explicitly purges all API objects that have been released but are still awaiting to be finalized (Inherited from Application .) Application
M SetLibraryPaths(IDictionary<String, String>) None Sets path information identifying where Revit searches for content. (Inherited from Application .) Application
M SetSystemsAnalysisWorkflows(IDictionary<String, String>) None Sets name and path information identifying systems analysis workflow files. (Inherited from Application .) Application
M ToString None Returns a string that represents the current object. (Inherited from Object .) Object .
M UpdateRenderAppearanceLibrary() None Updates the stored render appearance library, giving the Revit session access to any new RPC content. (Inherited from Application .) Application
M WriteJournalComment(String, Boolean) None Writes a comment to the Revit journal file. (Inherited from Application .) Application
Name Return Type Description Inherited From
P ActiveAddInId AddInId Retrieves the Id of the currently running external application. (Inherited from Application .) Application
P AddinFolder string The full path to the Revit Macros module.
P AllowNavigationDuringRedraw bool Checks whether or not the navigation during redraw is enabled, and enable or disable it. (Inherited from Application .) Application
P AllUsersAddinsLocation string The folder location for .addin files for all users. (Inherited from Application .) Application
P AngleTolerance double Angle tolerance. (Inherited from Application .) Application
P BackgroundColor Color The background color to use for model views in this session. (Inherited from Application .) Application
P Cities CitySet Returns a set of all the known city locations within Revit. (Inherited from Application .) Application
P Create Application Provides an object that can be used to create new instances of Autodesk Revit API objects. (Inherited from Application .) Application
P CurrentRevitServerAccelerator string Current Revit Server accelerator. (Inherited from Application .) Application
P CurrentUserAddinsLocation string The folder location for .addin files for the current user. (Inherited from Application .) Application
P CurrentUsersAddinsDataFolderPath string Path to AddinsData folder for the current user. (Inherited from Application .) Application
P CurrentUsersDataFolderPath string Path to data folder for the current user. (Inherited from Application .) Application
P 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. (Inherited from Application .) Application
P DefaultProjectTemplate string Full path to the default template file for new project documents. (Inherited from Application .) Application
P DefaultViewDiscipline ViewDiscipline The view discipline that will be applied to new views by default. (Inherited from Application .) Application
P Documents DocumentSet Returns a set of documents within Revit. (Inherited from Application .) Application
P ExportIFCCategoryTable string Full path to the file that defines Revit category to IFC entity mappings for IFC export. (Inherited from Application .) Application
P FamilyTemplatePath string Default path for family template files. (Inherited from Application .) Application
P ImportIFCCategoryTable string Full path to the file that defines IFC entity to Revit category mappings for IFC import. (Inherited from Application .) Application
P IsArchitectureEnabled bool Checks whether or not the architecture discipline is enabled, and enable or disable it. (Inherited from Application .) Application
P IsElectricalAnalysisEnabled bool Checks whether or not electrical analysis is enabled, and enable or disable it. (Inherited from Application .) Application
P IsElectricalEnabled bool Checks whether or not the electrical discipline is enabled, and enable or disable it. (Inherited from Application .) Application
P IsEnergyAnalysisEnabled bool Checks whether or not energy analysis is enabled, and enable or disable it. (Inherited from Application .) Application
P IsInfrastructureEnabled bool Checks whether or not infrastructure discipline is enabled, and enable or disable it. (Inherited from Application .) Application
P IsMassingEnabled bool Checks whether or not the massing and site tools are enabled, and enable or disable them. (Inherited from Application .) Application
P IsMechanicalAnalysisEnabled bool Checks whether or not mechanical analysis is enabled, and enable or disable it. (Inherited from Application .) Application
P IsMechanicalEnabled bool Checks whether or not the mechanical discipline is enabled, and enable or disable it. (Inherited from Application .) Application
P IsPipingAnalysisEnabled bool Checks whether or not piping analysis is enabled, and enable or disable it. (Inherited from Application .) Application
P IsPipingEnabled bool Checks whether or not the piping discipline is enabled, and enable or disable it. (Inherited from Application .) Application
P IsRouteAnalysisEnabled bool Checks whether or not route analysis is enabled, and enable or disable it. (Inherited from Application .) Application
P IsStructuralAnalysisEnabled bool Checks whether or not the structural analysis is enabled, and enable or disable it. (Inherited from Application .) Application
P IsStructureEnabled bool Checks whether or not the structure discipline is enabled, and enable or disable it. (Inherited from Application .) Application
P IsSystemsEnabled bool Checks whether or not any systems disciplines (mechanical, electrical, or piping) are enabled. (Inherited from Application .) Application
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. (Inherited from Application .) Application
P Language LanguageType The language used in the current session of Revit. (Inherited from Application .) Application
P LoginUserId string The user id of the user currently logged in. The user id will be empty if the user is not logged in. (Inherited from Application .) Application
P PointCloudsRootPath string Root path for point cloud files. (Inherited from Application .) Application
P Product ProductType The product type for the current session of Revit. (Inherited from Application .) Application
P RecordingJournalFilename string Retrieve the name of the journal file the Revit is currently recording to. (Inherited from Application .) Application
P SharedParametersFilename string Contains the fully qualified path to a shared parameters file. (Inherited from Application .) Application
P ShortCurveTolerance double The enforced minimum length for any curve created by Revit. (Inherited from Application .) Application
P ShowGraphicalWarningCableTrayConduitDisconnects bool Whether or not to show the graphical warnings for CTC disconnects. (Inherited from Application .) Application
P ShowGraphicalWarningDuctDisconnects bool Whether or not to show the graphical warnings for duct disconnects. (Inherited from Application .) Application
P ShowGraphicalWarningElectricalDisconnects bool Whether or not to show the graphical warnings for Electrical disconnects. (Inherited from Application .) Application
P ShowGraphicalWarningHangerDisconnects bool Whether or not to show the graphical warnings for Fabrication Hanger disconnects. (Inherited from Application .) Application
P ShowGraphicalWarningPipeDisconnects bool Whether or not to show the graphical warnings for Pipe disconnects. (Inherited from Application .) Application
P SubVersionNumber string The minor version number of Revit (Inherited from Application .) Application
P SystemsAnalysisWorkfilesRootPath string Root path for systems analysis workfiles (Inherited from Application .) Application
P Username string Gets the user name for the current Revit session. (Inherited from Application .) Application
P VersionBuild string Returns the internal build number of the Autodesk Revit application. (Inherited from Application .) Application
P VersionName string Returns the name of the Revit application. (Inherited from Application .) Application
P VersionNumber string Return the primary version of the Revit application. (Inherited from Application .) Application
P VertexTolerance double Vertex tolerance. (Inherited from Application .) Application