Configuration utilities > Business Modeler IDE
bmide_generatecode
Autogenerates C/C++ code for business objects and property operations from the Business Modeler IDE. Syntax bmide_generatecode -templateProj=source-template-project-input-location -templateDeps=dependent-templates-input-location -srcDir=skeleton-implementation-classes-output-location -gensrcDir=autogenerated-classes-output-location -serviceLibs=[all | service-libraries] -log=log-output-file [-h] Arguments -templateProj Specifies the file path and name of the input location of the source template project. -templateDeps Specifies the file path and name of the input location of the dependent templates. -srcDir Specifies the file path and name of the output location of the skeleton implementation classes. This argument is optional. -gensrcDir Specifies the file path and name of the output location for autogenerated classes. -serviceLibs Generates code for all custom service libraries defined in the specified Business Modeler IDE project. Specify a comma-delimited list of service library names or all, for example, -serviceLibs=all. Before running this utility with the -serviceLibs argument, you must do the following: Set the JDK_HOME environment variable to point to the installed JDK location. Add the JDK_HOME\bin directory to the path variable. In the Business Modeler IDE project, ensure that the SoaExternalBuild.SoaClientKitLocation value in the ProjectInfo.xml file is set to the location of the soa_client folder. This corresponds to the value in the Teamcenter Services client kit home box in the Build Configuration dialog box for the project. To access this dialog box, in the Navigator view, right-click the project and choose Properties, and in the left pane, choose Teamcenter→Build configuration. -log Specifies file path and name of the log file that contains the results of this execution. This argument is optional. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples Copy bmide_generatecode -templateProj=D:\udu\meta_dev10\custom1 -templateDeps=D:\udu\meta_dev10\templates -srcDir=D D:\udu\meta_dev10\custom1\src\server -gensrcDir=D:\udu\meta_dev10\custom1\output\server\gensrc -log=D:\udu\meta_dev10\CodeGenUtil.log Related Topics BMIDE for Data Model Design
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/coz1737253683897/avc1737253684501/bmide_generatecode.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)