乐筑天下

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

[编程交流] Appload - Startup suite Proble

[复制链接]

4

主题

22

帖子

18

银币

初来乍到

Rank: 1

铜币
20
发表于 2022-7-6 10:25:36 | 显示全部楼层
I agree with bringing unity by the server but what about this problem.
 
What if i me alone want to run a lsp file on a bunch of files and only my files need affected and have others working on other projects by calling to autoload a lsp file in one place it presents the problem that it affects everyone? make sense?  We do have templates created in our office however by each project they are different. and the guy before got around that by making different profiles per project (not sure if that's good or bad.) meaning each project has a different autocad icon that maps to a specific profile loads templates per job.
 
what is in the acad.lsp that you do not like (meaning what should not be in there that should be in the template?) also i can rename it to acaddoc.lsp
 
回复

使用道具 举报

44

主题

3166

帖子

2803

银币

中流砥柱

Rank: 25

铜币
557
发表于 2022-7-6 10:28:08 | 显示全部楼层
My two cents...
 
Here's our setup in a nutshell:
 
Desktop Icons incorporate startup switches, which load our profile off the network, and a script that force-loads our workspace (from our personal space also on the network). The latter is user customizable, but has some enterprise defaults which can be commented out.
 
Example Desktop Icon 'Target' Value:
 
  1. "C:\Program Files\adsk_ldc_2009\acad.exe" /ld "C:\Program Files\adsk_ldc_2009\AecBase.dbx" [color=red]/p "R:\cad\ARG\LDC09\LDC09.arg"[/color] [color=blue]/b "Z:\Custom-09\SCR-Custom\Set-LDC-WRKSP-01.scr"[/color] /c "R:\cad\ARG\LDC09\LDC2009.cfg"
 
 
ACADDOC.lsp is also stored on our personal space on the server, and is user customizable.
 
We chose this method (keeping many items in personal server space), so that no matter what machine a user logged in on, or what office they traveled to, all personal settings/preferences would load accordingly. We have a really good server river-bed, so more often than not, travel is not data-speed prohibitive with application licensing, etc.
 
Hope this helps!
回复

使用道具 举报

11

主题

968

帖子

919

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
99
发表于 2022-7-6 10:30:35 | 显示全部楼层
You're allowed to edit the ACAD.LSP file as you are allowed to edit the ACADDOC.LSP file. It's the ACAD2011.LSP and ACADDOC2011.LSP files you shouldn't touch - those are ACad's files. The ones without the version numbers are yours. 
The ACADDOC.LSP file will load of its own accord. ACad searches through each folder in the support paths and if it finds either (ACAD.LSP or ACADDOC.LSP) it loads them. However ACad only does so for the ACAD.LSP when ACad starts, while it does so for the ACADDOC.LSP every time you open a drawing. In most cases you can simply place all the stuff you already have in your ACAD.LSP directly as-is into your ACADDOC.LSP. Though the other way round doesn't always work. E.g. the load statements in your post I'd place in ACADDOC.LSP, otherwise you'll need some other way of ensuring each is loaded for all drawings (maybe using the vl-load-all instead).
 
There are other ways of loading your files, some more convoluted, some "easier" in the short term, some more portable between different systems, some using less ram, others taking less time, etc. But usually you're talking about minuscule differences when referring to RAM / speed so it's not much of a pain there.
回复

使用道具 举报

4

主题

22

帖子

18

银币

初来乍到

Rank: 1

铜币
20
发表于 2022-7-6 10:33:59 | 显示全部楼层
RenderMan,
Here is our target
  1. "C:\Program Files\Autodesk\AutoCAD MEP 2011\acad.exe" /ld "C:\Program Files\Autodesk\AutoCAD MEP 2011\AecBase.dbx" /p "S:\MEP 2011\Profiles\FIRM NAME MEP2011.arg"
Would i do this in the support menu?
i could do the enterprise cui (located on the sdrive) then map it to a place like "C:\acad custom" make the folder "acad custom" on everyone's machine and put the acaddoc.lsp file in it? i think i understand the idea just how do i get it to work. do i just add it to the target or do i do it in support and it handles the target?
回复

使用道具 举报

49

主题

1246

帖子

1210

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
254
发表于 2022-7-6 10:37:00 | 显示全部楼层
Easy. Create two Profiles on your computer. One will be for "CAD Management" and the other will be for "Your tools and commands". That way you have the best of both worlds. You still keep all your things the way you want them, and when there needs to be testing and deploying of a office-wide fix, update, program, etcetera, then you do everything under the "CAD Management" profile.  
This can be good or bad. Depends on the way y'all have things set up now. I personally do not like users having multiple profiles unless it's a huge design firm that really has tons of tools, catalogs, custom programs, etc. I would need to assess your company more to answer this question, personally. 
 
No.... no need to do this. (Sorry, I just want to be VERY clear on this. ) Just create an ACADDOC.LSP file and that's it. Don't use or touch anything else. It's not needed, and not recommended. ACAD.LSP only loads on the launch of the application, ACADDOC.LSP loads when on the launch of any and all drawings and templates. You can execute everything via ACADDOC.LSP file. Here are some resources from one of the smartest CAD management guys around.... 
http://cadpanacea.com/node/159
 
http://cadpanacea.com/node/34
 
This will give you a better understanding.
回复

使用道具 举报

49

主题

1246

帖子

1210

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
254
发表于 2022-7-6 10:41:14 | 显示全部楼层
It actually looks like the previous CAD Manager was on the right path. The question is how organized his methods were, as well as his intention of direction.
回复

使用道具 举报

4

主题

22

帖子

18

银币

初来乍到

Rank: 1

铜币
20
发表于 2022-7-6 10:44:30 | 显示全部楼层
anyone know how to fix -
  1. AutoCAD menu utilities loaded.; error: malformed list on input
 
Well all in all its working like a charm!!!! I added c:\caddstuff and put my acaddoc.lsp in there and did a load command to another lsp in the same folder the drawing opened and it ran and everything is WORKING!!!!! just getting the error above.. thanks for all the help! Great resource pages!!!
回复

使用道具 举报

4

主题

78

帖子

74

银币

初来乍到

Rank: 1

铜币
20
发表于 2022-7-6 10:46:21 | 显示全部楼层
looks like you may be missing a ) somewhere in your code.
回复

使用道具 举报

44

主题

3166

帖子

2803

银币

中流砥柱

Rank: 25

铜币
557
发表于 2022-7-6 10:51:38 | 显示全部楼层
Have you tried using the VLIDE's 'Check Edit Window'?
回复

使用道具 举报

4

主题

22

帖子

18

银币

初来乍到

Rank: 1

铜币
20
发表于 2022-7-6 10:53:38 | 显示全部楼层
All Is working Great Now!!! Thanks guys!
 
renderman got it to work with Vlide
 
I cant ever get it to work... think its because I just dont know how to use it. Can anyone tell me what file this is, and where would it be located?
"AutoCAD menu utilities"
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-7 00:28 , Processed in 0.587388 second(s), 70 queries .

© 2020-2025 乐筑天下

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