QCAD - 2D CAD System.
Click here for a documentation of the DokuWiki formatting syntax that can be used in reports
Please search for existing tasks (also closed ones) before opening a new task.
Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)
FS#160 - SplitIntoEqualParts.js: Uncaught exception
Attached to Project:
QCAD
Opened by Martin (martin) - Monday, 08 August 2011, 16:41 GMT+2
Last edited by Andrew (andrew) - Monday, 08 August 2011, 17:15 GMT+2
Opened by Martin (martin) - Monday, 08 August 2011, 16:41 GMT+2
Last edited by Andrew (andrew) - Monday, 08 August 2011, 17:15 GMT+2
|
Detailsfor (var i = 0; i < this.parts; ++i) { var p1 = startPoint.operator_add(off.operator_multiply(i)); var p2 = p1.operator_add(off); var line = new RLineEntity(doc, new RLineData(p1, p2)); => line.copyAttributesFrom(argLine); op.addObject(line, false); Uncaught exception at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:174: Error: :-1:-1: REntity: Argument 0 is not of type REntity *REntity *. <native>(RLineEntityPointer(0xb73b4c8)) at -1 <anonymous>(op = RAddObjectsOperation(0xb733790), argLine = RLineEntityPointer(0xb73b4c8)) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:174 <anonymous>(op = RAddObjectsOperation(0xb733790)) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:111 <anonymous>(true) at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:95 <anonymous>() at /home/martin/workspace/rsframework/scripts/Modify/../EAction.js:1150 <anonymous>() at scripts/Modify/SplitIntoEqualParts/SplitIntoEqualParts.js:73 <global>() at -1 174 line.copyAttributesFrom(argLine); qsdb> argLine RLineEntityPointer(0xb73b4c8) |
This task depends upon