Print at Dec 19, 2025, 9:54:29 PM

Posted by k005 at Aug 25, 2022, 6:37:33 AM
Plugin Load
Hello everyone

In this way, I created an application window consisting of a window and texboxes.

I want to run it as a plugin on sweet home.

for example placing it in the tools menu.

Which codes should I add to which class?

*****
import javax.swing.JOptionPane;
import com.eteks.sweethome3d.plugin.Plugin;
import com.eteks.sweethome3d.plugin.PluginAction;



public Action() {
putPropertyValue(Property.NAME, "window-1");
putPropertyValue(Property.MENU, "Tools");

setEnabled(true);
}
****