def draw(self, context):
        """Draw the panel with corrresponding properties and operators."""
        settings = context.scene.view_synthesis_panel_settings
        layout = self.layout
        view_synthesis_box = layout.box()

        row = view_synthesis_box.row()
        row.prop(settings, "execution_environment", text="Script Environment")
        if settings.execution_environment == "CONDA":
            row = view_synthesis_box.row()
            row.prop(
                settings, "conda_exe_fp", text="Conda Executable File Path"
            )
            row = view_synthesis_box.row()
            row.prop(settings, "conda_env_name", text="Conda Environment Name")
        elif settings.execution_environment == "DEFAULT PYTHON":
            row = view_synthesis_box.row()
            row.prop(
                settings,
                "python_exe_fp",
                text="Default Python Executable Name or File Path",
            )
        else:
            pass

        row = view_synthesis_box.row()
        row.prop(
            settings,
            "additional_system_dps",
            text="Additional System Paths",
        )
        row = view_synthesis_box.row()
        row.prop(
            settings,
            "additional_output_dp",
            text="Additional Output Path",
        )
        row = view_synthesis_box.row()
        row.prop(
            settings,
            "view_synthesis_executable_fp",
            text="Script",
        )
        row = view_synthesis_box.row()
        row.prop(
            settings,
            "view_synthesis_snapshot_fp",
            text="Training Snapshot (Trained Model)",
        )
        row = view_synthesis_box.row()
        row.prop(settings, "samples_per_pixel", text="Samples Per Pixel")

        row = view_synthesis_box.row()
        row.prop(
            settings, "rotation_anchor_obj_name", text="Rotation Anchor Object"
        )

        row = view_synthesis_box.row()
        row.operator(RunViewSynthesisOperator.bl_idname)
Draw the panel with corrresponding properties and operators.
photogrammetry_importer/panels/view_3d_view_synthesis_panel.py