get_obj_id

Primitives2D.get_obj_id(objname)

Return the object ID from an object name.

Parameters
objnamestr

Name of the object.

Returns
int

Object ID.