bai_cai101 发表于 2005-2-14 11:40:00

[ARX]求教acedacedGetPoint函数的使用!

AcGePoint3d pt1,pt2;
        acedGetPoint(pt1,"\n请选择标示位置:",pt2);
在这个函数中,如果说第一次输入点pt2,不想用相对坐标pt1,这个位置的该怎么设置??请高手指点!!多谢!!

王咣生 发表于 2005-2-15 15:28:00


acedGetPoint(const ads_point pt,const char * prompt,ads_point result);
第一个参数是Optional(可选的),所以
        ads_point pt1, pt2;
        acedGetPoint(NULL, "\nPick a point : ", pt1);
        acedGetPoint(pt1, "\nPick another point: ", pt2);

中国虫 发表于 2005-2-15 21:32:00

acedGetPoint(NULL,"\n请选择标示位置:",asDblArray(pt2));

bai_cai101 发表于 2005-2-19 16:41:00

搞定!!!多谢!!!
页: [1]
查看完整版本: [ARX]求教acedacedGetPoint函数的使用!