Hi David,
the link from Erik, to the macro forum homepage, should get you started in terms of installation, have a look at the "getting started section".
You may also read through this relative new thread, which includes a link to my Dropbox with some beginner's videos. https://community.trimble.com/question/june-2024-installation-for-macros
Note, that you shouldn't use the latest Visual Studio, but you'll have to find the older installer for 2019. Even in that one is IronPython already out of support, make sure to include it during installation.

On the macro forum front page you also find a section with a download for the SDK. These are basically commented versions of the DLL that TBC brings with its usual installer. Once you've installed Visual Studio and have linked in the SDK (follow my Dropbox videos and the video from Post #2 here) you can browse those comments. If you're lucky it looks like this, with a lot of information, but often it lacks it.

And how everything interacts with each other, what in this example a PolySeg is, why you need it, how pointclouds, surfaces, IFC ........................ work, is not explained anywhere.
And in terms of documentation this is all we have, and the rest is hours of scrolling through the Visual Studio object browser, trial and a lot of fail
- TBC does install a few sample macros into "C:\ProgramData\Trimble\MacroCommands3\Trimble" but meanwhile it's only 11
- previously it was around 50; you can find a collection with outdated code hidden in the forum blog section Sample TMLs (trimble.com)
- most of those sample macros are maintained by RPS now, hence we don't have access to the source code anymore and are forced to install their software to at least use them
If you follow any of my videos or any posts in the forum please note that with TBC 5.90 the macro folder location was changed, due to the update to Ironpython 3 it's now C:\ProgramData\Trimble\MacroCommands3
I've also published a bunch of macros on GitHub - RonnySchneider/SCR_Macros_Public. With all macros in plain text and commented to a certain degree.