C++ / Beginner / Commands for working with .prc files / Android, iOS, macOS, Linux, Windows
Source Code Location:
CommonApplications/Prc/Examples/OdPrcExCommands
Description
This sample contains a set of commands that represent all example cases
from OdPrcCreate. Commands are
joined into a dynamic module (OdPrcCommands_*.tx file) which can be loaded
and used in any application hosted by ODA Platform (for example, in the
OdaPrcApp sample application).
Source files are available in the Prc/Examples/OdPrcExCommands folder. Release
packages (archives) contain a Visual Studio solution for the Windows platform,
a CMake file, and a pre-built binary executable file.
Usage
To run any command from the OdPrcExCommands module:
Start the OdaPrcApp sample application, then create a new file or open
an existing one, which activates items on the Edit and Tools menus.
OdPrcApp sample application with a newly created file looks like at the following picture:
Select Tools -> Load application to begin loading the OdPrcCommands_*.tx module.
ClickLoad, select the OdPrcExCommands*.tx module in
the ODA PRC SDK binary folder, and click Open.
To run any command from the OdPrcCreate sample, select an item from
Edit -> Registered Commands -> PRC create example (for example,
Create Complex Example).
Check the result of the command by switching to vectorization mode.