高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】swx constant x-ref
swx constant x-ref
is there an easy way to cross reference the number returned from say... selectionmgr.getselectedobjecttype3 w/ the enumeration swselecttype_e?
i really don't feel like counting as the number returned is 97. i need to figure out what solidworks thinks the object is so i can get the proper pointer to it.
thx,
eric
go to the object browser and find the enumeration there. you can quickly (relatively speaking) scroll down thru those to see what number is what. counting sounds like a bad idea as i doubt they are in order. i know it's a pita though.
quick
|