getId()

int part.getId(prefix='')

Returns a integer as an available ID that you can use as for Points/Paths/Snippets.

Takes an options prefix to prefix the ID with.

This is typically used when adding points programmatically.