0 Members and 1 Guest are viewing this topic.
Code: [Select][CommandMethod("bmptocad")]
[CommandMethod("bmptocad")]
Reads in a BMP document to see to AutoCAD in at a foreigner's forum,may read a BMP document in AutoCAD.
hehehehehttp://www.objectarx.net/bbs/viewthread.php?tid=1766&extra=page%3D1addedQuote from: translationReads in a BMP document to see to AutoCAD in at a foreigner's forum,may read a BMP document in AutoCAD.
changing this lineDBPoint point = new DBPoint(new Point3d(i,j,0));toDBPoint point = new DBPoint(new Point3d(i,0-j,0));seems to be a fix.
i know i'm asking a rather stupid question, but how do you use that coding. it's actually quite useful, i just don't understand what to do with the coding to get it to work.
(BMPToCad "c:\\hal9000.bmp" 0)