Dynamic component - error


#1

Hello.
I am a French user of the student version of Sketchup pro 2018.
When I want to use the dynamic components, here is the obtained error messages.
I uninstalled the extension to reinstall it after but it’s the same thing!
A solution for me?
LM
Composants%20Dynamiques%20Error%201%20-%20v180315


#2

… and after this message.
Composants%20Dynamiques%20Error%202%20-%20v180315


#3

Why would you be getting an error message related to a webpage if you are using Pro 2018? Seems odd.


#4

Not odd in the least. The Dynamic Components extension windows (and that of many extensions) are webdialogs. Ie, it is a web browser instance running in a window frame, that display extension webforms which often use javascript code (as you see there is a javascript error in the DC’s extension’s "dcbridge.js" file, where code is asking for a "length" property on an object reference which references NULL. The NULL object does not have such a named property, so this results in the error we see.)

Please attach the dynamic component file so it can be examined.


#5

@DanRathbun I know you are speaking English because I recognize the words. Beyond that…


#6

… you do not understand. (Remember that you did ask.)


Well, insert a dynamic component into an empty model and select it.
Then open the 2 DC manager dialogs.

They are window frames with webpages displayed inside them.
These webpages consist of webforms (driven by DHTML, JavaScript code and CSS stylesheet files,) that talk to SketchUp via it’s Ruby API.
Changing attribute controls in these webforms manipulate the dynamic component.


#7

The question was rhetorical. And I’m pulling your leg a bit. I’m a Brit so, you know, it kinda comes with the territory!

But you have helped explain something I genuinely didn’t understand, so thank you for that.


#8

Hello Dan. Thanks for your help.
Sorry I was not available since last Thursday…
1/ When I insert an exemple dynamic component (for example the bench supplied by Sketchup), the tools are OK and works well).
2/ My projet doesn’t work… thus it comes from my project. But i don’t understand what…


#9

We cannot help you unless you attach the component SKP file here in the forum.


#10

OK. Sorry.
Here is the SKP file.C01 - Meuble dynamique v180314.skp (150.1 KB)


#11

I don’t have v18 on this computer so perhaps someone else will take a look.


#12

There aren’t any attributes applied, so perhaps the wrong file?

Naming a component 'Dynamic’doesn’t make it so…

version16.skp (405.1 KB)


#13

Hello Mike.
In first I change the file name “Dynamic” by DYN.
But it’s the same thing. Please find the videosreen.https://discourse-cdn-sjc1.com/sketchup/uploads/default/original/3X/2/a/2ad4ffb152da6ad8ab51c307d7f42983406b6d24.mp4


#14

Ah, I see you have a different problem, the dialogs won’t display properly.
Have you installed SketcHup the right way?
Many posts here on the forum:


#15

Did you try rightclicking on the component and then choose Dynamic components>attributes?


#16

OK. I try this procedure in administrator status and repair Sketchup. But it’s the same thing. I try too the rightclicking and it’s always the same problem!


#17

Status or logged in as an admin is not the same as right clicking on the installer file and choose ‘Run as Administrator’
Perhaps clearing the cache of the standard browser will help.


#18

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.