AutoBBoxToolkit is a recovered and reorganized Creo TOOLKIT plug-in workspace. It provides Creo automation commands for model bounding-box parameters, volume data, drawing view helpers, BOM/parameter tooling, family table workflows, quick rename, sheet-metal flattening helpers, and related productivity features.
This workspace was rebuilt from runtime artifacts and then reorganized into a maintainable source layout. The current source tree is intended to be the canonical working tree for future development.
See also:
README_RECOVERY.mdfor recovery backgrounddocs/REBUILD_SOURCE_STATUS.mdfor the current modularization status
src/main- plug-in bootstrap, command registration, and command dispatchsrc/application- feature workflows and business logicsrc/creo- Creo TOOLKIT-facing helper wrapperssrc/ui- native Creo dialog/controller logicsrc/common- logging, path, string, and shared utility helpersinclude/autobbox- public/internal project headersresource- source.resdialog resource filesribbon- source ribbon definitiontext/resource- ribbon icon/image resourcesscripts- local build and index helper scripts
Generated runtime outputs such as build/, deploy/, runtime/, and package/ are intentionally ignored by git.
- Windows
- CMake 3.20 or newer
- Visual Studio C++ toolchain compatible with the installed Creo TOOLKIT libraries
- Creo 10.0.8.0 with TOOLKIT installed
The default CMake configuration expects Creo TOOLKIT under:
D:/Program Files/PTC/Creo 10.0.8.0/Common Files/protoolkit
Override CREO_TOOLKIT_ROOT when configuring if your installation is elsewhere.
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --config ReleaseThe project-specific build helper is:
powershell -ExecutionPolicy Bypass -File .\scripts\build_autobbox.ps1The AFX "Select From Library" dialog can be extended with a search input by patching the installed AFX dialog resource. Typing filters/selects matching library items, and Enter or the Next button cycles through additional matches:
powershell -ExecutionPolicy Bypass -File .\scripts\patch_afx_library_search.ps1By default the script patches the standalone AFX installation at
D:\Program Files\buw\AFX 10.0.8.0\text\resource. Pass -AfxResourceRoot only
if a different AFX resource directory should be patched.
The script backs up the original files as *.autobbox-search-backup. To undo
the resource change:
powershell -ExecutionPolicy Bypass -File .\scripts\restore_afx_library_search.ps1DWG post-processing reads the current drawing setup/detail options loaded from
the user's drawing.dtl, preferring default_annotation_font and then
default_font. When Creo's internal stroke font values such as font or
font.ndx are encountered, AutoBBox writes DWG text styles with
ChangFangSong.ttf instead so exported DWGs keep a consistent long Fangsong
font.
- Do not commit local Creo SDK headers, libraries, generated install indexes, DLLs, PDBs, or runtime deployment mirrors.
- Keep source resources in
resource/,ribbon/,text/resource/, andautobbox_msg.txt; deployment mirrors are generated/local. - Project-local evidence/index folders under
.autobbox/are local development aids and are intentionally excluded from public source control.
This project is licensed under the MIT License. See LICENSE for details.
AutoBBoxToolkit is an independent community project. It is not affiliated with, endorsed by, or sponsored by PTC. Creo and Creo TOOLKIT are trademarks or registered trademarks of their respective owners.