alijahed Posted March 9, 2022 Posted March 9, 2022 Hi All, I am so happy posting something here after a long time. I've learned lots out of this Forum since I joined in 2007. Thanks for being helpful during these years... Today I have a question regarding reading a very simple DXF file drawing a LINE from (20,20) to (817,20). I can spot the information about the POINTS (Start & Finish) in the body of DXF file but I don't understand the other bits and pieces in the body of DXF file. Can someone please explain what is what and to do what? Cheers Ali z.DXF Quote
BIGAL Posted March 9, 2022 Posted March 9, 2022 Google "object dxf code autocad" Replace object with say line, arc, cicle and so on , also look for entmake examples. 1 Quote
mhupp Posted March 11, 2022 Posted March 11, 2022 http://docs.autodesk.com/ACD/2011/ENU/filesDXF/WS1a9193826455f5ff18cb41610ec0a2e719-79fe.htm Also use this on a line or anything in a drawing to see its DXF codes. ;----------------------------------------------------------------------------;; ;; Dump all DXF Group Data (defun c:DumpIt (/ SS) (if (setq SS (ssget)) (foreach ent (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss))) (mapcar 'print (entget ent '( "*"))) (textscr) ) ) (princ) ) Quote
BIGAL Posted March 13, 2022 Posted March 13, 2022 My $0.05 (entget (car (entsel))) its short enough that I just type it on command line. I prefer dumpit to be for Vl properties. ;;;===================================================================; ;;; DumpIt ; ;;;-------------------------------------------------------------------; ;;; Dump all methods and properties for selected objects ; ;;;===================================================================; (defun C:Dumpit ( / ent) (while (setq ent (entsel)) (vlax-Dump-Object (vlax-Ename->Vla-Object (car ent)) ) ) (princ) ) Quote
Steven P Posted March 13, 2022 Posted March 13, 2022 15 hours ago, BIGAL said: My $0.05 (entget (car (entsel))) its short enough that I just type it on command line. I tend to do the same Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.