![]() |
【转帖】[求助]帮忙看个程序~
[求助]帮忙看个程序~
[求助]帮忙看个程序~ 多谢进来的各位,请看看下面的程序运行后为什么不显示起点和终点坐标? static void asdklineinfo_info(void) { // add your code for command asdklineinfo._info here acgepoint3d pt1,pt2; ads_name eline; acdbline* pline; acdbobjectid eid; acdbgetobjectid(eid,eline); acdbopenacdbentity((acdbentity*&)pline,eid,acdb::kforread); pt1=pline->startpoint();//得到起点 pt2=pline->endpoint();//得到终点 pline->close(); acutprintf("得到了起点和终点"); } |
| 所有的时间均为北京时间。 现在的时间是 09:54 PM. |