def create_statistics_case(self): """Create a Statistics case in the Grid Case Group Returns: :class:`rips.generated.resinsight_classes.EclipseCase` """ command_reply = self._execute_command( createStatisticsCase=Commands_pb2.CreateStatisticsCaseRequest( caseGroupId=self.group_id)) return Case(self.channel, command_reply.createStatisticsCaseResult.caseId)
def createStatisticsCase(self, caseGroupId): commandReply = self.__execute(createStatisticsCase=Cmd.CreateStatisticsCaseRequest(caseGroupId=caseGroupId)) return commandReply.createStatisticsCaseResult.caseId;