ElementExporter exporter = new ElementExporter( targetLibraryHandle );
DesignSession session = structToExport.getElementHandle( ).getModule( ) .getSession( ); LibraryHandle libraryHandle = openOrCreateLibrary( session, libraryFileName ); assert libraryHandle != null;
	public static void exportStructure( StructureHandle structToExport,			LibraryHandle targetLibraryHandle, boolean canOverride )			throws SemanticException	{		ElementExporter.checkStructureToExport( structToExport );		ElementExporter exporter = new ElementExporter( targetLibraryHandle );		exporter.exportStructure( structToExport, canOverride );	}