def initialize_options_from_addon_preferences(self):
        """Initialize the import options from the current addon preferences."""
        addon_name = self._get_addon_name()
        import_export_prefs = bpy.context.preferences.addons[
            addon_name
        ].preferences
        self._initialize_options(import_export_prefs)
Initialize the import options from the current addon preferences.
photogrammetry_importer/operators/import_op.py