查看单个帖子
旧 2009-05-04, 05:18 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】call to setselectionmarker method

call to setselectionmarker method
call to setselectionmarker method
hi,
during the vectorization process, if i have a oddbpolyline, should not the method worlddraw call setselectionmarker...
i need that to improve my osnap manager...
thanks...
(excuse my english)
hi,
no, it should not (and it, actually, could not). here is what acdbpolyline::worlddraw() calls:
acgiworlddraw --> geometry()->pline(this, 0, 0);
but odgigeometrysimplifier:lineproc() probably should, but we don't know exactly what marker should be assigned to what portion of geometry of this primitive (there were not requests regarding that yet). how do you see that ? should it be a simple sequence according each segment (e.g. 0,1,2..n) ?
selection marker in autocad getosnappoints...
hi dmitry,
to improve my osnap manager i made a arx/dbx application in autocad and i used acedinputpointmonitor object. this to understand autocad osnap.
so if you create, in a dbx, a entity deriving from acdbpolyline, then just override getosnappoints method, you will see that gsselectionmark is 1 for first vector, 2 for second etc...
so, i thought i could use selection marker in my own vectorization cache.
thanks for your answer...
(and excuse my poor english)
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)