Hi Daniel,
Thanks for the reply, I do understand that you would be busy, sorry for troubling you. But thanks again.
I am selecting the points through the interface and using GetSelected function.
In the python generated ctypes file there is EditPoint class, which has few functions as given below, but there is no information in the .chm file, likewise there are many such functions in the generated python file for which we dont have any information in .chm file. like for example cSectionCut.
class cEditPoint(comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0.IDispatch):
_case_insensitive_ = True
_iid_ = GUID('{67761402-B408-4B43-A72E-4A434C5EAE78}')
_idlflags_ = ['dual', 'oleautomation']
cEditPoint._methods_ = [
COMMETHOD([dispid(1)], HRESULT, 'Align',
( ['in'], c_int, 'MyType' ),
( ['in'], c_double, 'Ordinate' ),
( ['in', 'out'], POINTER(c_int), 'NumberPoints' ),
( ['in', 'out'], POINTER(_midlSAFEARRAY(BSTR)), 'PointName' ),
( ['out', 'retval'], POINTER(c_int), 'pRetVal' )),
COMMETHOD([dispid(2)], HRESULT, 'ChangeCoordinates',
( ['in'], BSTR, 'Name' ),
( ['in'], c_double, 'X' ),
( ['in'], c_double, 'Y' ),
( ['in'], c_double, 'Z' ),
( ['out', 'retval'], POINTER(c_int), 'pRetVal' )),
COMMETHOD([dispid(3)], HRESULT, 'ChangeCoordinates_1',
( ['in'], BSTR, 'Name' ),
( ['in'], c_double, 'X' ),
( ['in'], c_double, 'Y' ),
( ['in'], c_double, 'Z' ),
( ['in', 'optional'], VARIANT_BOOL, 'NoRefresh', False ),
( ['out', 'retval'], POINTER(c_int), 'pRetVal' )),
COMMETHOD([dispid(4)], HRESULT, 'Connect',
( ['in', 'out'], POINTER(c_int), 'NumberPoints' ),
( ['in', 'out'], POINTER(_midlSAFEARRAY(BSTR)), 'PointName' ),
( ['out', 'retval'], POINTER(c_int), 'pRetVal' )),
COMMETHOD([dispid(5)], HRESULT, 'Disconnect',
( ['in', 'out'], POINTER(c_int), 'NumberPoints' ),
( ['in', 'out'], POINTER(_midlSAFEARRAY(BSTR)), 'PointName' ),
( ['out', 'retval'], POINTER(c_int), 'pRetVal' )),
COMMETHOD([dispid(6)], HRESULT, 'Merge',
( ['in'], c_double, 'MergeTol' ),
( ['in', 'out'], POINTER(c_int), 'NumberPoints' ),
( ['in', 'out'], POINTER(_midlSAFEARRAY(BSTR)), 'PointName' ),
( ['out', 'retval'], POINTER(c_int), 'pRetVal' )),
]
thanks for the code you have shared above.