• Login
sketchucation logo sketchucation
  • Login
⚠️ Libfredo 15.4b | Minor release with bugfixes and improvements Update

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.
  • T Offline
    thomthom
    last edited by 5 May 2010, 12:10

    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
    • T Offline
      thomthom
      last edited by 5 May 2010, 12:42

      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 5 May 2010, 12:44

        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 5 May 2010, 12:48

          @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
          • T Offline
            thomthom
            last edited by 5 May 2010, 12:59

            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
            • T Offline
              thomthom
              last edited by 6 May 2010, 10:59

              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
              1 / 1
              • First post
                1/6
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement