part_index#

McadModel.part_index(name)#

Get the index of an MCAD model part with a given name.

Parameters:
namestr

Name of the MCAD model part.

Returns:
int

Index of the MCAD model part.