Search the Community
Showing results for tags 'unload'.
jamesfui posted a topic in AutoLISP, Visual LISP & DCLhi.. need help on creating lsp that can: > load & unload *.arx file which is located on specified folder! example; ``````` [size=2](defun c:arxload()[/size] [size=2](command "load" "[/size][size=2]c:\documents & settings\user\addons\mditab17.arx[/size][size=2]")(princ))[/size] [size=2](defun c:arxunload()[/size] [size=2](command "unload" "[/size][size=2]c:\documents & settings\user\addons\mditab17.arx[/size][size=2]")(princ))[/size] thanks
Hi I have created some cuix files that i want to load automatically when a user boots autocad. for this i have created a acad.lsp file in one of my search/support directories with the following code and therefore when i start cad it loads the menu file. ^C^C^P(command "menuunload" "CUSTOMMENU" "_.menuload" "CUSTOMMENU.cuix") Great apart from it doesnt appear. The command line reads: "Customization file loaded successfully. Customization Group: CUSTOMMENU" so its loaded and if i go to either cuiload or QUICKCUI i can see it and edit /unload it. The only ways i can get it to appear are by unloading it and reloading it using cuiload in which case it works fine until i reboot autocad as my script unloads it. or by changing my workspace to 2d and them back to classic and it appears. My perfect solution would be that my script runs everytime autocad launches so that any updates made to the cuix file automatically update in autocad without having to lunload and load. Thanks in advance for any help here and happy new year to all! Ben
CyberAngel posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceHas this ever happened to you? There's a complex linetype in your drawing. It looks fine until you try to plot it, when suddenly the shapes are gone. A treeline, for instance, turns into a row of dots. Bosses don't like that. I've checked the usual suspects. The linetype and shape definition files are in the proper folders. In this case the linetype is TREELINE_R from AeccLand.lin, which references the TREE shape in AeccLand.shx. The variables LTSCALE, MSLTSCALE, PSLTSCALE, and PLINEGEN don't affect it (usual values all = 1). I've researched the forum for clues. So far I've tried purging the linetype, then reopening the drawing, then restarting AutoCAD. It happens for different plotters, different drawings, even different companies. It sometimes clears up for no apparent reason.