明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 793|回复: 1

[函数] 天正对象Lisp函数-散水

[复制链接]
发表于 2021-11-29 14:57:36 | 显示全部楼层 |阅读模式



  1. ;;说明:
  2. ;;参数:o:
  3. ;;返回:
  4. (defun Zgx:GetTchApron:CloseFlag(o)
  5.   (or
  6.     (eq (type o)'VLA-OBJECT)
  7.     (setq o(vlax-ename->vla-object o))  
  8.   )
  9.   (vlax-get-property o 'CloseFlag)
  10. )

  11. ;;说明:
  12. ;;参数:o:
  13. ;;返回:
  14. (defun Zgx:SetTchApron:CloseFlag(o value)
  15.   (or
  16.     (eq (type o)'VLA-OBJECT)
  17.     (setq o(vlax-ename->vla-object o))  
  18.   )
  19.   (vlax-put-property o 'CloseFlag value)
  20. )

  21. ;;说明:
  22. ;;参数:o:
  23. ;;返回:
  24. (defun Zgx:GetTchApron:Dists(o)
  25.   (or
  26.     (eq (type o)'VLA-OBJECT)
  27.     (setq o(vlax-ename->vla-object o))  
  28.   )
  29.   (vlax-get-property o 'Dists)
  30. )

  31. ;;说明:
  32. ;;参数:o:
  33. ;;返回:
  34. (defun Zgx:SetTchApron:Dists(o value)
  35.   (or
  36.     (eq (type o)'VLA-OBJECT)
  37.     (setq o(vlax-ename->vla-object o))  
  38.   )
  39.   (vlax-put-property o 'Dists value)
  40. )

  41. ;;说明:
  42. ;;参数:o:
  43. ;;返回:
  44. (defun Zgx:GetTchApron:Document(o)
  45.   (or
  46.     (eq (type o)'VLA-OBJECT)
  47.     (setq o(vlax-ename->vla-object o))  
  48.   )
  49.   (vlax-get-property o 'Document)
  50. )


  51. ;;说明:
  52. ;;参数:o:
  53. ;;返回:
  54. (defun Zgx:GetTchApron:Elev(o)
  55.   (or
  56.     (eq (type o)'VLA-OBJECT)
  57.     (setq o(vlax-ename->vla-object o))  
  58.   )
  59.   (vlax-get-property o 'Elev)
  60. )

  61. ;;说明:
  62. ;;参数:o:
  63. ;;返回:
  64. (defun Zgx:SetTchApron:Elev(o value)
  65.   (or
  66.     (eq (type o)'VLA-OBJECT)
  67.     (setq o(vlax-ename->vla-object o))  
  68.   )
  69.   (vlax-put-property o 'Elev value)
  70. )

  71. ;;说明:
  72. ;;参数:o:
  73. ;;返回:
  74. (defun Zgx:GetTchApron:EntityTransparency(o)
  75.   (or
  76.     (eq (type o)'VLA-OBJECT)
  77.     (setq o(vlax-ename->vla-object o))  
  78.   )
  79.   (vlax-get-property o 'EntityTransparency)
  80. )

  81. ;;说明:
  82. ;;参数:o:
  83. ;;返回:
  84. (defun Zgx:SetTchApron:EntityTransparency(o value)
  85.   (or
  86.     (eq (type o)'VLA-OBJECT)
  87.     (setq o(vlax-ename->vla-object o))  
  88.   )
  89.   (vlax-put-property o 'EntityTransparency value)
  90. )

  91. ;;说明:
  92. ;;参数:o:
  93. ;;返回:
  94. (defun Zgx:GetTchApron:Handle(o)
  95.   (or
  96.     (eq (type o)'VLA-OBJECT)
  97.     (setq o(vlax-ename->vla-object o))  
  98.   )
  99.   (vlax-get-property o 'Handle)
  100. )


  101. ;;说明:
  102. ;;参数:o:
  103. ;;返回:
  104. (defun Zgx:GetTchApron:HasExtensionDictionary(o)
  105.   (or
  106.     (eq (type o)'VLA-OBJECT)
  107.     (setq o(vlax-ename->vla-object o))  
  108.   )
  109.   (vlax-get-property o 'HasExtensionDictionary)
  110. )


  111. ;;说明:
  112. ;;参数:o:
  113. ;;返回:
  114. (defun Zgx:GetTchApron:Hyperlinks(o)
  115.   (or
  116.     (eq (type o)'VLA-OBJECT)
  117.     (setq o(vlax-ename->vla-object o))  
  118.   )
  119.   (vlax-get-property o 'Hyperlinks)
  120. )


  121. ;;说明:
  122. ;;参数:o:
  123. ;;返回:
  124. (defun Zgx:GetTchApron:InHeight(o)
  125.   (or
  126.     (eq (type o)'VLA-OBJECT)
  127.     (setq o(vlax-ename->vla-object o))  
  128.   )
  129.   (vlax-get-property o 'InHeight)
  130. )

  131. ;;说明:
  132. ;;参数:o:
  133. ;;返回:
  134. (defun Zgx:SetTchApron:InHeight(o value)
  135.   (or
  136.     (eq (type o)'VLA-OBJECT)
  137.     (setq o(vlax-ename->vla-object o))  
  138.   )
  139.   (vlax-put-property o 'InHeight value)
  140. )

  141. ;;说明:
  142. ;;参数:o:
  143. ;;返回:
  144. (defun Zgx:GetTchApronayer(o)
  145.   (or
  146.     (eq (type o)'VLA-OBJECT)
  147.     (setq o(vlax-ename->vla-object o))  
  148.   )
  149.   (vlax-get-property o 'Layer)
  150. )


  151. ;;说明:
  152. ;;参数:o:
  153. ;;返回:
  154. (defun Zgx:GetTchApronayoutRotation(o)
  155.   (or
  156.     (eq (type o)'VLA-OBJECT)
  157.     (setq o(vlax-ename->vla-object o))  
  158.   )
  159.   (vlax-get-property o 'LayoutRotation)
  160. )

  161. ;;说明:
  162. ;;参数:o:
  163. ;;返回:
  164. (defun Zgx:SetTchApronayoutRotation(o value)
  165.   (or
  166.     (eq (type o)'VLA-OBJECT)
  167.     (setq o(vlax-ename->vla-object o))  
  168.   )
  169.   (vlax-put-property o 'LayoutRotation value)
  170. )

  171. ;;说明:
  172. ;;参数:o:
  173. ;;返回:
  174. (defun Zgx:GetTchAproninetype(o)
  175.   (or
  176.     (eq (type o)'VLA-OBJECT)
  177.     (setq o(vlax-ename->vla-object o))  
  178.   )
  179.   (vlax-get-property o 'Linetype)
  180. )

  181. ;;说明:
  182. ;;参数:o:
  183. ;;返回:
  184. (defun Zgx:SetTchAproninetype(o value)
  185.   (or
  186.     (eq (type o)'VLA-OBJECT)
  187.     (setq o(vlax-ename->vla-object o))  
  188.   )
  189.   (vlax-put-property o 'Linetype value)
  190. )

  191. ;;说明:
  192. ;;参数:o:
  193. ;;返回:
  194. (defun Zgx:GetTchAproninetypeScale(o)
  195.   (or
  196.     (eq (type o)'VLA-OBJECT)
  197.     (setq o(vlax-ename->vla-object o))  
  198.   )
  199.   (vlax-get-property o 'LinetypeScale)
  200. )

  201. ;;说明:
  202. ;;参数:o:
  203. ;;返回:
  204. (defun Zgx:SetTchAproninetypeScale(o value)
  205.   (or
  206.     (eq (type o)'VLA-OBJECT)
  207.     (setq o(vlax-ename->vla-object o))  
  208.   )
  209.   (vlax-put-property o 'LinetypeScale value)
  210. )

  211. ;;说明:
  212. ;;参数:o:
  213. ;;返回:
  214. (defun Zgx:GetTchApronineweight(o)
  215.   (or
  216.     (eq (type o)'VLA-OBJECT)
  217.     (setq o(vlax-ename->vla-object o))  
  218.   )
  219.   (vlax-get-property o 'Lineweight)
  220. )

  221. ;;说明:
  222. ;;参数:o:
  223. ;;返回:
  224. (defun Zgx:SetTchApronineweight(o value)
  225.   (or
  226.     (eq (type o)'VLA-OBJECT)
  227.     (setq o(vlax-ename->vla-object o))  
  228.   )
  229.   (vlax-put-property o 'Lineweight value)
  230. )

  231. ;;说明:
  232. ;;参数:o:
  233. ;;返回:
  234. (defun Zgx:GetTchApron:Material(o)
  235.   (or
  236.     (eq (type o)'VLA-OBJECT)
  237.     (setq o(vlax-ename->vla-object o))  
  238.   )
  239.   (vlax-get-property o 'Material)
  240. )

  241. ;;说明:
  242. ;;参数:o:
  243. ;;返回:
  244. (defun Zgx:SetTchApron:Material(o value)
  245.   (or
  246.     (eq (type o)'VLA-OBJECT)
  247.     (setq o(vlax-ename->vla-object o))  
  248.   )
  249.   (vlax-put-property o 'Material value)
  250. )

  251. ;;说明:
  252. ;;参数:o:
  253. ;;返回:
  254. (defun Zgx:GetTchApron:ObjectID(o)
  255.   (or
  256.     (eq (type o)'VLA-OBJECT)
  257.     (setq o(vlax-ename->vla-object o))  
  258.   )
  259.   (vlax-get-property o 'ObjectID)
  260. )


  261. ;;说明:
  262. ;;参数:o:
  263. ;;返回:
  264. (defun Zgx:GetTchApron:ObjectID32(o)
  265.   (or
  266.     (eq (type o)'VLA-OBJECT)
  267.     (setq o(vlax-ename->vla-object o))  
  268.   )
  269.   (vlax-get-property o 'ObjectID32)
  270. )


  271. ;;说明:
  272. ;;参数:o:
  273. ;;返回:
  274. (defun Zgx:GetTchApron:ObjectName(o)
  275.   (or
  276.     (eq (type o)'VLA-OBJECT)
  277.     (setq o(vlax-ename->vla-object o))  
  278.   )
  279.   (vlax-get-property o 'ObjectName)
  280. )


  281. ;;说明:
  282. ;;参数:o:
  283. ;;返回:
  284. (defun Zgx:GetTchApron:OutHeight(o)
  285.   (or
  286.     (eq (type o)'VLA-OBJECT)
  287.     (setq o(vlax-ename->vla-object o))  
  288.   )
  289.   (vlax-get-property o 'OutHeight)
  290. )

  291. ;;说明:
  292. ;;参数:o:
  293. ;;返回:
  294. (defun Zgx:SetTchApron:OutHeight(o value)
  295.   (or
  296.     (eq (type o)'VLA-OBJECT)
  297.     (setq o(vlax-ename->vla-object o))  
  298.   )
  299.   (vlax-put-property o 'OutHeight value)
  300. )

  301. ;;说明:
  302. ;;参数:o:
  303. ;;返回:
  304. (defun Zgx:GetTchApron:OwnerID(o)
  305.   (or
  306.     (eq (type o)'VLA-OBJECT)
  307.     (setq o(vlax-ename->vla-object o))  
  308.   )
  309.   (vlax-get-property o 'OwnerID)
  310. )


  311. ;;说明:
  312. ;;参数:o:
  313. ;;返回:
  314. (defun Zgx:GetTchApron:OwnerID32(o)
  315.   (or
  316.     (eq (type o)'VLA-OBJECT)
  317.     (setq o(vlax-ename->vla-object o))  
  318.   )
  319.   (vlax-get-property o 'OwnerID32)
  320. )


  321. ;;说明:
  322. ;;参数:o:
  323. ;;返回:
  324. (defun Zgx:GetTchApron:PathLength(o)
  325.   (or
  326.     (eq (type o)'VLA-OBJECT)
  327.     (setq o(vlax-ename->vla-object o))  
  328.   )
  329.   (vlax-get-property o 'PathLength)
  330. )


  331. ;;说明:
  332. ;;参数:o:
  333. ;;返回:
  334. (defun Zgx:GetTchApron:PlotStyleName(o)
  335.   (or
  336.     (eq (type o)'VLA-OBJECT)
  337.     (setq o(vlax-ename->vla-object o))  
  338.   )
  339.   (vlax-get-property o 'PlotStyleName)
  340. )

  341. ;;说明:
  342. ;;参数:o:
  343. ;;返回:
  344. (defun Zgx:SetTchApron:PlotStyleName(o value)
  345.   (or
  346.     (eq (type o)'VLA-OBJECT)
  347.     (setq o(vlax-ename->vla-object o))  
  348.   )
  349.   (vlax-put-property o 'PlotStyleName value)
  350. )

  351. ;;说明:
  352. ;;参数:o:
  353. ;;返回:
  354. (defun Zgx:GetTchApron:Scale(o)
  355.   (or
  356.     (eq (type o)'VLA-OBJECT)
  357.     (setq o(vlax-ename->vla-object o))  
  358.   )
  359.   (vlax-get-property o 'Scale)
  360. )

  361. ;;说明:
  362. ;;参数:o:
  363. ;;返回:
  364. (defun Zgx:SetTchApron:Scale(o value)
  365.   (or
  366.     (eq (type o)'VLA-OBJECT)
  367.     (setq o(vlax-ename->vla-object o))  
  368.   )
  369.   (vlax-put-property o 'Scale value)
  370. )

  371. ;;说明:
  372. ;;参数:o:
  373. ;;返回:
  374. (defun Zgx:GetTchApron:SideArea(o)
  375.   (or
  376.     (eq (type o)'VLA-OBJECT)
  377.     (setq o(vlax-ename->vla-object o))  
  378.   )
  379.   (vlax-get-property o 'SideArea)
  380. )


  381. ;;说明:
  382. ;;参数:o:
  383. ;;返回:
  384. (defun Zgx:GetTchApron:TrueColor(o)
  385.   (or
  386.     (eq (type o)'VLA-OBJECT)
  387.     (setq o(vlax-ename->vla-object o))  
  388.   )
  389.   (vlax-get-property o 'TrueColor)
  390. )

  391. ;;说明:
  392. ;;参数:o:
  393. ;;返回:
  394. (defun Zgx:SetTchApron:TrueColor(o value)
  395.   (or
  396.     (eq (type o)'VLA-OBJECT)
  397.     (setq o(vlax-ename->vla-object o))  
  398.   )
  399.   (vlax-put-property o 'TrueColor value)
  400. )

  401. ;;说明:
  402. ;;参数:o:
  403. ;;返回:
  404. (defun Zgx:GetTchApron:Vertex(o)
  405.   (or
  406.     (eq (type o)'VLA-OBJECT)
  407.     (setq o(vlax-ename->vla-object o))  
  408.   )
  409.   (vlax-get-property o 'Vertex)
  410. )

  411. ;;说明:
  412. ;;参数:o:
  413. ;;返回:
  414. (defun Zgx:SetTchApron:Vertex(o value)
  415.   (or
  416.     (eq (type o)'VLA-OBJECT)
  417.     (setq o(vlax-ename->vla-object o))  
  418.   )
  419.   (vlax-put-property o 'Vertex value)
  420. )

  421. ;;说明:
  422. ;;参数:o:
  423. ;;返回:
  424. (defun Zgx:GetTchApron:Visible(o)
  425.   (or
  426.     (eq (type o)'VLA-OBJECT)
  427.     (setq o(vlax-ename->vla-object o))  
  428.   )
  429.   (vlax-get-property o 'Visible)
  430. )

  431. ;;说明:
  432. ;;参数:o:
  433. ;;返回:
  434. (defun Zgx:SetTchApron:Visible(o value)
  435.   (or
  436.     (eq (type o)'VLA-OBJECT)
  437.     (setq o(vlax-ename->vla-object o))  
  438.   )
  439.   (vlax-put-property o 'Visible value)
  440. )


"觉得好,就打赏"
还没有人打赏,支持一下
发表于 2021-11-30 09:48:51 | 显示全部楼层
原码大放送,点赞收藏
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-11-15 07:23 , Processed in 0.190030 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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