sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Multiple ComponentDefinition with the same name

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    6 Posts 2 Posters 2.8k Views 2 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.
    • thomthomT Offline
      thomthom
      last edited by

      A user at the ASGVis forum just reported an bug which turned out to an obscure SU bug:
      Multiple ComponentDefinitions with the same name.

      How to reproduce:
      Search for "TV" on Google Warehouse
      Search.png

      Add the top left TV
      Console list of all definition names:
      Output01.png

      Then add the second TV, right to the first one in the search results.
      Console list of all definition names:
      Output02.png

      EntityInfo01.png

      EntityInfo02.png

      One would expect SU to rename the latest TV added to TV#1 - but alas.


      DefBug.skp

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

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

        FYI: a little patching utility to fix the definition names: http://forums.sketchucation.com/viewtopic.php?f=323&t=28095

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

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by

          Are you certain there isn't a space in one of the strings?
          "TV "
          "TV"

          Hi

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            @jim said:

            Are you certain there isn't a space in one of the strings?

            Now I see the download. An extra space is not the case.

            Hi

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

              And VfSU renders incorrectly due to this. One of the instances are replaced by the incorrect definition.

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

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

                I just noticed that in another model I have, where I had imported geometry from a DWG, multiple definitions had the same name.

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

                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