AutoLISP Tutorial - Selecting Objects  (1)
#AutoLisp #AutoCAD #Programming #Automation #Tutorial

AutoLISP Tutorial - Selecting Objects (1)

When using AutoCAD, it is required to select one or more entities to edit it or dimensioning it ...etc.

To make similar selection within AutoLisp program we need some Lisp commands to do this.

One of these commands is "SSGET" which can select one or more entities depending on the parameters given in the program statement.

for example (setq ss (ssget "x")), it will select all the entities in the drawing including the hidden or freeze layers.

To explain this statement:

ssget : is the command which allow to make selection set.

"x": It indicates that we need to select from all drawing entities. We can give more parameters to control the selection. for example, it is possible to define the layer or the entity type ...etc.

ss: is the variable name in which the selection will assigned. it is common to use this name as abbreviation for "Selection Set".

setq: Is the AutoLisp command which used to define that the selection will assigned to the variable "ss"


要查看或添加评论,请登录

Mohamed Elsayed的更多文章

  • “There’s a way to do it better – find it.”

    “There’s a way to do it better – find it.”

    Thomas A. Edison.

  • ????? ?????? ????? ???????

    ????? ?????? ????? ???????

    ???? ?????? ?? ???????? ???? ??????? ???? ????? ????? ???? ???? ..

  • ???????

    ???????

    ?? ??? ?? ????? ????? ??? ?????? ??? ???? ?????? ? ???? ?????? ?? ?????? ?? 3000 ?? ????? ???? ?? ????? 36000 ???…

  • ?????? ?? ?????? ?????? ?????????

    ?????? ?? ?????? ?????? ?????????

    ????? ??????? ??? ????? ????????

    1 条评论
  • ?????? ??? ?????? ????? ????????

    ?????? ??? ?????? ????? ????????

    ?????? ?? ?????? ???? ???? ???????? ??????? ????? ????? ???????? ( ????? ????? ????? ???????? ?????? ?? ?????? ??????…

  • ?????? ?????????

    ?????? ?????????

    ?? ??? ?? 30 ????? ?? ????? ????? ????????? ?????? ?? ????? ?????? ? ?? ???? ????? ?????? ?? ?????? ???? ???? ?????…

  • ?????? ?????? #??????? #????? #?????????

    ?????? ?????? #??????? #????? #?????????

    ?????? ?? ?????? ?????? ??????? #????? ?? #??????????? ????? ???????? ???????? ? ?? ????? ????? ???????? ?????? ???????…

  • ??????? ?????????

    ??????? ?????????

    ?? ?????? ?? ??????? ????????? ? ??? ????? ????? ??? ??????? ???? ????? ??? ?? ???? ????? ???? ??? ?? ?????? ?????…

    1 条评论
  • Don't miss out on this golden opportunity (Price: 59 Egyptian pounds)

    Don't miss out on this golden opportunity (Price: 59 Egyptian pounds)

    Celebrating 59 Years with an Exclusive Offer! As I turn 59 on the 27th of this month, I'm thrilled to announce an…

    3 条评论
  • GeoPoint PRO

    GeoPoint PRO

社区洞察

其他会员也浏览了