乐筑天下

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

[综合讨论] Unreconciled layers, again and

[复制链接]

11

主题

24

帖子

14

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
54
发表于 2022-7-7 22:57:34 | 显示全部楼层 |阅读模式
Greetings All,
 
I keep getting an 'unreconcilled layers' notices prior to printing. I know how to reconcile the layers but it seems that every time I open a drawing where I have already reconcilled the layers, they need reconciling again. Surely I should only have to reconcile the layers once and then the problem should go away but I am finding that this is not the case. I am using xrefs in Acad2008.
 
Many thanks.
 
BB.
回复

使用道具 举报

NBC

4

主题

182

帖子

178

银币

初来乍到

Rank: 1

铜币
20
发表于 2022-7-7 23:22:51 | 显示全部楼层
Try adding LAYEREVAL, LAYEREVALCTL and/or LAYERNOTIFY to your acad.lsp file, and ensuring their values are all set to 0 (zero)
回复

使用道具 举报

2

主题

6

帖子

4

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-7 23:39:44 | 显示全部楼层
You can open layer properties manger then click on settings. (Probaly somewhere on the lower left side of the pane)
 
Then uncheck the 'New Layer Notification' at the top.
回复

使用道具 举报

0

主题

2

帖子

2

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-7 23:53:41 | 显示全部楼层
I cannot take credit for the whole code but just the modification. this will create a script to batch reconcile unreconciled layers
 
;; reconcile all unreconciled layers
(defun c:reclayers
       (/ UserFile UserCat FileList File#1 DwgName FileName)
  (vl-load-com)
  (setq UserFile
  (getfiled "Select a drawing within the directory to process"
     "j:/"
     "dwg"
     16
  )
  )
  (setq UserCat (vl-filename-directory UserFile))
  (setq FileList (vl-directory-files UserCat "*.dwg" 1))
  (setq File#1 (open "c:/program files/cpmelec/scripts/reclayers.scr" "w"))
  ;; open/make a scriptfile to write to
  (foreach DwgName FileList
    (setq FileName (strcat "\"" UserCat "\\" DwgName "\""))
    (princ "open\n" File#1)
    (princ (strcat FileName "\n") File#1)
    ;;Below are commands to run on each drawing...
    (princ "-LAYER E *\n" File#1)
        (princ "\n" File#1)
    (princ "_.qsave\n" File#1)
    (princ "_.close\n" File#1)
  )
  (close File#1)
)
(princ "\nreclayers loaded.")
(princ "\nType reclayers to run")
回复

使用道具 举报

0

主题

2

帖子

2

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-8 00:05:13 | 显示全部楼层
forgot one thing, change this line to where you want your script file located and.or change name of script file
 
(setq File#1 (open "c:/program files/cpmelec/scripts/reclayers.scr" "w"))
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-5 01:03 , Processed in 0.317582 second(s), 62 queries .

© 2020-2025 乐筑天下

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