2027 Members
Changes 0
M

Application Methods

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.
M Dispose() None
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.
M GetAssets(AssetType) IList<Asset> Gets all the Assets of the specified type.
M GetExtendedApiService<TService>(?) TService
M GetFailureDefinitionRegistry() FailureDefinitionRegistry Returns the instance of FailureDefinitionRegistry.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetLibraryPaths() IDictionary<String,String> Returns path information identifying where Revit searches for content.
M GetRevitServerNetworkHosts() IList<String> Gets the list of all Revit Server Network hosts in current session.
M GetSystemsAnalysisWorkflowNames() IList<String> Returns names for systems analysis workflows.
M GetSystemsAnalysisWorkflows() IDictionary<String,String> Returns name and path information identifying systems analysis workflow files.
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.
M IsJournalPlaying() Boolean Determines if the application is currently in journal playback mode.
M IsValidThickness(Double) Boolean 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).
M NewFamilyDocument(String) Document New family document, including family, titleblock, and annotation symbol
M NewProjectDocument(String) Document New project document
M NewProjectDocument(UnitSystem) Document Creates a new project document with no template file specified.
M NewProjectTemplateDocument(String) Document New project template document
M OpenDocumentFile(String) Document Opens a document from disk.
M OpenDocumentFile(ModelPath, OpenOptions) Document Opens a document from disk or cloud.
M OpenDocumentFile(ModelPath, OpenOptions, IOpenFromCloudCallback) Document Opens a document from disk or cloud.
M OpenIFCDocument(String) Document Opens an IFC document from disk using default options.
M OpenIFCDocument(String, IFCImportOptions) Document Opens an IFC document from disk using custom options.
M OpenSharedParameterFile() DefinitionFile Enables access to shared parameter groups and definitions that are maintained on disk.
M PurgeReleasedAPIObjects() None Explicitly purges all API objects that have been released but are still awaiting to be finalized
M 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 and errors, consider use of IFailuresPreprocessor (in your opened Transaction) or the FailuresProcessing event instead of this interface.
M SetLibraryPaths(IDictionary<StringString>) None Sets path information identifying where Revit searches for content.
M SetSystemsAnalysisWorkflows(IDictionary<StringString>) None Sets name and path information identifying systems analysis workflow files.
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.
M WriteJournalComment(String, Boolean) None Writes a comment to the Revit journal file.