You need to use one of the functions available in the macro. Usually this is
export_faces
You can see the function prototype for a short description on how to use it:
def export_faces(filename, isDiel=False, name="", showNormals=False, folder=DEF_FOLDER):
'''export faces in FasterCap format as conductor or dielectric interface
The function operates on the selection. The selection can be a face, a compound or a solid.
'filename' is the name of the export file
'isDiel' specifies if the mesh is a dielectric, so the function will add
a reference point to each panel to indicate which is the external side (outside)
'name' is the name of the conductor created in the file. If not specified, defaults
to the label of the first element in the selection set
'showNormals' will add a compound object composed by a set of arrows showing the
normal direction for each panel
'folder' is the folder in which 'filename' will be saved
Example:
export_faces("mymesh.txt", folder="C:/temp")
'''
Best Regards,
Enrico