|
static AcDbObjectId CreatePoint(const AcGePoint3d& pt,int nNewColor/* = 1 */,int PointStyle/* = 34 */,int PointSize/* = 5 */)
{
acdbCurDwg()->setPdmode(PointStyle); //设置点样式
acdbCurDwg()->setPdsize(PointSize); //设置大小
AcDbPoint* pPt = new AcDbPoint(pt);
pPt->setColorIndex(nNewColor);
return PostToModelSpace(pPt);
} |
|