Print at Dec 21, 2025, 10:47:23 AM

Posted by Puybaret at Aug 14, 2015, 3:43:23 AM
Re: How to get PlanComponent from Plug-in ?
You can access to MultipleLevelsPlanPanel instance with:
getHomeController().getPlanController().getView()
but this won't help you because there's no way to export to SVG from this component.
I would suggest to create a PlanComponent instance and call exportToSVG or getClipboardImage on it like actual implementation of the matching menu.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator