sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Script Versions/Revisions

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 649 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Jim
      last edited by

      How do script writers manage script versions? Is there generally accepted numbering system?

      Hi

      1 Reply Last reply Reply Quote 0
      • AdamBA Offline
        AdamB
        last edited by

        I've adopted the sketchup protocol of implementing a method called version_number in your main Module. I use a format of majorversion.minorversion{a-z}

        The letters being patches / bug fixes to minor versions.

        Adam

        Developer of LightUp Click for website

        1 Reply Last reply Reply Quote 0
        • T Offline
          todd burch
          last edited by

          I typically leave a comment in the script to its version.

          At Smustard, we have grandiose plans for implementing common structures and runtime reports for information such as this, but have not done so yet.

          This could be achieved by the script registering it's information at runtime (a "push" method, of sorts, like we all do for $loaded_files) or a script could implement a method where it could be queried for it's information (a "pull" method - with neither "push" nor "pull" suggesting an appropriate name - just used as an illustration).

          Like Progressbar, if we come up with something at Smustard, it could be used by all.

          Todd

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement