export_variables_to_csv#

Q2d.export_variables_to_csv(output_file, export_project_variables=True, export_design_properties=True)[source]#

Export design properties, project variables, or both to a CSV file.

Parameters:
output_filestr

Full path and name for the CSV file.

export_project_variablesbool, optional

Whether to export project variables. The default is True.

export_design_propertiesbool, optional

Whether to export design properties. The default is True.

Returns:
bool

True when successful, False when failed.

References

>>> oProject.GetProperties
>>> oDesign.GetProperties
>>> oProject.GetVariableValue
>>> oDesign.GetVariableValue