请教如何修改线型?
AcDbCircle *pCir1;AcGePoint3d point1;
AcGeVector3d nrm1=AcGeVector3d(0,0,1);
point1.x=500;point1.y=500;point1.z=0;
pCir1=new AcDbCircle(point1,nrm1,da);
pBlockTableRecord->appendAcDbEntity(objId,pCir1);
pCir1->close();
怎样把这个圆的线型改成虚线或者点划线
麻烦说具体点,小弟是新学的
用以下的函数:
virtual Acad::ErrorStatus
setLinetype(
const char* newVal,
Adesk::Boolean doSubents = Adesk::kTrue);
newVal Input name of the LinetypeTableRecord to be referenced by the entity
doSubents Input Boolean indicating whether to propagate the change to any subentities the entity may own
不过要注意你要设置的线型要存在才有正确结果.
页:
[1]