TBC Macros and Extensions

 View Only
Expand all | Collapse all

Which Window, VS, Timble Macros SDK and IronPython offer maximum compatibility

  • 1.  Which Window, VS, Timble Macros SDK and IronPython offer maximum compatibility

    Posted 06-19-2024 11:39

    I'm having tons of issue following the tutorial (no TbcMacros, no WPF Window element, cant add Trimble.Vce.UI.Control.dll elements, etc etc)

    So I'd like to replicate exactly a working environment, therefore I'd like to know which versions offer maximum compatibility/less problems of:

    • Windows
    • Visual Studio
    • IronPython
    • Timble Macros SDK


    ------------------------------
    Giuseppe Barbieri
    ------------------------------


  • 2.  RE: Which Window, VS, Timble Macros SDK and IronPython offer maximum compatibility

    Posted 06-19-2024 11:42

    Hi Giuseppe, 
    Welcome to TBC Macros development. 

    If you are struggling with the provided tutorials, I would suggest you check out this post by Ronny about the setup and getting going with Macros for TBC.

    https://community.trimble.com/question/june-2024-installation-for-macros

    This is probably the best resource for getting started and we very much appreciate Ronny for putting this together. 

    Welcome aboard!



    ------------------------------
    Bryce Haire
    ------------------------------



  • 3.  RE: Which Window, VS, Timble Macros SDK and IronPython offer maximum compatibility

    Posted 06-20-2024 02:59

    Hello Giuseppe,

    just to answer your list.

      • the IronPython version depends on your TBC version
        • everything prior to 5.90 requires Ironpython 2.7
        • from TBC V5.90 onwards it uses Ironpython 3.4
        • that's also the reason for the folder change from "C:\ProgramData\Trimble\MacroCommands" to "C:\ProgramData\Trimble\MacroCommands3"
        • BUT, that enabled us to keep different TBC versions that use different python versions, there are slight language differences, I personally didn't have to change too much code
      • you should always use the MacroSDK that fits your TBC version


      ------------------------------
      Ronny Schneider
      ------------------------------