This would be laborious and time-consuming to achieve manually. He wanted to automatically name each closed line with the text encompassed by the shape so when he exported the lines, they were named by the text. They can be used to create additional commands that were previously available in Terramodel.Ī customer had a TBC project file (.vce) with ~590 closed linework shapes and an equal number of text items enclosed by and associated with the shapes. You can quickly fix program issues you encounter without waiting for a future release or patch. They are extensible you can add on to an existing command to do what you need. Unlike Terramodel TMLs, the Trimble Macro Language (also known as TML) gives you "create, read, update, and delete" (CRUD) access to all of the objects and data in TBC that Trimble developers use. You can also tell your macros to use specific icons and then add those icons to your ribbons or the Quick Access toolbar like any other command. Once you copy and modify or write a macro and place it in a specified Macros folder, it will appear alphabetically in the All Commands list in TBC.
#Download trimble terramodel for windows code
You can either cut-and-paste code snippets from these to create your own macros or you can write macros from scratch. Trimble provides several predefined macros that get installed with the program. These commands appear just like the native commands in TBC. Writing macros for Trimble Business Center enables you to create your own commands so that you can customize and automate unique functions that you use frequently. Support for questions and the means for sharing macros is solely through the Trimble Macro Language forum. The functionality for writing macros for Trimble Business Center (TBC) is designed for people with coding experience.