明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 688|回复: 0

[函数] 天正-做法标注函数

[复制链接]
发表于 2021-11-30 13:59:35 | 显示全部楼层 |阅读模式
  1. ;;说明:
  2. ;;参数:o:
  3. ;;返回:
  4. (defun Zgx:GetTchComposing:Alignment(o)
  5.   (or
  6.     (eq (type o)'VLA-OBJECT)
  7.     (setq o(vlax-ename->vla-object o))  
  8.   )
  9.   (vlax-get-property o 'Alignment)
  10. )

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

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


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

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

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

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

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


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

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

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

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

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


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


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

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


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


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


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


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

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

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

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

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

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

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

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

  441. ;;说明:
  442. ;;参数:o:
  443. ;;返回:
  444. (defun Zgx:GetTchComposing:Space(o)
  445.   (or
  446.     (eq (type o)'VLA-OBJECT)
  447.     (setq o(vlax-ename->vla-object o))  
  448.   )
  449.   (vlax-get-property o 'Space)
  450. )

  451. ;;说明:
  452. ;;参数:o:
  453. ;;返回:
  454. (defun Zgx:SetTchComposing:Space(o value)
  455.   (or
  456.     (eq (type o)'VLA-OBJECT)
  457.     (setq o(vlax-ename->vla-object o))  
  458.   )
  459.   (vlax-put-property o 'Space value)
  460. )

  461. ;;说明:
  462. ;;参数:o:
  463. ;;返回:
  464. (defun Zgx:GetTchComposing:Text(o)
  465.   (or
  466.     (eq (type o)'VLA-OBJECT)
  467.     (setq o(vlax-ename->vla-object o))  
  468.   )
  469.   (vlax-get-property o 'Text)
  470. )

  471. ;;说明:
  472. ;;参数:o:
  473. ;;返回:
  474. (defun Zgx:SetTchComposing:Text(o value)
  475.   (or
  476.     (eq (type o)'VLA-OBJECT)
  477.     (setq o(vlax-ename->vla-object o))  
  478.   )
  479.   (vlax-put-property o 'Text value)
  480. )

  481. ;;说明:
  482. ;;参数:o:
  483. ;;返回:
  484. (defun Zgx:GetTchComposing:Text2BaseRatio(o)
  485.   (or
  486.     (eq (type o)'VLA-OBJECT)
  487.     (setq o(vlax-ename->vla-object o))  
  488.   )
  489.   (vlax-get-property o 'Text2BaseRatio)
  490. )

  491. ;;说明:
  492. ;;参数:o:
  493. ;;返回:
  494. (defun Zgx:SetTchComposing:Text2BaseRatio(o value)
  495.   (or
  496.     (eq (type o)'VLA-OBJECT)
  497.     (setq o(vlax-ename->vla-object o))  
  498.   )
  499.   (vlax-put-property o 'Text2BaseRatio value)
  500. )

  501. ;;说明:
  502. ;;参数:o:
  503. ;;返回:
  504. (defun Zgx:GetTchComposing:TextBaseLen(o)
  505.   (or
  506.     (eq (type o)'VLA-OBJECT)
  507.     (setq o(vlax-ename->vla-object o))  
  508.   )
  509.   (vlax-get-property o 'TextBaseLen)
  510. )

  511. ;;说明:
  512. ;;参数:o:
  513. ;;返回:
  514. (defun Zgx:SetTchComposing:TextBaseLen(o value)
  515.   (or
  516.     (eq (type o)'VLA-OBJECT)
  517.     (setq o(vlax-ename->vla-object o))  
  518.   )
  519.   (vlax-put-property o 'TextBaseLen value)
  520. )

  521. ;;说明:
  522. ;;参数:o:
  523. ;;返回:
  524. (defun Zgx:GetTchComposing:TextColor(o)
  525.   (or
  526.     (eq (type o)'VLA-OBJECT)
  527.     (setq o(vlax-ename->vla-object o))  
  528.   )
  529.   (vlax-get-property o 'TextColor)
  530. )

  531. ;;说明:
  532. ;;参数:o:
  533. ;;返回:
  534. (defun Zgx:SetTchComposing:TextColor(o value)
  535.   (or
  536.     (eq (type o)'VLA-OBJECT)
  537.     (setq o(vlax-ename->vla-object o))  
  538.   )
  539.   (vlax-put-property o 'TextColor value)
  540. )

  541. ;;说明:
  542. ;;参数:o:
  543. ;;返回:
  544. (defun Zgx:GetTchComposing:TextLayer(o)
  545.   (or
  546.     (eq (type o)'VLA-OBJECT)
  547.     (setq o(vlax-ename->vla-object o))  
  548.   )
  549.   (vlax-get-property o 'TextLayer)
  550. )

  551. ;;说明:
  552. ;;参数:o:
  553. ;;返回:
  554. (defun Zgx:SetTchComposing:TextLayer(o value)
  555.   (or
  556.     (eq (type o)'VLA-OBJECT)
  557.     (setq o(vlax-ename->vla-object o))  
  558.   )
  559.   (vlax-put-property o 'TextLayer value)
  560. )

  561. ;;说明:
  562. ;;参数:o:
  563. ;;返回:
  564. (defun Zgx:GetTchComposing:TextSide(o)
  565.   (or
  566.     (eq (type o)'VLA-OBJECT)
  567.     (setq o(vlax-ename->vla-object o))  
  568.   )
  569.   (vlax-get-property o 'TextSide)
  570. )

  571. ;;说明:
  572. ;;参数:o:
  573. ;;返回:
  574. (defun Zgx:SetTchComposing:TextSide(o value)
  575.   (or
  576.     (eq (type o)'VLA-OBJECT)
  577.     (setq o(vlax-ename->vla-object o))  
  578.   )
  579.   (vlax-put-property o 'TextSide value)
  580. )

  581. ;;说明:
  582. ;;参数:o:
  583. ;;返回:
  584. (defun Zgx:GetTchComposing:TextType(o)
  585.   (or
  586.     (eq (type o)'VLA-OBJECT)
  587.     (setq o(vlax-ename->vla-object o))  
  588.   )
  589.   (vlax-get-property o 'TextType)
  590. )

  591. ;;说明:
  592. ;;参数:o:
  593. ;;返回:
  594. (defun Zgx:SetTchComposing:TextType(o value)
  595.   (or
  596.     (eq (type o)'VLA-OBJECT)
  597.     (setq o(vlax-ename->vla-object o))  
  598.   )
  599.   (vlax-put-property o 'TextType value)
  600. )

  601. ;;说明:
  602. ;;参数:o:
  603. ;;返回:
  604. (defun Zgx:GetTchComposing:TrueColor(o)
  605.   (or
  606.     (eq (type o)'VLA-OBJECT)
  607.     (setq o(vlax-ename->vla-object o))  
  608.   )
  609.   (vlax-get-property o 'TrueColor)
  610. )

  611. ;;说明:
  612. ;;参数:o:
  613. ;;返回:
  614. (defun Zgx:SetTchComposing:TrueColor(o value)
  615.   (or
  616.     (eq (type o)'VLA-OBJECT)
  617.     (setq o(vlax-ename->vla-object o))  
  618.   )
  619.   (vlax-put-property o 'TrueColor value)
  620. )

  621. ;;说明:
  622. ;;参数:o:
  623. ;;返回:
  624. (defun Zgx:GetTchComposing:Visible(o)
  625.   (or
  626.     (eq (type o)'VLA-OBJECT)
  627.     (setq o(vlax-ename->vla-object o))  
  628.   )
  629.   (vlax-get-property o 'Visible)
  630. )

  631. ;;说明:
  632. ;;参数:o:
  633. ;;返回:
  634. (defun Zgx:SetTchComposing:Visible(o value)
  635.   (or
  636.     (eq (type o)'VLA-OBJECT)
  637.     (setq o(vlax-ename->vla-object o))  
  638.   )
  639.   (vlax-put-property o 'Visible value)
  640. )

  641. (zgx:getchco)

"觉得好,就打赏"
还没有人打赏,支持一下
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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