Help in setting up the My Chat plugin for team interaction in SketchUp

Hello, SketchUp community!

I am asking you to help me bring the My Chat plugin, which is used for team interaction between designers working remotely, into working order. This plugin was developed so that the team can communicate and solve tasks set by both managers and clients in real time.

However, despite its potential, I faced a number of problems when integrating and configuring it in SketchUp, and now I need to get it working so that it is as convenient and effective as possible for teamwork.

I will be very grateful for your help, whether it’s tips on fixing bugs, configuring the plugin, or even experience using it in real projects. After all, ultimately the goal is to create the perfect space for communication and exchange of ideas, which will help our team work even faster and more efficiently.

Thanks in advance to everyone who responds and helps in solving this problem!

With respect,
Bahrom

su_mychat.rb (12.4 KB)

First of all, there is no free version of Sketchup 2023. Are you using a cracked version of Sketchup?

In the attached file I don’t see any interaction between JavaScript and Ruby API. There are two methods, one of which you don’t call, the other one displays an html dialog.

What is the purpose of this, why do you need a “built-in” chat window at all?
There are thousands of ready-made chat software already. So, I just wonder why?

I do not see any kind of “integrating and configuring it in SketchUp”, please explain these problems.

1 Like

Thank you for responding

1.Collaboration and Interaction: The built-in chat in SketchUp can be useful for collaboration, when users can exchange messages, ask questions and discuss a project right in the work environment. This is especially true for architects, designers and engineers who work on joint projects and can use the chat to communicate quickly without leaving the application.

2.Real-time data exchange: The built-in chat can be integrated with other SketchUp functions, such as file transfer, sharing links to models, discussing specific aspects of the project directly in the program interface.

3.Automation and Support: If cat is integrated with the Ruby API, you can add automation features such as event notifications in the model or support for command queries.

4.Media sharing: The program supports the exchange of multimedia files, including images and audio files. This can be useful for sharing snapshots of models or voice messages directly in the program.

  1. Reliability and security: The SketchUp plugin can be configured so that it works only within your team, which ensures secure data exchange, limiting access by external users.

Sorry for my raw and honest opinion, but your answer looks like an AI-generated marketing “all but nothing” bs. I do not see any of your own word. There isn’t a meaningful concrete way to implement these lofty principles and there isn’t any connection to the code you posted.
Wiht this, you doesn’t explain any of my questions.

1 Like

I’m sorry that I didn’t give a specific enough answer, and thank you for your frankness.

The problem with the My Chat plugin is that it is unstable in SketchUp. When I try to set it up, errors occur when connecting to the chat server, and sometimes the chat interface does not load. I have tried the following:

Checking network settings: Make sure that the connection is stable and the chat port is open.
Checking for plugin updates: The plugin version is outdated, but no updates were found.
Conflicts with other plugins: I disabled all additional plugins, but the error remained.
What I plan to try:

I’ll try restarting SketchUp with clean settings and see if it helps.
I’ll look for errors in the plugin logs (if there are any) to find out exactly where the crash is happening
If anyone has experience with this plugin, I would appreciate some advice, especially if someone

Once again, I apologize for the lack of clarity

@Graf123D You forgot this question, maybe it’s one of the reasons for your problem.

Although, the main reason I think is this:

1 Like

This would be a commercial workflow that requires all users to have a Pro or Studio license. Your profile states you have a Free license which is for the Web browser edition of SketchUp that does not use Ruby plugins.

(1) The extension module SketchupChatPlugin should be within a unique top-level namespace module. Perhaps your company name, etc. Example …

module Graf123Bakhrom
  module SketchupChatPlugin

    # extension code ...

  end
end

(2) Do not use the file prefix su_ as this is for Trimble distributed extensions. Instead use your top-level namespace identifier as a prefix for your extension registrar script and the extension subfolder name …

Graf123Bakhrom_ChatPlugin.rb

(4) Setup your extension in the required way:

(5) The send_message() Ruby method, ie …

  # Method to send a message in the chat
  def self.send_message(message)
    begin
      puts "Message sent: #{message}"
    rescue => e
      puts "Error sending message: #{e.message}"
    end
  end

… does not send any text to the chat dialog. The puts() method sends text to $stdout which will display in the Ruby Console window.

There is nothing in the code that makes any attempt whatsoever to connect to a server. Normally server based interfaces within SketchUp HTML dialogs are loaded from the server using the UI::HtmlDialog#set_url() method.

Your code looks poorly designed as if generated by an AI.

You are trying to “reinvent the wheel”.

Collaboration between design team members can be done with Trimble Connect which is natively integrated with SketchUp. More and more real-time features are being added to Trimble Connect all the time.

I agree with @dezmo. There is no real good reason to have a collaboration interface running within SketchUp’s application process, simply to send messages or share files.

2 Likes