AEDD260Lecture07 Introduction to AutoLISP programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024
  • This is lecture 07 in the course CAD Management at Southern Maine Community College. It introduces a number of key concepts in AutoLISP programming.

ความคิดเห็น • 34

  • @bernardcadelina1301
    @bernardcadelina1301 2 ปีที่แล้ว +4

    Wow!!! In just 2 hours, I learned and understand more than the 7.5-hour AutoLISP programming course I took at UDEMY. How I wish I found this channel before. I lost the appetite of learning AutoLISP because of that course. I really thought that Autolisp programming is hard. But this video that you create sir changes everything. You just reignite my passion to learn Autolisp.
    I really do believe that teaching is a skill, and you have that great skill sir of teaching. Not all teachers have that. Now, I am hook to all of your videos here in TH-cam. You just got a fan and a subscriber too sir.
    Congrats to your very informative channel sir. God will bless you more.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  2 ปีที่แล้ว +2

      Bernard,
      You are most welcome. I think all AutoCAD users should be comfortable with AutoLISP programming and wish that most books and workshops would emphasize the ease with which useful commands and automation can be developed.
      My purpose in creating this channel was to support my classes at Southern Maine Community College. I made them public to make it easier for students to find them without having a link. Comments like yours make me glad to have done that. I you are interested, our credit classes are available online to anyone. This particular class is full for the coming semester, but if you are interested in taking it in the future, you would be welcome. It is entirely online, so these videos constitute the bulk of the presentations. I do schedule open sessions weekly for students, and evaluate all their work, of course.
      Dan Abbott

    • @bernardcadelina1301
      @bernardcadelina1301 2 ปีที่แล้ว

      @@DanAbbott-SMCC I really love your video tutorials sir. You made it so easy to understand and follow along. I would love to take that credit class you had mentioned in you community college if my schedule permits. How much would that be sir? I hope I can afford that.
      Thank you for creating this wonderful channel sir. I'm gad I found it. Advanced happy new year to you and to your family sir...

  • @georgekhaba6436
    @georgekhaba6436 2 ปีที่แล้ว +6

    time table :
    @3:41 osmode explained
    @14:20 function
    @24:03 adding lisps as a trusted location
    @29:08 code to draw a bolt
    @35:05 autolisp book
    @41:09 coding a zoom command
    @51:23 coding a circle command with center and diameter input
    @53:24 variables explained
    @57:31 how to set an environmental variable
    @1:02:15 how to set a variable created by the programmer
    @1:10:51 inserting a block from another drawing using lisp command
    @1:18:22 setting the attribute call input variable so AutoCAD don't ask about them while inserting a block
    @1:42:18 important note about the layer creation command
    @1:48:01 math functions in lisp

  • @crb2126
    @crb2126 3 หลายเดือนก่อน

    Que deleite de este buen material, gracias maestros

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  3 หลายเดือนก่อน

      You are very welcome. (Eres muy bienvenido)

    • @crb2126
      @crb2126 2 หลายเดือนก่อน

      Thanks u

  • @sthmedia9635
    @sthmedia9635 ปีที่แล้ว

    This is great. Glad I found you. Now I can and will learn LISP.

  • @PANDURANG99
    @PANDURANG99 2 ปีที่แล้ว

    I am a professional Autolisp developer, it was helpful 🔥

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  2 ปีที่แล้ว +1

      Well that is great to hear. Glad it was helpful.

  • @Evaristo347
    @Evaristo347 2 ปีที่แล้ว

    Thank you. Great video and an excellent instructor.

  • @i.m.engineer1197
    @i.m.engineer1197 2 ปีที่แล้ว

    Thanks. Great video.

  • @swalehhussein694
    @swalehhussein694 2 ปีที่แล้ว +1

    I love your lecture. I spent a lot of time trying VBA for AutoCAD and i gave up entirely on programming lisp files. But now I have a renewed sense of hope and enthusiasm. Is it possible to have access to the book? and maybe what way can someone reach you in case they need to (if that's ok with you) ?

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  2 ปีที่แล้ว

      The book this is taken from -- AutoCAD: Secrets every user should know -- is still available from Sybex and there are many used copies of it available from various sources. Although I wrote it in 2006, I intended it to be a best-practices book and the only things I would change would be to add chapters on annotative entities and dynamic blocks. You can reach me at dabbott@smccme.edu if you have a question. If I have time, I'll try to answer it.

  • @NathanEllery
    @NathanEllery ปีที่แล้ว

    I still use toolbars for osnaps because I can hit the toolbar in the middle of a command and change osnaps on the fly.
    'osmode ....
    Not sure you can do this via Autolisp because you have to exit out of the current command.
    I have several toolbars with my favourite settings.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  ปีที่แล้ว

      I like toolbars as well -- I minimize the ribbon and have a custom toolbar that includes the layers toolbar on so I can use the controls quickly and other tools that I use frequently, like Matchprop. I usually just type an osnap override though, but I've been doing that for so long that it just happens.

  • @joeperk24
    @joeperk24 2 ปีที่แล้ว

    Very good lecture. Would love to sit in on one of your classes.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  2 ปีที่แล้ว

      Glad you enjoyed it. This is the first lecture on AutoLISP for an online class I teach. There is a second lecture on AutoLISP as well.

    • @joeperk24
      @joeperk24 2 ปีที่แล้ว

      @@DanAbbott-SMCC I'll definitely be watching it then:) if I understand right, that's your book? Or is it a book you bought and added material to? I'm trying to find a good book to help me learn autolisp. I have been finding material to supplement my knowledge of AutoCAD to be more versatile in the workplace.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  ปีที่แล้ว

      That is my book.

  • @malcolmcastle1699
    @malcolmcastle1699 ปีที่แล้ว

    Hello, Daniel. You are an amazing teacher. Thank you for the video. Would it be alright if you take on DCL and its AutoLISP code? Thank you.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  ปีที่แล้ว

      Thank you for the kind words. You are very welcome for the video, but I don't find DCL to be useful enough for the things I've done to do a video about it. There are probably other videos on TH-cam that could be helpful.
      The kind of automation I've done with AutoLisp doesn't require dialog boxes, which in some cases might even get in the way. See this video for an example of what I'm referring to.
      th-cam.com/video/OXxwE-uO7-c/w-d-xo.html

  • @halcyondrafting7869
    @halcyondrafting7869 ปีที่แล้ว

    Hi, Daniel. Thank you for the tutorial. May I know where to purchase your book?

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  ปีที่แล้ว

      You can get it on Amazon as a new or used book.

  • @ibrahimpatel9006
    @ibrahimpatel9006 2 ปีที่แล้ว

    How can I get this AutoCAD_Secrets_entire_book.pdf

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  2 ปีที่แล้ว

      This video is for my students, for whom I have purchased a copy of the book and placed on an internal server as a reference for them. It is not available to the general public.
      You might be able to find a website that is selling the entire book as a PDF, or you can purchase a used copy if you want a hard copy. I know that Amazon often has links to used copies of the book. You can also still buy the book new from Amazon or Sybex.

  • @SH-pu9mk
    @SH-pu9mk ปีที่แล้ว

    Hi man, do you know if there is a way to automate drawing road / footpath edges on an image in autocad LT or can it be done at all using a different software ?
    Thanks in advance for your answer.

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  ปีที่แล้ว

      You can use the IMAGE command to insert an image, then scale it, if necessary, and sketch lines over it. Make sure that you use DRAWORDER to place the image under the lines. You will have to trace the edges -- I would use the PLINE command. There is no way to automate that process from the image directly that I have found to be effective.

  • @ibrahimpatel9006
    @ibrahimpatel9006 2 ปีที่แล้ว

    LISP to explode block and make block again with the same name

    • @DanAbbott-SMCC
      @DanAbbott-SMCC  2 ปีที่แล้ว

      I am not sure what you are trying to do. Why do you want to explode a block and then remake the same block with the same name?