几何尺寸与公差论坛

 找回密码
 注册
查看: 702|回复: 0

【转帖】swx constant x-ref

[复制链接]
发表于 2009-4-13 14:55:26 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 18:57 , Processed in 0.035283 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表