Re: Automating the creation of walls, placement of doors,

by Puybaret » Fri Jul 12, 2024 7:53 am

Retrieve home controller instance with [font=courier new]getHomeContoller[/font] method in the plug-in, then you can let the user choose a file with the [font=courier new]showOpenDialog[/font] method available in the ContentManager instance bound to home controller.
Reading the content of the file as an image can be done with Java standard javax.imageio.ImageIO class.