Search found 6 matches

by levinsy
Sun Jun 23, 2019 3:18 pm
Forum: QCAD 'How Do I' Questions
Topic: Calculate size of entities in pixels
Replies: 2
Views: 2490

Calculate size of entities in pixels

Hi, Is it possible to get the size in pixels of entities in a drawing as if they were projected on a screen when using the js api? More precisely what I'm trying to achieve is to zoom an RBox on the entire view port and then calculate its pixel size and the pixel size of all of the entities containe...
by levinsy
Fri Jun 14, 2019 11:20 am
Forum: QCAD 'How Do I' Questions
Topic: Export to BMP from script file
Replies: 2
Views: 1279

Re: Export to BMP from script file

Worked. Thanks.
by levinsy
Thu Jun 13, 2019 4:24 pm
Forum: QCAD 'How Do I' Questions
Topic: Export to BMP from script file
Replies: 2
Views: 1279

Export to BMP from script file

Hi, I'd like to be able to export a DWG through my custom script file (-autostart). I'm trying to use the BitmapExport.prototype.exportBitmap method but I'm getting the following error: Warning: RScriptHandlerEcma::eval: script engine exception: "TypeError: Result of expression 'view' [null] is not ...
by levinsy
Wed Jun 12, 2019 4:47 pm
Forum: QCAD 'How Do I' Questions
Topic: How to zoom to window and export to BMP
Replies: 2
Views: 1244

How to zoom to window and export to BMP

Hi,

I'd like to know if it's possible to zoom to a window and export only that window to a bmp using the js api.

Thanks,
Yair

Go to advanced search