找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 146|回复: 0

OBJECT ARX 总结5

[复制链接]

1

主题

0

回帖

37

积分

管理员

积分
37
发表于 2024-5-2 22:50:52 | 显示全部楼层 |阅读模式
  1. 1.     系统变量查询与设置,暂停使用户输入,与AutoCAD的参数传递(acedCommand)等;
  2. acedSetVar:设置系统变量
  3. acedGetVar:获取系统变量值
  4. result = acedCommand(RTSTR, "Zoom", RTSTR, PAUSE, RTNONE); //使用PAUSE暂停,让用户输入
  5. result = acedCommand(RTSTR, "circle", RTSTR, "5,5", RTSTR, PAUSE, RTSTR, "line", RTSTR, "5,5", RTSTR, "7,5", RTSTR, "", 0);  
  6. acedInvoke:调用其它ARX注册的外部函数
  7. acedCommond:调用全局命令
  8. 2.     获取用户输入函数;
  9. 函数名
  10. 功能
  11. acedGetInt
  12. 获取一个整数
  13. acedGetReal
  14. 获取一个浮点
  15. acedGetDist
  16. 获取一个距离
  17. acedGetAngle
  18. 获取一个角度
  19. acedGetOrient
  20. 获取一个方向角
  21. acedGetPoint
  22. 获取一个点
  23. acedGetCorner
  24. 获取矩形的对角点
  25. acedGetKword
  26. 获取用户输入的关键字
  27. acedGetString
  28. 获取字符串
  29. ads采用usrbrk取消命令如何使用?
  30. 对于acedGetString的获取的各种字符如何处理?
  31. 3.     类型转换函数;
  32. acdbRToS()             converts a real value, an angle to string values
  33. acdbAngToS()
  34. acdbDisToF()           convert strings back into real (distance) values or angles
  35. acdbAngToF()
  36. 4.     字符处理函数;
  37. acutIsAlpha
  38. Verifies that the character is alphabetic
  39. acutIsUpper
  40. Verifies that the character is uppercase
  41. acutIsLower
  42. Verifies that the character is lowercase
  43. acutIsDigit
  44. Verifies that the character is a digit
  45. acutIsXDigit
  46. Verifies that the character is a hexadecimal digit
  47. acutIsSpace
  48. Verifies that the character is a white-space character
  49. acutIsPunct
  50. Verifies that the character is a punctuation character
  51. acutIsAlNum
  52. Verifies that the character is alphanumeric
  53. acutIsPrint
  54. Verifies that the character is printable
  55. acutIsGraph
  56. Verifies that the character is graphical
  57. acutIsCntrl
  58. Verifies that the character is a control character
  59. acutToUpper
  60. Converts the character to uppercase
  61. acutToLower
  62. Converts the character to lowercase
  63. 5.     坐标变换函数;
  64. acutCvUnit()            takes a value expressed in one system of units and returns the equivalent value in another system
  65. acedTrans()             function translates a point or a displacement from one coordinate system into another
  66. 6.     显示控制函数;
  67. acedPrompt              displays a message on the AutoCAD prompt line
  68. acutPrintf()            displays text on the text screen.
  69. acdbFail()              displays messages on the text screen
  70. acedMenuCmd()           provides control of the display of the graphics screen menu
  71. acedGraphScr()          display the graphics screen
  72. acedTextScr()           display the text screen
  73. acedTextPage()          like acedTextScr(), but it clears the text screen before displaying it (as the AutoCAD STATUS   command does)
  74. acedRedraw()            similar to the AutoCAD REDRAW command
  75. acedGrDraw()
  76. acedGrVecs()
  77. 7、图形交互函数。
  78. acedTablet()
  79. acutWcMatch()
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|膜结构网

GMT+8, 2025-1-4 12:34 , Processed in 0.139890 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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