Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
Rendering in Separate Threads Example

Summary

ODA Product: ODA BimRv SDK
Sample Name: BmMTDrawingMgrEx
Categories: C++ / Beginner / Working with .rvt and .rfa files / MacOS, Linux, Windows
Source Code Location: BimRv/Examples/BmMTDrawingMgrEx

Description

Example that demonstrates how to render drawings in separate concurrent threads. It accepts an RVT or RFA file and concurrently renders active Views of its DBDrawing elements. The result is a series of bitmaps that are stored in the specified directory. The names of bitmap files follow the following pattern:

*.rvt/.rfa file name* + *active view name*.bmp

Run the Sample Application

To run the BmMTDrawingMgrEx sample application:

  1. Open the terminal window and go to the directory where the sample binary file is located:
    • For Microsoft® Windows® platforms: <BIMRV_DIR>\exe\<version>
    • For non-Windows platforms: <BIMRV_DIR>/bin/<version>

    <BIMRV_DIR> is the directory where you unpacked the BimRv SDK archive.

    To determine your <version> parameter, see the appropriate section in the Download ODA BimRv SDK topic.

  2. Run the sample with appropriate parameters:
            BmMTDrawingMgrEx <input file> <output dir>
          
    input file Full path to the input RFA or RVT file.
    output dir Full path to the output directory, where bitmaps will be stored.

See Also

Use ODA BimRv SDK Sample Applications

Render Drawings in Separate Threads

Copyright © 2002 – 2022. Open Design Alliance. All rights reserved.