insert entity

hi i have some problems with meshcontrol.insertentity(object). it always says that object doesnt support this method. any ideas are welcome.

SolidworksApi macros