19 lines
592 B
Batchfile
19 lines
592 B
Batchfile
@echo off
|
|
|
|
set OFBogen_PATH=%~dp0
|
|
set PROPS_PATH=C:\Program Files\RuleDesigner\RDConfigurator Fusion\WebApi\Editor2D\SSG\shapes\props
|
|
|
|
set JSON_PATH_BOGEN=%OFBogen_PATH%JSON
|
|
|
|
python 01_props_step1_calculations_to_standardize_the_dimensions_and_add_connection_points.py
|
|
python 01_props_step2_update_dimensions_and_connection_points_in_props.py
|
|
|
|
|
|
:: Check if Python script succeeded
|
|
if %ERRORLEVEL% equ 0 (
|
|
echo update dimensions and connection points in props completed successfully
|
|
) else (
|
|
echo update dimensions and connection points in props failed with error %ERRORLEVEL%
|
|
)
|
|
|
|
pause |