Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
Export to a Collada File Example

Summary

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

Description

A Sample Console Application Illustrating reading a .rvt or .rfa file and writing it to a Collada file.

Run Sample Application

To run the BmColladaExportEx sample application, please do the following:

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

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

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

  2. Run the sample with appropriate parameters:
    
                BmColladaExportEx <input file> <output file> [<element handle>] [<All>]
              
    input file A full path to the input .rfa or .rvt file.
    output file A name of the output .dae file.
    element handle A non mandatory parameter that contains a value of the OdDbHandle class of an element represented with the OdBmElement class for export.
    All If specified, determines that all drawing databases should be exported to different files.

See Also

Use ODA BimRv SDK Sample Applications

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