Object-snap with utillity.getPoint
hello everybody,if i use the method getPoint of the utillity-class, the objectsnap is not active! is there a possibility to use the objectsnap to select endpoints of lines?thanks helmut
Comments
-
hello again,to be a bit more precise - the code i would like to use is as follows:...Set p1 = oDoc.Utility.EntitySnap(oDoc.Utility.GetPoint(, "Startpoint: "), vicOsnapEnd)...p1 is defined as Intellicad.Point and oDoc points to the active Document.This call produces the following Error-Message: "Method 'EntitySnap' of 'IICadUtility' failed.it woud be very urgent for me to get some information about what happens here.thanks againhelmut
0 -
ok then, i will fill this thread on my own!i just checked the code with the english version (the code was wiritten with the gernman one) and everything works fine - on the internet i found a mailing from early last year which states the problem and tells us it's restricted to the german version! the bug is known for more than one year!hey you bricscad-programmers - wouldn't it be possible to fix a known bug after more than one year?thanks helmut
0 -
I found that setting the var works best and most reliablly. I know thats not how it's supposed to be, but it seems fool proof.Best luck.
0 -
Dear Helmut,we recently made an updated German version 5.0.0023 available that contains the improved snap behaviour of the getPoint method.Best regards,Hans De Backer
0