class Profile:
    """The Profile object defines the geometrical properties of a beam cross-section. Profile
    is an abstract base type.

    Attributes
    ----------
    name: str
        A String specifying the repository key.

    Notes
    -----
    This object can be accessed by:

    .. code-block:: python

        import section
        mdb.models[name].profiles[name]
        import odbSection
        session.odbs[name].profiles[name]
    """

    # A String specifying the repository key.
    name: str = ""

    def beamProfilesFromOdb(self, fileName: str):
        """This method creates Profile objects by reading an output database. The new profiles are
        placed in the profiles repository.

        Notes
        -----
        This function can be accessed by:

        .. code-block:: python

            mdb.models[name].beamProfilesFromOdb

        Parameters
        ----------
        fileName
            A String specifying the name of the output database file (including the .odb extension)
            to be read. The String can also be the full path to the output database file if it is
            located in another directory.

        Returns
        -------
        list[Profile]
            A list of Profile objects.

        """
        pass
