def __str__(self): """Describe the entity. Returns ------- description : str """ from ansys.dpf.core.core import _description return _description(self._message, self._server)
def __str__(self): try: txt = ("%s analysis\n" % self.analysis_type.capitalize() + "Unit system: %s\n" % self.unit_system + "Physics Type: %s\n" % self.physics_type.capitalize() + "Available results:\n") for res in self.available_results: line = [ "", "-", f'{res.name}: {res.native_location} {res.physical_name}' ] txt += "{0:^4} {1:^2} {2:<30}".format(*line) + "\n" return txt except: from ansys.dpf.core.core import _description return _description(self._message, self._server)
def __str__(self): from ansys.dpf.core.core import _description return _description(self._message, self._server)