In the Revit.ini file, settings in the [Graphics] section control the display of graphics in the drawing area.
AllowNavigationDuringRedraw
Corresponds to the Allow navigation during redraw option in the Graphics Mode section on the Graphics tab of the Options dialog.
Type = integer
Valid values: 0 = disable, 1 = enable (default)
Antialiasing
Corresponds to the Smooth lines with anti-aliasing option on the Graphics tab of the Options dialog. Use this setting to improve the quality of lines in views.
Type = integer
Specify one of the following values:
- 0 = disable anti-aliasing for all views
- 1 = (default) enable anti-aliasing (see AntialiasingOptions to determine whether it is enabled for all views or for selected views)
AntialiasingOptions
When the Antialiasing setting is defined as 1, set AntialiasingOptions to one of the following values, which correspond to the indicated options on the Graphics tab of the Options dialog.
Type = integer
- 1 = Allow control for each view in the Graphic Display Options dialog. Users can use the Smooth lines with anti-aliasing option of the Graphic Display Options dialog to enable anti-aliasing for individual views.
- 0 = Use for all views (control for each view is disabled). Anti-aliasing is applied to all views in the project. Users cannot disable anti-aliasing for individual views.
HiddenSlabEdge
Determines how hidden lines of slab edges display in plan views of "Structural" discipline.
Type = string
Valid values:
- All = show all hidden lines for slab edges
- Itself = show the bearing or hidden edges (default)
- Other = show the edge intersecting the slab
- None = show no hidden lines for slab edges
SemiTransparent
Corresponds to the Semi-transparent option in the Colors section on the Graphics tab of the Options dialog.
Type = integer
Valid values: 0 = disable, 1 = enable (default)
TempDimFontSizeInPoints
Specifies the point size of text in temporary dimensions. This setting corresponds to the Size option in the Temporary Dimension Text Appearance section on the Graphics tab of the Options dialog.
Type = integer
Valid values: between 8 (the default) and 20
TempDimTextBackground
Corresponds to the Background option in the Temporary Dimension Text Appearance section on the Graphics tab of the Options dialog.
Type = integer
Valid values: 0 = transparent (default), 1 = opaque
ThinLinesEnabled
Stores the Thin Lines setting.
Type = integer
Valid values: 1 = enable thin lines (default), 0 = disable thin lines
UseGpuOcclusionCulling
Corresponds to the Draw visible elements only option on the Hardware tab of the Options dialog.
Type = integer
Valid values:
- 1 = draw visible elements only; do not draw elements that are obscured by others (default)
- 0 = draw all elements, even those that are not visible in the view
UseGraphicsHardware
Corresponds to the Use Hardware Acceleration option on the Hardware tab of the Options dialog.
Type = integer
Valid values: 1 = enable hardware acceleration (default), 0 = disable hardware acceleration
Example
[Graphics] InvertBackground=0 Antialiasing=1 AntialiasingOptions=1 SemiTransparent=1 TempDimTextBackground=1 HiddenSlabEdge=all TempDimFontSizeInPoints=12 UseGpuOcclusionCulling=1 UseGraphicsHardware=1 AllowNavigationDuringRedraw=1