 - (progn
- (prompt "\n选择面域的外腔")
- (setq ew (ssget))
- (prompt "\n 选择面域的内腔")
- (setq en (ssget))
- (prompt "\n选择查询的对象")
- (setq sc( ssget w))
- (command "subtract" ew " " en " ")
- (command "massprop" sc)
- )
你的程序这里是不可行的,
你选择了内外腔后,还未进行SUBSTRACT,因此需要查询的对象还未生成,你边要求选择查询的对象,怎么选择呢? |