(IF (FINDFILE "C:\\Program Files\\Autodesk\\AutoCAD Raster Design 2018\\AeciIbUi61.arx") Raster design: LOAD THE RASTERDESIGN MENU (command "cuiload" "c:\\users\\public\\transoft solutions\\autoturn 10\\autoturn.cuix") (IF (AND (FINDFILE "c:\\users\\public\\transoft solutions\\autoturn 10\\autoturn.cuix")
(vla-get-files (vla-get-Preferences (vlax-get-acad-object))) (IF (NOT (WCMATCH (STRCASE START-PATHS) (STRCASE (STRCAT "*" PATH "*")))) (SETQ START-PATHS (vla-get-supportpath (vla-get-files (vla-get-Preferences (vlax-get-acad-object))))) (SETQ PATH "C:\\Program Files\\Transoft Solutions\\AutoTURN 10\\") (DEFUN LOADAUTOTURN ( / START-PATHS PATH)
We deal with it, but a whole lot of vendors don't get what it means to be nice to be specific, here is my load code for autoturn and raster design: Having said that, good old watercad partial loads its menu every time it starts, which confuses the cui system. It would wipe out your added code, and I would consider the program that touched it a bit hostile. Adding a support path at the moment before loading something is simple and specific to the profile at hand.Īlso, at my company the acaddoc.lsp is sacred, and recopied from the server every login. So you cannot just "find" the lsp and modify it, as you are actually affecting many profiles. You would want only that profile to have the ingredients to load it.Īnd most of the time, that profile and others will share an acaddoc.lsp.
You don't want watercad loading itself when just drawing, so you need a separate profile for it. Part of the reason is some programs do very intrusive things like add hidden custom objects to the dwg.
Now, items 1 and 2 are not nice to do to all profiles. When a user wants to run a third party prog, like autoturn, watercad, toolpack.you will typically need to:ġ) add the prog path to support paths (at the end please, not front)ģ) load some main lisp, vlx. If you can do it, its actually harder than the approach I recommend so don't be offended. Its really not a good approach IMO, which is not saying your skills are not sharp. Zoom problem can do that, but now do you do it for every profile under the acad picked?.AutoCAD Mechanical : Insert PartReference and list PartReference in BOM 2.