.. _ref_usability_features: Usability features ================== API search ---------- The :ref:`API search ` allows you to search for a word throughout Fluent's object hierarchy. It provides results based on supported features, including semantic matching, wildcard pattern matching, whole word matching, and misspelled word correction. Semantic search is the default, with English (``eng``) as the default language. For a list of supported languages, see `OMW Version 1 `_. Examples -------- .. code-block:: python >>> import ansys.fluent.core as pyfluent >>> >>> # Semantic search >>> pyfluent.search("font") .results.graphics.contour[""].color_map.font_automatic (Parameter) .results.graphics.contour[""].color_map.font_name (Parameter) .results.graphics.contour[""].color_map.font_size (Parameter) .results.graphics.lic[""].color_map.font_automatic (Parameter) .results.graphics.lic[""].color_map.font_name (Parameter) .results.graphics.lic[""].color_map.font_size (Parameter) .results.graphics.olic[""].color_map.font_automatic (Parameter) .results.graphics.olic[""].color_map.font_name (Parameter) .results.graphics.olic[""].color_map.font_size (Parameter) ... .preferences.Appearance.Charts.Font (Object) .preferences.Appearance.Charts.Font.Axes (Parameter) .preferences.Appearance.Charts.Font.AxesTitles (Parameter) .preferences.Appearance.Charts.Font.Legend (Parameter) .preferences.Appearance.Charts.Font.Title (Parameter) ... >>> >>> # Chinese semantic search >>> pyfluent.search("读", language="cmn") # search 'read' in Chinese .setup.boundary_conditions.velocity_inlet[""].multiphase.directional_spreading_method (Parameter) .setup.boundary_conditions.velocity_inlet[""].phase[""].multiphase.directional_spreading_method (Parameter) .setup.models.discrete_phase.injections[""].initial_values.particle_size.rosin_rammler.spread (Parameter) .setup.physics.volumes.fluid[""].boundaries.velocity_inlet[""].phase[""].multiphase.directional_spreading_method (Parameter) .setup.physics.volumes.solid[""].boundaries.velocity_inlet[""].phase[""].multiphase.directional_spreading_method (Parameter) .tui.define.models.dpm.numerics.high_resolution_tracking.set_film_spreading_parameter (Command) .MeshingUtilities.set_number_of_parallel_compute_threads (Command) .file.convert_hanging_nodes_during_read (Parameter) .file.export.settings.cgns_polyhedral_cpu_threads (Parameter) .file.import_.read (Command) .file.read (Command) .file.read_case (Command) ... >>> >>> # Whole word search >>> pyfluent.search("ApplicationFontSize", match_whole_word=True) .preferences.Appearance.ApplicationFontSize (Parameter) .preferences.Appearance.ApplicationFontSize (Parameter) .tui.preferences.appearance.application_font_size (Command) .tui.preferences.appearance.application_font_size (Command) >>> >>> # Wildcard pattern search >>> pyfluent.search("local*", wildcard=True) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""] (Object) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].create (Command) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].delete (Command) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].enable_pseudo_time_method (Parameter) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].implicit_under_relaxation_factor (Parameter) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].list (Command) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].list_properties (Command) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].make_a_copy (Command) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].pseudo_time_scale_factor (Parameter) .solution.controls.advanced.expert.pseudo_time_method_usage.local_dt[""].rename (Command) ... >>> >>> # Misspelled search >>> pyfluent.search("cfb_lma") .setup.models.viscous.geko_options.cbf_lam (Parameter) .tui.define.models.viscous.geko_options.cbf_lam (Command) >>>