2024 Members
Changes 4
M

DocumentEntryPoint Methods

Name Return Type Description Inherited From
M CanPlaceElementType(ElementType) bool Verifies that the user can be prompted to place the input element type interactively. (Inherited from UIDocument .) UIDocument
M Dispose() None (Inherited from UIDocument .) UIDocument
M Equals None Determines whether the specified Object is equal to the current Object . (Inherited from Object .) Object .
M FinishInitializationEO() None For Revit Macros internal use only.
M GetHashCode None Serves as a hash function for a particular type. (Inherited from Object .) Object .
M GetOpenUIViews() IList<UIView> Get a list of all open view windows in the Revit user interface. (Inherited from UIDocument .) UIDocument
M GetPlacementTypes(FamilySymbol, View) IList<FaceBasedPlacementType> Get a collection of valid placement types for input family symbol. (Inherited from UIDocument .) UIDocument
M GetSketchGalleryOptions(FamilySymbol) IList<SketchGalleryOptions> Gets the valid sketch gallery options of a family symbol. (Inherited from UIDocument .) UIDocument
M GetType None Gets the Type of the current instance. (Inherited from Object .) Object .
M Initialize(Object, String) None For Revit Macros internal use only.
M OnShutdownEO() None For Revit Macros internal use only.
M PostRequestForElementTypePlacement(ElementType) None Places a request on Revit's command queue for the user to place instances of the specified ElementType. This does not execute immediately, but instead when control returns to Revit from the current API context. (Inherited from UIDocument .) UIDocument
M PromptForFamilyInstancePlacement(FamilySymbol) None Prompts the user to place instances of the specified FamilySymbol. (Inherited from UIDocument .) UIDocument
M PromptForFamilyInstancePlacement(FamilySymbol, PromptForFamilyInstancePlacementOptions) None Prompts the user to place instances of the specified FamilySymbol. (Inherited from UIDocument .) UIDocument
M PromptToMatchElementType(ElementType) None Prompts the user to select elements to change them to the input type. (Inherited from UIDocument .) UIDocument
M PromptToPlaceElementTypeOnLegendView(ElementType) None Prompts the user to place an element type onto a legend view. (Inherited from UIDocument .) UIDocument
M PromptToPlaceViewOnSheet(View, Boolean) None Prompts the user to place a specified view onto a sheet. (Inherited from UIDocument .) UIDocument
M RefreshActiveView() None Refresh the display of the active view in the active document. (Inherited from UIDocument .) UIDocument
M RequestViewChange(View) None Requests an asynchronous change of the active view in the currently active document. (Inherited from UIDocument .) UIDocument
M SaveAndClose() bool Close the document, prompting the user for saving it when necessary. (Inherited from UIDocument .) UIDocument
M SaveAs.() None Saves the document to a file name obtained from the Revit user without prompting the user to overwrite file if it exists. (Inherited from UIDocument .) UIDocument
M SaveAs(UISaveAsOptions) None Saves the document to a file name obtained from the Revit user optionally prompting the user to overwrite file if it exists. (Inherited from UIDocument .) UIDocument
M ShowElements(Element) None Shows the element by zoom to fit. (Inherited from UIDocument .) UIDocument
M ShowElements(ElementId) None Shows the element by zoom to fit. (Inherited from UIDocument .) UIDocument
M ShowElements(ICollection.ElementId.) None Shows the elements by zoom to fit. (Inherited from UIDocument .) UIDocument
M ShowElements(ElementSet) None Shows the elements by zoom to fit. (Inherited from UIDocument .) UIDocument
M ToString None Returns a string that represents the current object. (Inherited from Object .) Object .
M UpdateAllOpenViews() None Update all open views in this document after elements have been changed, deleted, selected or de-selected. Graphics in the views are fully redrawn regardless of which elements have changed. (Inherited from UIDocument .) UIDocument