MMpy.File.delete_record
Syntax
file.delete_record(record_id)
Description
Delete a record from a Micromine data file.
Parameters
Name |
Type |
Description |
---|---|---|
record_id |
int | ID of the record. |
Returns
Type |
Description |
---|---|
bool | Returns True if the record was deleted, False otherwise. |
Notes
Record IDs are 1-based, meaning passing an index of 1 will delete the first record.
Examples
file = MMpy.File() file.open(...) file.delete_record(1)
Resource ID
IDPH_FILE_DELETEREC