高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】adcurrentpixeltoworld in dwgdirec
adcurrentpixeltoworld in dwgdirect?
adcurrentpixeltoworld in dwgdirect?
hello,
in old library (viewkit) the adcurrentpixeltoworld function was available.
in odamfcapp is the example (onappendline), but it shows correctly x and y only (z is always 0).
this situation is not correct for e. g. leftview.
how can i get the same effect (like in old library) using the dwgdirect?
is this possible?
best regards
marcin
the method :appendline() is working properly. i read in a drawing with ucs of 1,-1,1 and used :appendline() to draw - the line was properly drawn and the transforms yeilded the proper coordinates - including the z value.
i *did* note, however, that if you use the rotatex/y/z buttons on the gui and then draw a line - that the line appears to "snap" into a different space than what was drawn. this is a tracking problem with the gui for those rotate buttons.
but in terms of replicating the behavior for adcurrentpixeltoworld () - the :appendline() method does that for you.
|