|
- Lisp
- (vlax-put-property (vlax-ename->vla-object (car (entsel))) 'TEXTCOLOR 3)
- ARX:
- AcDbObjectPointer<AcDbDimension> pDimension(mSelectId, AcDb::kForWrite);
- if (eOkVerify(pDimension.openStatus())) return;
- AcCmColor col = pDimension->dimclrt();
- col.setColorIndex(static采用cast<Adesk::UInt16>(3));
- if (eOkVerify(pDimension->setDimclrt(col))) return;
复制代码 |
|