几何尺寸与公差论坛

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

【转帖】accessselections90 problem

[复制链接]
发表于 2009-4-12 22:57:02 | 显示全部楼层 |阅读模式
accessselections() problem
dear all,
i have part document (not assembly), according to the api, i should set the component argument of accessselections( topdoc, component) to 'nothing' when it is a part document. but the problem is that i am writing the code in python and when i set component to 'none' it raises and error, it might be because of not campatibility between 'nothing' in vb and 'none' in python. what should i do instead?
thanks,
artman
try passing an integer 0
if not, use the ctypes function:
c_void_p(none)

edited: 12/27/2008 at 04:47 am by luke malpass
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 19:03 , Processed in 0.034586 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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