【UG二次开发】获取对象类型 UF_OBJ_ask_type_and_subtype 代码: int type=0, subtype=0; UF_OBJ_ask_type_and_subtype(objTag, &type, &subtype);