Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
Create a "Dummy" Element

Summary

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

Description

A console sample application containing an illustration of creating a "dummy" element, in which user's geometry can be added.

Run Sample Application

To run the TB_ExCreateDummyObject 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:
    
                TB_ExCreateDummyObject <filename> [<rgb_color>] [<-NF>]
              
    filename A full path to the output .rfa or .rvt file.
    rgb_color A non mandatory parameter. OdInt32-representation of RGB-value of color.
    GGroup A non mandatory parameter. It means 'merge several Geometries into GGroup'.
    DShape A non mandatory parameter. It means 'create DirectShape object'.

See Also

Use ODA BimRv SDK Sample Applications

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