[FONT=courier new]
ads_point pt0;
void ident_init(ads_matrix id);
int dragsample(ads_point usrpt,ads_matrix matrix);
AcDbObjectId create_DragGen_Line(ads_point startPt,ads_point endPt);
AcDbObjectId DragGen_Line;
int NBT_SS_DRAG_MOVE()
{
#ifdef OARXWIZDEBUG
acutPrintf ("\nOARXWIZDEBUG - NBT_SS_DRAG_MOVE() called.");
#endif // OARXWIZDEBUG
// TODO: Implement the command
resbuf *pArg =acedGetArgs () ;
AcDbEntity *tline;
int rc;
ads_point return_pt; //基点
char msg[256];
ads_matrix matrix0;
if(pArg==NULL){ //无参数
acutPrintf("\n需要至少3个参数:(NBT_SS_DRAG_MOVE SS pt0 msg [line] [angle] [scale]");
return RTERROR;
}
ads_name ss;
if(pArg->restype= RTPICKS){ //传送过来的第1个参数是选择集
//acedSSAdd(pArg->resval.