admin 发表于 2014-3-12 11:51:51

常用的UG NX二次开发常量分享

DEGRA = 0.01745329251994328
RADEG = 57.29577951308235
PI = 3.14159265358979324
N_ELEMENTS(array) (sizeof(array)/sizeof(array))
MAX_LINE_SIZE = 132
MAX_STRING_LEN = 133
MAX_FSPEC_SIZE = 256
MAX_ENTITY_NAME_SIZE = 30
MAX_EXP_LENGTH = 1024
UF_OBJ_NAME_LEN = 30
UF_max_entity_type = 255
UF_UI_MAX_STRING_LEN = 1000
UF_ATTR_MAX_STRING_LEN = 132
UF_ATTR_MAX_TITLE_LEN = 50
UF_UGMGR_PARTNO_SIZE = 128
UF_UGMGR_PARTREV_SIZE = 32
UF_UGMGR_FTYPE_SIZE = 42
UF_UGMGR_FNAME_SIZE = 128


页: [1]
查看完整版本: 常用的UG NX二次开发常量分享