Sudhir 发表于 2022-7-6 17:30:20

发布lisp

嗨,伙计们
 
有人能帮我写一个lisp程序来发布吗

borgunit 发表于 2022-7-6 17:43:27

你说得太含糊了。你到底想做什么?

Sudhir 发表于 2022-7-6 17:46:48

 
 
我想要一个lisp程序,使用publish命令一次打印所有布局

CmdrDuh 发表于 2022-7-6 17:53:44

那么为什么不直接使用publish命令呢

JeepMaster 发表于 2022-7-6 18:02:28

如果你想要一个脚本来为你做所有的打印。然后可以编写lisp并使用-plot命令。只需将所有步骤写进lisp文件,并在ScriptPro或类似程序中运行,以绘制所有DWG。
即:
-绘图
Y
A0
\\您的打印机
ISO A0(841.00 x 1189.00毫米)
M
L
N
E
...

Sudhir 发表于 2022-7-6 18:14:29

没关系
 
但是我们有很多布局的图纸,这意味着单个图纸中平均有20个布局,所以我想使用lisp程序一次打印所有布局
 
这就是为什么我想要一个发布lisp

JeepMaster 发表于 2022-7-6 18:19:50

我在网上看到过这样的Lisp程序。你查过了吗?

JeepMaster 发表于 2022-7-6 18:24:03

如何使用scriptpro(或其他)将此脚本运行到所有DWG。看起来效果不错。
 
(foreach tn (layoutlist)(command "-plot" "N" tn "" "PDF.pc3" "" "N" "Y"))
 
调整适合您的打印命令选项。

CAB 发表于 2022-7-6 18:33:11

这可能有一些用处,但我认为Publish可以满足您的需要。
;;;-=<D E S C R I P T I O N>=-
;;;Routine to plot paperspace tabs
;;;Pick Page Set Up to use
;;;Sort Tabs by Alpha, Numeric, or Tab order; controls the pick list order too
;;;Reverse sort order of Tabs
;;;Pick tabs to plot via list, use SHIFT CLICK to pick a range or use
;;;    CTRL CLICK to tag individual names, 'Plot All' must be unchecked
;;;    This list order is determined by the Sort Tabs Radio Buttons
;;;Ignore Tabs with flag character, this works with Pick Tabs too
;;;Enter quantity of copies
;;;Option to collate
;;;
;;;Enter PlotTabs to run from the command line
;;;You may call sub_PlotTabs wit a list of options see notes below
 
成员必需链接
页: [1]
查看完整版本: 发布lisp