Gantt SDK Scripting Functions
- get_number_bars(id: int)> str
-
Gets the number of bars in a given activity. It will return 1 + the number of splits. so if there is 0 splits it will return 1. 1 split: 2. This is to help the user know what to use for set_start_of_bar.
- join_all_bars(ids: int | list[int] | None = None)> list[str]
-
Will get rid of all the splits for an activity/activities.
- set_attribute_values(dataframe: pandas.DataFrame)> bool
-
Update activity grid from dataframes and put the information back in VGS.
- set_start_of_bar(activity_bar: str, start: str)> bool
-
Will call the split number and assign the start day for that split.
- update_ui()> bool
-
Update the grid to recalculate new starts based on the current precedences.
Was this page helpful?