Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/02/2021 in all areas

  1. mhupp, Just for your better usage of first example, consider adding t argument here : (vlax-Dump-Object (vlax-Ename->Vla-Object ent) t) It will show methods supported by VLA-OBJECT besides all available properties... It can be useful...
    2 points
  2. Fist off Welcome to the forums. Depends on what you prefer. Even tho I have programmed in VBA for excel i stick to autolisp and Visual lisp for CAD. 1. not many people code in VBA macros so getting help might be a problem. 2. most people code in in lisp or vlisp for CAD. & i think its a little more intuitive. 3. vlisp and autolisp can be used at the same time. cant mix vba and lisp code. Here are some websites I recommend. http://www.lee-mac.com/tutorials.html https://www.afralisp.net/ https://jtbworld.com/autolisp-visual-lisp http://www.cadtutor.net/tutorials/autolisp/quick-start.php? Here are a few lisp to help out. these dump all the visual lisp and dxf properties of selected objects. ;;----------------------------------------------------------------------------;; ;; Dump All Visual lisp properties for selected objects (defun C:VDumpit (/ SS ent) (vl-load-com) (if (setq SS (ssget)) (foreach ent (vl-remove-if 'listp (mapcar 'cadr (ssnamex SS))) (vlax-Dump-Object (vlax-Ename->Vla-Object ent) t) ) ) (textscr) (princ) ) ;;----------------------------------------------------------------------------;; ;; Dump all DXF Group Data (defun c:DumpIt (/ SS ent) (if (setq SS (ssget)) (foreach ent (vl-remove-if 'listp (mapcar 'cadr (ssnamex SS))) (mapcar 'print (entget ent '( "*"))) ) ) (textscr) (princ) )
    2 points
  3. Lee Mac's Error Message Troubleshooter says: "The program is attempting to access a ActiveX Property or Method with the name as noted in the error message which is not available for the supplied VLA-Object." http://www.lee-mac.com/errormessages.html Handy reference.
    1 point
  4. https://www.autodesk.com/autodesk-university/class/Getting-Started-Python-2019 https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/python-programming-in-autocad/td-p/8164948
    1 point
  5. Ah very cool. Thanks for the info and link.
    1 point
  6. Down load the trial, heaps of 3rd party programs out there not just free lisp's. I use it every day do majority of my coding in Bricscad, a couple of little differences here and there but very minor. I run Civil Site Design on Bricscad. Find start up way faster.
    1 point
  7. Yes, 3D modeling is available and capable in BricsCAD and the commands are very much similar to AutoCAD. Ex. - Extrude, Push-Pull, Subtract, Sweep, etc.
    1 point
  8. The Senior CAD Designers use full AutoCAD because they do all the 3D design work.
    1 point
  9. In my opinion BricsCAD is just as capable as AutoCAD. We were an AutoCAD only workplace until it got to be just too damn expensive so we switched half our engineers to BricsCAD Pro. The other half, including our two Senior CAD Designers, still use full AutoCAD.
    1 point
  10. You can use this and simply change the "+" to "*": (+ x *inc*) Becomes: (* x *inc*)
    1 point
×
×
  • Create New...