AcdbDataBase setMirrtext(false) no effect

AcdbDataBase setMirrtext(false) no effect

Anonymous
Not applicable
363 Views
1 Reply
Message 1 of 2

AcdbDataBase setMirrtext(false) no effect

Anonymous
Not applicable

as I said in the subject, AcGeLine3d mirrorLine(asPnt3d(ptS),asPnt3d(ptE)); AcGeMatrix3d xform; xform.setToMirroring(mirrorLine); Acad::ErrorStatus es = acdbCurDwg()->setMirrtext(false); acutPrintf(_T("\n%d"),es); cloneAndXformObjects(acdbCurDwg(),idArr,Acad_System::GetBlockId(),xform); I want to get the results like the command "mirror" when mirrtext is set 0. The texts mirrored by the codes above are always looked inversed.

0 Likes
364 Views
1 Reply
Reply (1)
Message 2 of 2

StephenPreston
Alumni
Alumni

TransformBy (and related functions in ObjectARX and .NET) doesn't honor MIRRTEXT. You'll either have to add an additional transformation to the text to do the same as MIRRTEXT would do (which should be just to flip the normal), or you could use the ActiveX API instead - which does honor MIRRTEXT (e.g. AcadText.Mirror) if your text is database resident.

Cheers,

Stephen Preston
Autodesk Developer Network
0 Likes