@@ -1582,6 +1582,45 @@ def __init__(self, pb2_object: Optional[PdmObject_pb2.PdmObject]=None, channel:
15821582 if View .__custom_init__ is not None :
15831583 View .__custom_init__ (self , pb2_object = pb2_object , channel = channel )
15841584
1585+ def set_polygon_visible (self , polygon : Optional [Polygon ]= None , visible : bool = True ) -> None :
1586+ """
1587+ Set polygon visibility in this view
1588+
1589+ Arguments:
1590+ polygon (Optional[Polygon]):
1591+ visible (bool):
1592+ Returns:
1593+
1594+ """
1595+ self ._call_pdm_method_void ("set_polygon_visible" , polygon = polygon , visible = visible )
1596+
1597+
1598+ def set_surface_property (self , surface : Optional [SurfaceInterface ]= None , property_name : str = "" ) -> None :
1599+ """
1600+ Set the surface property shown in this view
1601+
1602+ Arguments:
1603+ surface (Optional[SurfaceInterface]):
1604+ property_name (str):
1605+ Returns:
1606+
1607+ """
1608+ self ._call_pdm_method_void ("set_surface_property" , surface = surface , property_name = property_name )
1609+
1610+
1611+ def set_surface_visible (self , surface : Optional [SurfaceInterface ]= None , visible : bool = True ) -> None :
1612+ """
1613+ Set surface visibility in this view
1614+
1615+ Arguments:
1616+ surface (Optional[SurfaceInterface]):
1617+ visible (bool):
1618+ Returns:
1619+
1620+ """
1621+ self ._call_pdm_method_void ("set_surface_visible" , surface = surface , visible = visible )
1622+
1623+
15851624class GeoMechView (View ):
15861625 """
15871626 The Geomechanical 3d View
@@ -4079,7 +4118,7 @@ def events(self) -> List[WellEvent]:
40794118 return self .children ("Events" , WellEvent )
40804119
40814120
4082- def generate_schedule (self , eclipse_case : Optional [Reservoir ]= None , export_msw_for_wells : List [WellPath ]= [], first_date_as_comment : bool = True , align_columns : bool = False ) -> DataContainerString :
4121+ def generate_schedule (self , eclipse_case : Optional [Reservoir ]= None , export_msw_for_wells : List [WellPath ]= [], first_date_as_comment : bool = True , align_columns : bool = False , additional_dates : List [ str ] = [] ) -> DataContainerString :
40834122 """
40844123 Generate Eclipse schedule text for all wells in the collection
40854124
@@ -4088,10 +4127,11 @@ def generate_schedule(self, eclipse_case: Optional[Reservoir]=None, export_msw_f
40884127 export_msw_for_wells (List[WellPath]): Wells for which multi-segment-well keywords (WELSEGS, COMPSEGS, WSEGVALV, WSEGAICD) are exported
40894128 first_date_as_comment (bool): Emit the first (simulation-start) date as a comment instead of a DATES keyword
40904129 align_columns (bool): Emit a column-header comment and right-aligned, fixed-width columns instead of the compact form
4130+ additional_dates (List[str]): Additional dates (YYYY-MM-DD or full ISO timestamp) emitted as DATES keywords, e.g. to force summary reports at those dates
40914131 Returns:
40924132 DataContainerString
40934133 """
4094- return self ._call_pdm_method_return_value ("GenerateSchedule" , DataContainerString , eclipse_case = eclipse_case , export_msw_for_wells = export_msw_for_wells , first_date_as_comment = first_date_as_comment , align_columns = align_columns )
4134+ return self ._call_pdm_method_return_value ("GenerateSchedule" , DataContainerString , eclipse_case = eclipse_case , export_msw_for_wells = export_msw_for_wells , first_date_as_comment = first_date_as_comment , align_columns = align_columns , additional_dates = additional_dates )
40954135
40964136
40974137 def set_timestamp (self , timestamp : str = "2024-01-01" ) -> None :
0 commit comments