sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Bug in Dynamic Components w/some component names

    Scheduled Pinned Locked Moved SketchUp Bug Reporting
    sketchup
    3 Posts 3 Posters 2.5k Views
    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.
    • M Offline
      morgan_greywolf
      last edited by

      If you name a component with double-quote (") in it, when you try to assign attributes using "Component Attributes," you'll get a "No entity data found." error, followed by a "Callback function error: 'length' is null or not an object @ /dcbridge.js[2573]" error. The workaround is to not use a double-quote (") in your component definition name.

      This was found in Sketchup Pro 8.0.3117. Looks to me like someone forgot to scan the component def name for double-quotes and escape them. (Yes, I'm a professional coder)

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

        Oh yeah, I see what you mean. SketchUp allows Definition names to contain double-quotes, but DC's can't parse it. Seems buggy to me.

        Hi

        1 Reply Last reply Reply Quote 0
        • W Offline
          wkearney99
          last edited by

          Is there a bug report that addresses this? It's still a problem. Just try using the component for this item:

          Samsung 55" LED LCD 240Hz TV (UN55B8000)

          That " inch mark trips up the DC code. The temporary fix is to bring up that entity's info and remove the " character. That'll let the DC code continue.

          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