MapStub#

class ansys.speos.core.kernel.map.MapStub(channel)#

Database interactions for map actions.

Parameters:
channelgrpc.Channel

Channel to use for the stub.

Examples

The best way to get a MapStub is to retrieve it from SpeosClient via maps() method. Like in the following example:

>>> from ansys.speos.core.speos import Speos
>>> speos = Speos()
>>> map_db = speos.client.maps()

Overview#

export_xmp_to_image

Export XMP file to PNG file.

Import detail#

from ansys.speos.core.kernel.map import MapStub

Method detail#

MapStub.export_xmp_to_image(xmp_file_uri, image_file_uri)#

Export XMP file to PNG file.

Parameters:
xmp_file_uriPath | str

XMP file to be exported.

image_file_uriPath | str

PNG file to be created.