2024 Class
Changes 4
C

DocumentEntryPoint

Description:
For Revit Macros use only.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.UIDocument
    Autodesk.Revit.UI.Macros.DocumentEntryPoint
public abstract class DocumentEntryPoint : UIDocument, 
	IEntryPoint
Name Return Type Description Inherited From
C DocumentEntryPoint() None Initializes a new instance of the class
C DocumentEntryPoint() None Initializes a new instance of the class
C UIDocument(Document) None Use a database level Document to construct a UI-level Document. UIDocument
Name Return Type Description Inherited From
M FinishInitializationEO() None For Revit Macros internal use only.
M FinishInitializationEO() None For Revit Macros internal use only.
M Initialize(Object, String) None For Revit Macros internal use only.
M Initialize(Object, String) None For Revit Macros internal use only.
M OnShutdownEO() None For Revit Macros internal use only.
M OnShutdownEO() None For Revit Macros internal use only.
M CanPlaceElementType(ElementType) bool Verifies that the user can be prompted to place the input element type interactively. UIDocument
M Dispose() None Releases all resources used by the UIDocument
M GetOpenUIViews() IList<UIView> Get a list of all open view windows in the Revit user interface. UIDocument
M GetPlacementTypes(FamilySymbol, View) IList<FaceBasedPlacementType> Get a collection of valid placement types for input family symbol. UIDocument
M GetRevitUIFamilyLoadOptions() IFamilyLoadOptions Return the option object that allows you to use Revit's dialog boxes to let the user respond to questions that arise during loading of families. UIDocument
M GetSketchGalleryOptions(FamilySymbol) IList<SketchGalleryOptions> Gets the valid sketch gallery options of a family symbol. UIDocument
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. UIDocument
M PromptForFamilyInstancePlacement(FamilySymbol) None Prompts the user to place instances of the specified FamilySymbol. UIDocument
M PromptForFamilyInstancePlacement(FamilySymbol, PromptForFamilyInstancePlacementOptions) None Prompts the user to place instances of the specified FamilySymbol. UIDocument
M PromptToMatchElementType(ElementType) None Prompts the user to select elements to change them to the input type. UIDocument
M PromptToPlaceElementTypeOnLegendView(ElementType) None Prompts the user to place an element type onto a legend view. UIDocument
M PromptToPlaceViewOnSheet(View, Boolean) None Prompts the user to place a specified view onto a sheet. UIDocument
M RefreshActiveView() None Refresh the display of the active view in the active document. UIDocument
M RequestViewChange(View) None Requests an asynchronous change of the active view in the currently active document. UIDocument
M SaveAndClose() bool Close the document, prompting the user for saving it when necessary. 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. 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. UIDocument
M ShowElements(Element) None Shows the element by zoom to fit. UIDocument
M ShowElements(ElementId) None Shows the element by zoom to fit. UIDocument
M ShowElements(ElementSet) None Shows the elements by zoom to fit. UIDocument
M ShowElements(ICollection<ElementId>) None Shows the elements by zoom to fit. UIDocument
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. UIDocument
Name Return Type Description Inherited From
P AddinFolder string The full path to the Revit Macros module.
P AddinFolder string The full path to the Revit Macros module.
P ActiveGraphicalView View The currently active graphical view of the currently active document. UIDocument
P ActiveView View The currently active view of the currently active document. UIDocument
P Application UIApplication Retrieves an object that represents the current Application. UIDocument
P Document Document Returns the database level document represented by this UI-level document. UIDocument
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. UIDocument
P Selection Selection Retrieve the currently selected Elements in Autodesk Revit. UIDocument