找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 4838|回复: 2

[每日一码] CADPL-Pack-v1.lsp,很多有用的函数,对初学者很有帮助

[复制链接]

已领礼包: 2个

财富等级: 恭喜发财

发表于 2013-7-28 00:00:35 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
  1. ;;; ======================================================================================= ;;;
  2. ;;; CADPL-Pack-v1.lsp                                                                       ;;;
  3. ;;; [2013-04-07]                                                                            ;;;
  4. ;;; ======================================================================================= ;;;

  5. ; [ACX] ===================================================================================== ;
  6. ; cd:ACX_AddArc           - Tworzy obiekt typu ARC / Creates a ARC object                     ;
  7. ; cd:ACX_AddCircle        - Tworzy obiekt typu CIRCLE / Creates a CIRCLE object               ;
  8. ; cd:ACX_AddLayer         - Tworzy nowa warstwe / Creates a new layers                        ;
  9. ; cd:ACX_AddLine          - Tworzy obiekt typu LINE / Creates a LINE object                   ;
  10. ; cd:ACX_AddLWPolyline    - Tworzy obiekt typu LWPOLYLINE / Creates a LWPOLYLINE object       ;
  11. ; cd:ACX_AddTable         - Tworzy obiekt typu ACAD_TABLE / Creates a ACAD_TABLE object       ;
  12. ; cd:ACX_AddMText         - Tworzy obiekt typu MTEXT / Creates a MTEXT object                 ;
  13. ; cd:ACX_AddText          - Tworzy obiekt typu TEXT / Creates a TEXT object                   ;
  14. ; cd:ACX_AddTextStyle     - Tworzy nowy stylu tekstu / Creates a new text style               ;
  15. ; cd:ACX_AddXline         - Tworzy obiekt typu XLINE / Creates a XLINE object                 ;
  16. ; cd:ACX_ADoc             - Aktywny dokument / Active document                                ;
  17. ; cd:ACX_ASpace           - Aktywny obszar / Active space                                     ;
  18. ; cd:ACX_Blocks           - Kolekcja Blocks / Blocks collection                               ;
  19. ; cd:ACX_GetProp          - Pobiera cechy obiektu / Gets the object properties                ;
  20. ; cd:ACX_Layers           - Kolekcja Layers / Layers collection                               ;
  21. ; cd:ACX_Layouts          - Kolekcja Layouts / Layouts collection                             ;
  22. ; cd:ACX_LineTypes        - Kolekcja LineTypes / LineTypes collection                         ;
  23. ; cd:ACX_LoadLineType     - Laduje definicje linii z pliku LIN / Loads linetype from LIN file ;
  24. ; cd:ACX_Model            - Obszar modelu / Model space                                       ;
  25. ; cd:ACX_Paper            - Obszar papieru / Paper space                                      ;
  26. ; cd:ACX_SetProp          - Zmienia cechy obiektu VLA / Sets the property of VLA-Object       ;
  27. ; cd:ACX_TextStyles       - Kolekcja TextStyles / TextStyles collection                       ;
  28. ;                                                                                             ;
  29. ; [BLK] ===================================================================================== ;
  30. ; cd:BLK_GetAttEntity     - Zwraca liste atrybutow bloku / Returns a list of attributes block ;
  31. ; cd:BLK_GetAtts          - Pobiera wartosci atrybutow / Gets the values of all attributes    ;
  32. ; cd:BLK_GetAttsVLA       - Pobiera wartosci atrybutow / Gets the values of all attributes    ;
  33. ; cd:BLK_GetAttValueVLA   - Pobiera wartosc atrybutu / Gets the attribute value               ;
  34. ; cd:BLK_GetDynBlockNames - Lista nazw blokow (*U) zaleznych od bloku dynamicznego /          ;
  35. ;                           List of the blocks name (*U) which depends on a dynamic block     ;
  36. ; cd:BLK_GetDynamicProps  - Pobiera wlasciwosci bloku dyn. / Gets the dyn. block properties   ;
  37. ; cd:BLK_GetEntity        - Lista obiektow w definicji bloku / List of objects in block def.  ;
  38. ; cd:BLK_GetXrefs         - Lista odnosnikow zewnetrznych / List of external references       ;
  39. ; cd:BLK_InsertBlock      - Wstawia blok / Inserts a block                                    ;
  40. ; cd:BLK_IsDynamicInsert  - Sprawdza czy blok dynamiczny / Checks if the dynamic block        ;
  41. ; cd:BLK_SetAttValueVLA   - Zmienia wartosc atrybutu / Sets the attribute value               ;
  42. ; cd:BLK_SetDynamicProps  - Zmienia wlasciwosci bloku dyn. / Sets the dyn. block properties   ;
  43. ;                                                                                             ;
  44. ; [CAL] ===================================================================================== ;
  45. ; cd:CAL_BitList          - Lista bitow liczby calkowitej / List of bits integer              ;
  46. ; cd:CAL_Sequence         - Tworzy ciag arytmetyczny / Creates arithmetic sequence            ;
  47. ;                                                                                             ;
  48. ; [CON] ===================================================================================== ;
  49. ; cd:CON_All2Str          - Zmiana elem. listy na lancuchy / Convert list elem. onto strings  ;
  50. ; cd:CON_ObjConv          - Konwertuje obiekt / Convert object                                ;
  51. ; cd:CON_List2Value       - Zmiana listy na lancuch tekstowy / Convert list onto text string  ;
  52. ; cd:CON_Real2Str         - Konwertuje liczbe na tekst / Converts number to a string          ;
  53. ; cd:CON_TransMatrix      - Macierz transformacji ukl. wsp. / The coor. transformation matrix ;
  54. ; cd:CON_Value2List       - Zmiana lancucha tekstow. na liste / Convert string into list elem.;
  55. ; cd:CON_XYZ2Variant      - Lista liczb na 3DPoint / List of numbers to 3DPoint               ;
  56. ;                                                                                             ;
  57. ; [DCL] ===================================================================================== ;
  58. ; cd:DCL_ChangeColorList  - Obsluga listy kolorow / Handling of list colors                   ;
  59. ; cd:DCL_ChangeStringList - Obsluga listy tekstow / Handling of list strings                  ;
  60. ; cd:DCL_FillColorList    - Wypelnia "popup_list" kolorami / Fills "popup_list" with colors   ;
  61. ; cd:DCL_FillColorImage   - Wypelnia wycinek "image" kolorem / Fills "image" tile with color  ;
  62. ; cd:DCL_FillStringList   - Wypelnia "popup_list" tekstami / Fills "popup_list" with strings  ;
  63. ; cd:DCL_ImgBtnSortIcon   - Image_button - ikona sortowania / Image_button - sort icon        ;
  64. ; cd:DCL_MsgBox           - DCL-owe okno komunikatu / DCL message box                         ;
  65. ; cd:DCL_SetList          - Wypelnia wycinki / Fills tiles                                    ;
  66. ; cd:DCL_StdEditBoxDialog - Okno dialogowe z "edit_box" / Dialog control with "edit_box"      ;
  67. ; cd:DCL_StdListDialog    - Okno dialogowe z "list_box" / Dialog control with "list_box"      ;
  68. ;                                                                                             ;
  69. ; [DCT] ===================================================================================== ;
  70. ; cd:DCT_AddDict          - Dodaje slownik / Adds the dictionary                              ;
  71. ; cd:DCT_AddXrecord       - Dodaje Xrecord / Adds the Xrecord                                 ;
  72. ; cd:DCT_GetDict          - Pobiera slownik / Gets a dictionary                               ;
  73. ; cd:DCT_GetDictList      - Pobiera liste slownikow / Gets a list of dictionaries             ;
  74. ; cd:DCT_GetExtDict       - Pobiera/Tworzy ExtensionDict. / Gets/Creates an ExtensionDict.    ;
  75. ; cd:DCT_GetExtDictVLA    - Pobiera/Tworzy ExtensionDict. / Gets/Creates an ExtensionDict.    ;
  76. ; cd:DCT_GetXrecord       - Pobiera Xrecord / Gets Xrecord                                    ;
  77. ; cd:DCT_RemoveDict       - Usuwa slownik / Removes the dictionary                            ;
  78. ; cd:DCT_ReplaceXrecord   - Podmienia Xrecord / Replace Xrecord                               ;
  79. ; cd:DCT_SetXrecordVLA    - Zmienia Xrecord / Change Xrecord                                  ;
  80. ;                                                                                             ;
  81. ; [DWG] ===================================================================================== ;
  82. ; cd:DWG_AddCustomProp    - Dodaje wlasciwosci uzytkownika / Add custom drawing properties    ;
  83. ; cd:DWG_GetCustomProp    - Lista wlasciwosci uzytkownika / Custom drawing properties         ;
  84. ; cd:DWG_GetOpenDocs      - Lista otwartych dokumentow / Open documents list                  ;
  85. ; cd:DWG_GetSummaryInfo   - Lista wlasciwosci dokumentu / Summary drawing properties list     ;
  86. ; cd:DWG_Layout2VLA       - Zmiana nazwy arkusza na ob. VLA / Convert layout name to VLA-Ob.  ;
  87. ; cd:DWG_LayoutsList      - Lista arkuszy rysunku / Layouts drawing list                      ;
  88. ; cd:DWG_RemoveCustomProp - Usuwa wlasciwosci uzytkownika / Removes custom drawing properties ;
  89. ; cd:DWG_SetSummaryInfo   - Zmiana wlasciwosci dokumentu / Set summary drawing properties     ;
  90. ;                                                                                             ;
  91. ; [DXF] ===================================================================================== ;
  92. ; cd:DXF_Massoc           - Zwraca wartosc danego klucza z listy asocjacyjnej /               ;
  93. ;                           Returns the value of a key from assoc list                        ;
  94. ; cd:DXF_RemoveDXF        - Usuwa kody z listy DXF / Removes codes from the list of DXF       ;
  95. ;                                                                                             ;
  96. ; [ENT] ===================================================================================== ;
  97. ; cd:ENT_CheckTableObj    - Poprawnosc nazwanego obiektu / Correctness of the named object    ;
  98. ; cd:ENT_MakeArc          - Tworzy obiekt typu ARC / Creates a ARC object                     ;
  99. ; cd:ENT_MakeBlockEnd     - Tworzy koniec definicji bloku / Creates a block definition end    ;
  100. ; cd:ENT_MakeBlockHead    - Tworzy poczatek definicji bloku / Creates a block definition head ;
  101. ; cd:ENT_MakeCircle       - Tworzy obiekt typu CIRCLE / Creates a CIRCLE object               ;
  102. ; cd:ENT_MakeEllipse      - Tworzy obiekt typu ELLIPSE / Creates a ELLIPSE object             ;
  103. ; cd:ENT_MakeLayer        - Tworzy nowa warstwe / Creates a new layers                        ;
  104. ; cd:ENT_MakeLine         - Tworzy obiekt typu LINE / Make LINE object                        ;
  105. ; cd:ENT_MakeLWPolyline   - Tworzy obiekt typu LWPOLYLINE / Creates a LWPOLYLINE object       ;
  106. ; cd:ENT_MakeTable        - Tworzy obiekt typu ACAD_TABLE / Creates a ACAD_TABLE object       ;
  107. ; cd:ENT_MakeText         - Tworzy obiekt typu TEXT / Creates a TEXT object                   ;
  108. ; cd:ENT_MakeTextStyle    - Tworzy nowy stylu tekstu / Creates a new text style               ;
  109. ; cd:ENT_MakeXline        - Tworzy obiekt typu XLINE / Creates a XLINE object                 ;
  110. ; cd:ENT_SetBasicDXF      - Zmiana podstawowych cech obiektu / Set basic object properties    ;
  111. ; cd:ENT_SetDXF           - Zmiana danych DXF obiektu / Set DXF data of object                ;
  112. ;                                                                                             ;
  113. ; [LST] ===================================================================================== ;
  114. ; cd:LST_InsertItem       - Wstawia nowy element na liste / Inserts a new item in the list    ;
  115. ; cd:LST_ItemPosition     - Lista wystapien elementu / List of occurrences item in the list   ;
  116. ; cd:LST_MoveItemDown     - Przesuwa element o jedna pozyc. w dol / Moves item one pos. down  ;
  117. ; cd:LST_MoveItemToBottom - Przesuwa element na ostatnia pozyc. / Moves item to the last pos. ;
  118. ; cd:LST_MoveItemToTop    - Przesuwa element na pozycje 0 / Moves item to the 0th position    ;
  119. ; cd:LST_MoveItemUp       - Przesuwa element o jedna pozyc. w gore / Moves item one pos. up   ;
  120. ; cd:LST_RemoveItem       - Usuwa element z listy / Removes the item from the list            ;
  121. ; cd:LST_ReplaceItem      - Zastepuje element na liscie / Replaces the item on the list       ;
  122. ; cd:LST_ReverseItems     - Zamienia elementy miejscami / Reverse the elements in places      ;
  123. ;                                                                                             ;
  124. ; [SSX] ===================================================================================== ;
  125. ; cd:SSX_Convert          - Zmienia PICKSET na liste obiek. / Convert PICKSET to list of obj. ;
  126. ;                                                                                             ;
  127. ; [STR] ===================================================================================== ;
  128. ; cd:STR_CountChar        - Liczba wystapien znaku / Number of occurrences of a character     ;
  129. ; cd:STR_FillChar         - Uzupelnia lancuch tekstowy / Complements the text string          ;
  130. ; cd:STR_Parse            - Dzieli lancuch separatorem / Divide string by separator           ;
  131. ; cd:STR_ReParse          - Laczy liste lancuchow w lancuch z separatorem /                   ;
  132. ;                           Combines a list of strings in the string with the separator       ;
  133. ; cd:STR_TableNameAuto    - Tworzy automatyczna nazwe / Creates automatic name                ;
  134. ;                                                                                             ;
  135. ; [SYS] ===================================================================================== ;
  136. ; cd:SYS_AcadInfo         - AcadInfo np. ("AutoCAD" 18.0 64 "PL")                             ;
  137. ; cd:SYS_CheckError       - Sprawdza dzialanie funkcji / Checks proper operation of the func. ;
  138. ; cd:SYS_CollList         - Zwraca liste obiektow / Returns a list of objects                 ;
  139. ; cd:SYS_FilesLoader      - Wczytuje pliki lsp,fas,vlx / Loads files lsp,fas,vlx              ;
  140. ; cd:SYS_FontPaths        - Lista sciezek do czcionek / List of paths to the fonts            ;
  141. ; cd:SYS_GetDateTime      - Zwraca date/czas systemowa(y) / Return system date/time           ;
  142. ; cd:SYS_GetSymbols       - Lista symboli LISP-a / LISPs symbols list                         ;
  143. ; cd:SYS_Msgbox           - Standardowe okno komunikatu / Standard message box                ;
  144. ; cd:SYS_ReadFile         - Czyta plik tekstowy / Read a text file                            ;
  145. ; cd:SYS_RW               - Odczyt/Zapis danych w rejest. / Reads/Writes data to the registry ;
  146. ; cd:SYS_UndoBegin        - Poczatek grupy operacji / Start of group operations               ;
  147. ; cd:SYS_UndoEnd          - Koniec grupy operacji / End of group operations                   ;
  148. ; cd:SYS_WriteFile        - Zapisuje plik tekstowy / Writes the text file                     ;
  149. ;                                                                                             ;
  150. ; [USR] ===================================================================================== ;
  151. ; cd:USR_EntSelObj        - Wybiera zadane obiekty / Select a desired object                  ;
  152. ; cd:USR_GetKeyWord       - Pobranie slowa kluczowego od uzyt. / Get a keyword from the user  ;
  153. ; cd:USR_GetPoint         - Pobiera punkt od uzytkownika / Gets point from user               ;
  154. ;                                                                                             ;
  155. ; [XDT] ===================================================================================== ;
  156. ; cd:XDT_GetXData         - Czyta dane dodatkowe XDATA / Reads additional data XDATA          ;
  157. ; cd:XDT_PutXData         - Dodaje dane dodatkowe XDATA / Adds additional data XDATA          ;
  158. ; cd:XDT_RemoveXData      - Usuwa dane dodatkowe XDATA / Removes additional data XDATA        ;
  159. ;                                                                                             ;
  160. ; =========================================================================================== ;
复制代码

CADPL-Pack-v1.lsp

174.19 KB, 下载次数: 71, 下载积分: D豆 -1 , 活跃度 1

评分

参与人数 1D豆 +10 收起 理由
XDSoft + 10 很给力!经验;技术要点;资料分享奖!

查看全部评分

论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!

已领礼包: 3191个

财富等级: 富可敌国

发表于 2013-8-5 17:44:10 | 显示全部楼层
谢谢taner,站在巨人的肩膀上,研读中
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

发表于 2013-8-6 07:56:22 | 显示全部楼层
下了,有空了仔细学习下,谢谢
论坛插件加载方法
发帖求助前要善用【论坛搜索】功能,那里可能会有你要找的答案;
如果你在论坛求助问题,并且已经从坛友或者管理的回复中解决了问题,请把帖子标题加上【已解决】;
如何回报帮助你解决问题的坛友,一个好办法就是给对方加【D豆】,加分不会扣除自己的积分,做一个热心并受欢迎的人!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|申请友链|Archiver|手机版|小黑屋|辽公网安备|晓东CAD家园 ( 辽ICP备15016793号 )

GMT+8, 2024-9-28 08:00 , Processed in 0.366511 second(s), 44 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表