3.29.4.0 (3.29.4)
Internet:
QCAD.org
Build Date:
Feb 7 2024
Revision:
36a6423
Qt Version:
5.8.0
Architecture:
x86_64
Compiler:
gcc 4.8.1
I am trying to change the lineweight of several entities, starting with the circle described below. The debug statement indicates the lineweight is being changed but the circle gets added to the document with RLineweight.ByLayer. What am I missing?
Thanks.
Code: Select all
circleEntity = shapeToEntity( this.doc, mycircle );
circleEntity.setLineweight( RLineweight.Weight100 );
qDebug( 'circleEntity.getLineweight() = ', circleEntity.getLineweight(), circleEntity.getLineweight() == RLineweight.Weight100 );
op.addObject( circleEntity );
//op.addObject( shapeToEntity(this.doc, circle) );
op.addObject( myleaderEntity );
//op.addObject( leaderEntity );
this.di.applyOperation(op);