|
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 |
|