spreadsheet_mutations
freecad.datamanager_wb.spreadsheets.spreadsheet_mutations
¶
Mutation helpers for spreadsheet aliases.
Contains operations that modify spreadsheets, such as clearing/removing an alias definition.
removeSpreadsheetAlias(spreadsheet_name, alias_name, *, ctx=None)
¶
Remove (clear) a spreadsheet alias definition.
This function resolves the cell associated with an alias and then clears the
alias using Spreadsheet::Sheet.setAlias.
The implementation supports FreeCAD versions with different alias APIs by
attempting:
- getCellFromAlias when available
- a local alias map extracted via getAliases/properties or getAlias(cell)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
spreadsheet_name
|
str
|
Name of the |
required |
alias_name
|
str
|
Alias to remove. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
|