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