IronPython 3.4.
TBC v5.90+ uses Python 3 moving forward and I would assume that will be the case onward.
Original Message:
Sent: 04-24-2024 08:55
From: Support CPOY
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Thanks Bryce. Do you recommend the last IronPython 3.4 for macro development or should I use an earlier version 2.x?
cheers
Jarkko
------------------------------
Support CPOY
Original Message:
Sent: 04-24-2024 08:04
From: Bryce Haire
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hi Jarkko,
IronPython has support for 64bit, but VS2022 has not been updated to support IronPython.
You can use either one, but personally I use VS2019 for the intellisense support that is available. Tradeoffs using one or the other.
Hope this helps!
------------------------------
Bryce Haire
Original Message:
Sent: 04-24-2024 06:54
From: Support CPOY
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hi, I noticed last IronPython has 64bit version, so I wonder if VS2019 is still the recommendation?
regards
Jarkko
------------------------------
Support CPOY
Original Message:
Sent: 03-18-2022 08:41
From: Gary Lantaff
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
VS2022 is a 64 bit developer tool and is NOT compatible with IronPython. It will run OK but setting breakpoints does not work.
Best to stay with VS2019 for now.
------------------------------
Gary Lantaff
Original Message:
Sent: 03-18-2022 01:56
From: Gerben Van Ranst
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hello Gary,
I was wondering if this version of Macros SDK is also compatible with VS2022.
Everything was installed in this order: VS => IronPyton; MacrosSDK.
The installation was successful: the Macros SDK folder was placed in Program Files/Trimble/...; the zip was placed in the Templates folder in my Documents. However, the template is not showing in VS. I 'tricked' the installation by manually creating the VS2019 path where the zip expects to be installed (successfully) and I've copied the zip to my VS2022 folder.
Thank you in advance.
Best regards,
Gerben
------------------------------
Gerben Van Ranst
Application Engineer
AllTerra Belux
Melle - Belgium
Original Message:
Sent: 01-06-2021 10:13
From: Gary Lantaff
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
The install folder you showed was correct. You should not modify or add any files to the Visual Studio install. I would delete the files you copied to the Visual Studio folder.
Visual Studio template extensions should be placed in your "Documents" folder. The template is a zip file (named "TbcMacros.zip" in this case).
Located here: C:\Users\<userName>\Documents\Visual Studio 2019\Templates\ProjectTemplates\TbcMacros.zip
To get going, I would:
1) Delete files you copied to Visual Studio folder
2) Uninstall "Trimble Macros SDK"
3) Download latest version of SDK (I just updated it to match TBC version 5.40 today 1/6/2021)
http://dl.trimble.com/osg/survey/macros/trimble_macros_sdk_v5.40.msi
4) Start Visual Studio and create new project. The template for TbcMacros will likely be the last in the list so scroll down to the bottom the of template list.
Good luck.
------------------------------
Gary Lantaff
Original Message:
Sent: 12-27-2020 00:29
From: usman Bajwa
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hi,
The Trimble Macro SDK location after installation:

Then I placed it in project template folder after changing the name from Macro SDK to TbcMacro:

But still i cannot see the template file in the Vision 2019 software.
There is no .vstemplate and .py files in Trimble TBC Macro SDK.
I am thankful for your help. I am looking forward for more help from your side.
thanks again.
Regards,
Usman Farooq
------------------------------
usman Bajwa
Original Message:
Sent: 12-24-2020 11:59
From: Gary Lantaff
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
The SDK install should have placed the template in the Visual Studio folder in your MyDocuments folder. So first check if the file is in this folder.

If the file is not there, then you can copy the file from the SDK install folder.

------------------------------
Gary Lantaff
Original Message:
Sent: 12-21-2020 00:37
From: usman Bajwa
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
I reinstalled macro sdk. But still I cannot find Trimble template file while creating project.
------------------------------
usman Bajwa
Original Message:
Sent: 12-20-2020 10:04
From: Gary Lantaff
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
The macro sdk must be installed after Visual Studio. Try installing macro sdk again.
------------------------------
Gary Lantaff
Original Message:
Sent: 12-19-2020 00:17
From: usman Bajwa
Subject: How can I use Trimble Macro SDK in Visual Studio 2019
Hi,
I just started to work on Trimble Macro SDK.
I have visual Studio 2019. I also installed Trimble Macro SDK.
But I cannot see its template file when I am creating a project for Trimble environment.
Please guide me. Thanks.
Regards,
Usman
------------------------------
usman Bajwa
------------------------------