Foreach in AutoLISP Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025

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

  • @satydevnegi5454
    @satydevnegi5454 3 ปีที่แล้ว +2

    Your videos are very much inspiring for AutoCAD programmer, can you please make a video on saving lisp files non editable format.

  • @claudeboucher6170
    @claudeboucher6170 3 ปีที่แล้ว

    Merci !! Très utile pour mon apprentissage.

  • @behruz.anvarovich
    @behruz.anvarovich 3 ปีที่แล้ว

    Super, as always. thanks for your work.

  • @mesuttasar21
    @mesuttasar21 8 หลายเดือนก่อน

    "sublist" word is function or variable which used in lisp?

    • @cyberCADsolutions
      @cyberCADsolutions  7 หลายเดือนก่อน

      Sublist means a list inside another list.

  • @R-sum
    @R-sum ปีที่แล้ว

    very informative

  • @ifty_arain
    @ifty_arain 8 หลายเดือนก่อน

    I have created above program without using if and progn functions it worked and got the same results of coordinates on vertices of polyline. Can you please explain why you used both functions if and progn in your program?

    • @ifty_arain
      @ifty_arain 8 หลายเดือนก่อน

      Only used If function (if (=(car(sublist) 10) , didn’t use here progn

    • @cyberCADsolutions
      @cyberCADsolutions  7 หลายเดือนก่อน

      th-cam.com/video/EGURrO4DqVA/w-d-xo.html

  • @amnoorulaman
    @amnoorulaman 3 ปีที่แล้ว

    Crystal clear explanation. Thanks.
    Dear master, is any command available to get the name of lisp command. That is,
    (defun c:xyz()
    )
    How to get "xyz" as string within this programme?

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

    In the program, sublist is the defined function or variable.... I am not seeing sublist declared as variable anywhere in the program.... Your method of teaching is very good...

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

      Sublist means a list in another list.
      Thank you. Please share to your friends and colleagues.

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

      Thank for the clarification....

  • @RajCAD8801
    @RajCAD8801 3 ปีที่แล้ว

    Thank you.

  • @subhamkumarshaw3095
    @subhamkumarshaw3095 3 ปีที่แล้ว

    Gurudev🙏

    • @cyberCADsolutions
      @cyberCADsolutions  3 ปีที่แล้ว

      Thank you. Please share to your colleagues and friends.

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

    I have created block and that block I have use as a insert block. For insert block I prefer CUIX.File and VLSIP.
    Through CUIX I have set symbol in Autocad ribbon and the same block used through LISP for shortcut command.
    When I used through CUIX I got correct block layer properties. I mean I have created in "xyz" layer. Using through CUIX I got the same layer in my new drawing. If even my current layer is 0 but they still put "xyz" layer in my new drawing. This is correct for me.
    When I use LISP shortcut command for the same insert block. If my current layer is "ABCD" then block properties has changed automatically. The layer of blocks has changed into current layer.

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

      VLISP
      (defun c:RECCS2 (/ blockName fileName insertPoint )
      (setq blockName "Reccs1"
      fileName "C:\Desktop\To be check\Recc3.dwg")

      (if (not(tblsearch "layer" "Reccs1")) ;; check if the drawing not existing the block name
      (progn
      (vl-cmdf "-insert" "Recc3" "0.0,0.0,0.0" "" "" "") ;;inserts your master file from some defined file path
      (vl-cmdf "._erase" "l" "") ;;erases the block; last inserted
      ))

      (if (setq insertPoint (getpoint "
      pick point:"))
      (vl-cmdf "-insert" "Reccs1" pause "1" "1" "0") ;;inserts the block you want from the master file
      )
      (princ)
      )

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

      CUIX
      ^C^C-insert;Recc3;\;;;explode;last;-purge;Blocks;Recc3;N;

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

    May I get LISP to explode block and make block again with the same name

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

    I have done one programme