Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 470 times and has 2 replies Next Thread
MarioDLCO
Newbie



México
Joined: Jan 14, 2025
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
How to call to open another plugin programatically

How do you call another installed plugin to run via code?
Regards.
[Mar 3, 2025, 2:52:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to call to open another plugin programatically

This isn't possible through public APIs. You may use Java reflection to access private code and reach other plugins.
If the plugins which have to communicate are both yours, you may use the classes in the package it.ld.sh3d.messaging, which you can find in the plugins Wirings and 3D dimension lines, they provide a pub/sub style API for cross-plugins communication.
[Mar 3, 2025, 4:41:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
MarioDLCO
Newbie



México
Joined: Jan 14, 2025
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to call to open another plugin programatically

Daniels, thanks.
I will try.
[Mar 3, 2025, 11:15:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved