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

    SketchupExtensions Conflicts?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 3 Posters 139 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

      Is it a possibility that extensions written independently by different authors inadvertently use the same Extension name? Would that mean that only the last loaded extension would be available?

      Hi

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        hmm... does SU use the extension.name instead of using the extension object passed?

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • Dan RathbunD Offline
          Dan Rathbun
          last edited by

          @jim said:

          Is it a possibility that extensions written independently by different authors inadvertently use the same Extension name?

          Of course they can, if they choose a simple name like "Cylinder" and do not set a version string, or everyone starts out with "1.0.0".. then yes they can conflict.

          Authors should use unique names, like: "Foltz: Cylinder", and use a proper version string.

          @unknownuser said:

          Would that mean that only the last loaded extension would be available?

          Sketchup decides whether to load (or not to load,) extensions, based upon a concatination of the name and version string. (Check the registry and you'll see what I mean.)

          I'm not here much anymore.

          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