Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
Sample Commands

Summary

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

Description

A sample .tx module that contains samples for working with elements, objects and classes described in the Developer's Guide.

List of samples:

BmBlendCreateCmd A sample that creates a blend element from curve loops.
BmBrepCmd A sample that dumps B-Rep data from the given entity (by its ID).
BmBrepMeshCmd A sample that creates a DirectShape from a mesh.
BmDBView3dCreateCmd A sample that creates a 3D view.
BmDumpElementsForViewCmd A sample that prints visible view IDs.
BmDumpTableDataCmd A sample that dumps table/schedule metadata for each cell.
BmEditModeCmd A sample that turns on/off the edit mode for an element.
BmExtrusionCreateCmd A sample that creates an extrusion element from curve loops.
BmFamilyImportCmd A sample that imports a family and creates a FamilyInstance.
BmFamInstCreateCmd A sample that creates a family instance.
BmFreeFormElemCmd A sample that demonstrates the creation process of the free form element (OdBmFreeFormElement object). This sample creates a pyramid.
BmGetBrepGeometryCmd A sample that prints geometry data of an element.
BmMaterialCmd A sample that demonstrates working with materials and their fill patterns. The next actions can be done:
  • Create your own material and add it to a file.
  • Show all materials; its properties and fill patterns are presented in the current file.
BmParamsCmd A sample that prints values of the specified element's parameters.
BmRevolutionCreateCmd A sample that creates a revolution element.
BmSiteSurfaceCmd A sample that creates a SiteSurface.
BmSweepCreateCmd A sample that creates a sweep element.
BmWallCreateCmd A sample that creates a wall.
BmFloorCreateCmd A sample that creates a floor element.
BrBrepCmd A sample that uses the IBr interface to dump all B-Rep geometry in the element.
ExportCmd A sample that exports an element to a file using its ID. Export can be performed in text or binary format.
BmMoveDirectShape A sample that transforms an element using a given transformation matrix.

See Also

Use ODA BimRv SDK Sample Applications

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