SolidWorks API 钣金指令大全 - 获取、设置和操作折弯参数

本文将详细介绍 SolidWorks API 中所有与钣金相关的指令,涵盖获取、设置折弯补偿值、半径、表格、K 因数、展开图等操作,以及折弯线长度、位置、方向、半径、角度、厚度等属性的获取和设置。

获取相关属性指令

  1. GetBendAllowance: 获取钣金折弯补偿值。
  2. GetBendRadii: 获取钣金折弯半径。
  3. GetBendTable: 获取钣金折弯表格。
  4. GetBendTableConfiguration: 获取钣金折弯表格配置。
  5. GetBendTableParameters: 获取钣金折弯表格参数。
  6. GetFlatPattern: 获取钣金展开图。
  7. GetKFactor: 获取钣金 K 因数。
  8. GetBendLineLength: 获取钣金折弯线长度。
  9. GetBendLinePosition: 获取钣金折弯线位置。
  10. GetBendLineDirection: 获取钣金折弯线方向。
  11. GetBendLineRadius: 获取钣金折弯线半径。
  12. GetBendLineAngle: 获取钣金折弯线角度。
  13. GetBendLineThickness: 获取钣金折弯线厚度。
  14. GetBendLineConfiguration: 获取钣金折弯线配置。

设置相关属性指令

  1. SetBendAllowance: 设置钣金折弯补偿值。
  2. SetBendRadii: 设置钣金折弯半径。
  3. SetBendTable: 设置钣金折弯表格。
  4. SetBendTableConfiguration: 设置钣金折弯表格配置。
  5. SetBendTableParameters: 设置钣金折弯表格参数。
  6. SetKFactor: 设置钣金 K 因数。
  7. SetBendLineLength: 设置钣金折弯线长度。
  8. SetBendLinePosition: 设置钣金折弯线位置。
  9. SetBendLineDirection: 设置钣金折弯线方向。
  10. SetBendLineRadius: 设置钣金折弯线半径。
  11. SetBendLineAngle: 设置钣金折弯线角度。
  12. SetBendLineThickness: 设置钣金折弯线厚度。
  13. SetBendLineConfiguration: 设置钣金折弯线配置。

其他指令

  1. Unfold: 将钣金展开。
  2. Fold: 将钣金折叠。

通过使用这些 API 指令,您可以轻松地在 SolidWorks 中进行钣金模型的创建、修改和分析。


原文地址: https://www.cveoy.top/t/topic/n2y2 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录