export_element_pattern#

Hfss.export_element_pattern(frequencies, setup, sphere, variations=None, element_name='element', output_dir=None)[source]#

Export the element pattern.

For phased array cases, only one phased array is calculated.

Parameters:
frequenciesfloat, list

Frequency value or list of frequencies to compute far field data.

setupstr

Name of the setup to use.

spherestr

Infinite sphere to use.

variationsdict, optional

Variation dictionary. The default is None, in which case the nominal variation is exported.

element_namestr, optional

Element pattern file name. The default is "element".

output_dirstr, optional

Path to export the element patterns to. The default is None, in which case the files are exported to the working_directory path.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.ExportElementPatternToFile