IFC Export - labelname sync definition

For me the code works as expected, also in existing SketchUp models.

I cannot manage to produce the same error.
What do you run the code with? Directly in the Ruby Console or with an extension?

Directly in the Ruby Console

Is it possible to refresh every component and then run the Ruby again ? If this would help of course.
Because i see some older IFClabels on the older drawings but the new IFClabels don’t take over.

Once you run the code in the Ruby Console, the information in the classified component definitions will be overwritten.

I have tested the code in several new and existing models but I don’t get an error message at all.
I cannot find out exactly why things are not going well for you on the basis of the information provided.

I would relaunch SketchUp, purge the model and then run the code again.
Make sure you neatly copy and paste all the previously mentioned code into the Ruby Console.

1 Like