Scripting question, add custom property
Posted: Sat Jun 18, 2011 2:39 pm
The DXF file format allows custom properties for entities. Qcad3 can handle those. I've tried to script this, but failed so far. Watching in the debugger what the propertyEditor does also did not make me any wiser. Being just a monkey with a typewriter, same with the doxygen reference. Where in the code below would I append a property? Please advise!
var operation = new RAddObjectsOperation(false); var linedata = new RLineData(start, end); var entity = new RLineEntity(zeichnung.document, linedata); operation.addObject(entity); zeichnung.documentInterface.applyOperation(operation);