乐筑天下

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

[编程交流] Plot Views, sheets at the same

[复制链接]

27

主题

182

帖子

163

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
139
发表于 2022-7-5 18:29:29 | 显示全部楼层 |阅读模式
Hi to everyone!...
 
 
Someone knows a Lisp to plot a internal sheets of a model space file? Eg.: I have a dwg file with 10 sheets internal, I know how to put name at each sheet (NEWVIEW) and it appears at same place of Extend, Display or Window at plot configuration screen. If I put names as a numbers: 1, 2, 3,..., 10, it's possible to select one page or all to plot at the same time? Or create a Lisp that can help it!?...
 
 
Thanks in advance!...
 
 
Its possible using a comand:
-plot
Detailed plot configuration? [Yes/No] : y
Enter a layout name or [?] :
Enter an output device name or [?] : Canon iR2525
Enter paper size or [?] :
Enter paper units [inches/Millimeters] : m
Enter drawing orientation [Portrait/Landscape] :
Plot upside down? [Yes/No] :
Enter plot area [Display/Extents/Limits/View/Window] : v
Enter view name : 3 (the view name)
Enter plot scale (Plotted Millimeters=Drawing Units) or [Fit] :
Enter plot offset (x,y) or
: c
Plot with plot styles? [Yes/No] :
Enter plot style table name or [?] (enter . for none) :
Plot with lineweights? [Yes/No] :
Enter shade plot setting [As displayed/legacy Wireframe/legacy Hidden/Visual styles/Rendered] :
Write the plot to a file [Yes/No] :
Save changes to page setup [Yes/No]?
Proceed with plot [Yes/No] :
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-5 18:44:01 | 显示全部楼层
Have a look at this I think you imply all is in model space. this is plot all in model space could be changed to views, plotting a range is achieveable by checking sheet id 1,2 ,3 etc Check my post
 
http://www.cadtutor.net/forum/showthread.php?67143-One-Click-Printing
回复

使用道具 举报

27

主题

182

帖子

163

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
139
发表于 2022-7-5 18:54:40 | 显示全部楼层
 
 
Thanks Bigal!...
 
Its help me alot!... Is exactly that I was looking for!...
回复

使用道具 举报

27

主题

182

帖子

163

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
139
发表于 2022-7-5 18:56:05 | 显示全部楼层
Bigal, do you know if is possible to get more than one item to select to print? At the first code!...
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-5 19:07:57 | 显示全部楼层
If you look at my post in link above its a plot all. To only plot a few would require checking the sheet number an extra coding step. Or do by pick it would be easy to change the code to 1 at a time.
 
Try
  1. (setq ss2 (ssget "x" '((0 . "INSERT")replace with(setq ss2 (ssget "M" '((0 . "INSERT")
回复

使用道具 举报

27

主题

182

帖子

163

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
139
发表于 2022-7-5 19:13:34 | 显示全部楼层
 
 
Thanks Bigal!... It helps!..
 
 
Someone knows how to do it to the Code at post #2 http://www.cadtutor.net/forum/showthread.php?67143-One-Click-Printing&p=459450&viewfull=1#post459450
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-5 19:29:25 | 显示全部楼层
There are many ways to pick which ones as I said before I would use a range of sheets to be plotted eg 7-10 and it would check each one picked in the "all" but only plot those within the range. See this example for layouts go down it has multiple layout routines.
 
http://www.cadtutor.net/forum/showthread.php?84430-Move-layout-Rename-layouts-Goto-layout
回复

使用道具 举报

27

主题

182

帖子

163

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
139
发表于 2022-7-5 19:32:44 | 显示全部楼层
 
 
Bigal!... Thanks a lot!!!...
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-12 19:32 , Processed in 0.408450 second(s), 68 queries .

© 2020-2025 乐筑天下

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