Rhinoceros 6 Type Library

check those old samples:

and corresponding topics:

but I think it’s worth evaluating if a latest/ more modern approach like a Rhinocommon plug-in or some other developer-approaches are suited better for your needs:

kind regards -tom