乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 85|回复: 3

[编程交流] Ctrl+Page Up

[复制链接]

15

主题

102

帖子

106

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
118
发表于 2022-7-6 17:12:40 | 显示全部楼层 |阅读模式
Is there a way to have lisp do a Control Page Up?
 
I what to do a lisp that prints all my tabs sept for the model tab.
 
The only way I know how to move from tab to tab is control page up/down.
 
Thanks for everything.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 17:35:44 | 显示全部楼层
I'm not sure if this would work but:
 
If there is maybe an Active X method of retrieving a list of all the layout tabs in the drawing, then running a print LISP using the "foreach" function on the list.?
回复

使用道具 举报

2

主题

439

帖子

536

银币

限制会员

铜币
-14
发表于 2022-7-6 18:10:27 | 显示全部楼层
There is special function:
 
  1. Command: (layoutlist)("Layout1" "Layout2")
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-6 18:14:39 | 显示全部楼层
Yay, thanks ASMI,
 
Then do something like this maybe:
  1. (defun c:layplot ()(setvar "cmdecho" 0)(setq laylist (layoutlist))(foreach lay laylist(command "-plot""Y"lay[b][color=Red]etc etc etc[/color][/b]) ; end plot) ; end foreach(setvar "cmdecho" 1)(princ)) ; end function
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-4 16:16 , Processed in 0.893625 second(s), 60 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表