Share
 
 

Advanced Rendering

The Advanced Rendering API is provided for enabling high-quality rendering of drawing files. Rendering is performed by the RapidRT renderer.

AutoCAD and RapidRT provide a large number of render settings, that can be saved as presets. The ACAD_RENDER_RAPIDRT_SETTINGS dictionary, which resides in the named object dictionary, contains the user defined render presets for a drawing. The current active preset is stored in the ACAD_RENDER_ACTIVE_RAPIDRT_SETTINGS dictionary. The ACAD_RENDER_GLOBAL dictionary contains settings that affect how your model is rendered.

Note: The ACAD_RENDER_SETTINGS and ACAD_RENDER_ACTIVE dictionaries used by the mental ray render have been replaced by the ACAD_RENDER_RAPIDRT_SETTINGS and ACAD_RENDER_ACTIVE_RAPIDRT_SETTINGS dictionaries which are used by the RapidRT render; the settings for the two renders are not compatible.

User-defined presets are objects of AcDbRenderSettings or a derived class. AcDbRenderSettings defines the general properties of a preset, such as the name and description. The setDisplayIndex() member function allows you to control the order in which presets are listed in the Render Presets Manager palette in AutoCAD.

Was this information helpful?