getting a type object

hello , and sorry if this has been answered before - just can’t imagine any search phrase that leads to an answer …

is there a cleaner way to get a type object than " t = type(NMesh.New() ) "
since this inserts a new mesh in the scene :rolleyes:
also would it be nice to know where the class definitions are hidden NMesh.NMesh does not seem to exist where NMesh itself is the module not the class

stuff like comparing the type object against strings like : type(int) == “int” won’t work for me either

completely stuck

sorry touched python 2 days ago for the first time

try Blender.Types

  • for object types
    file:///cvs_blender/blender/source/blender/python/api2_2x/doc/BPY_API/Object.Object-class.html#getType