Quantcast
Channel: Autodesk AutoCAD forums
Viewing all articles
Browse latest Browse all 14319

Few things with this routine. Almost complete!

$
0
0

Hello everyone, I have some small issues with this .lsp that is one of about twenty-seven that we've created for company use. The issue is duplicated for each section, and it seems to be purely cosmetic but I have been unsuccessful in correcting it. When loading this routine and selecting a slide from the DCL, there is a command being shown that is part of the lisp routine that I do not want displayed and have not been able to "hide", despite the sysvars being set as they are in the routine which i will attach to this post.

Specifically, it is displaying

"snap 0.0625" without the quotes because there is a line in the lisp file that reads (command "snap" 0.0625).

I have tried to use (setvar "snap" 0.0625) and I get a rejected setting message so for the moment have it set using command.

 

If anyone would be able to describe a better way to set some of the system variables within my routine I would be greatly appreciative. That and a way to hide the extranneous information from being displayed so that the users will only see the pertinent information regarding what they're doing with the program in their drawing. It does not need to display anything about sysvars or anything else behind the scenes, for that matter. This is a small issue I've been having here and there and that's why I've finally just decided to put it on this forums, because I have a secondary request for any would-be takers that are reading this. In a word, suggestions.

Without a complete overhaul into full VLISP, meaning, I am aware that VLISP would be a quicker way to construct the same program but I am not that advanced. Trying to stick with LISP for the majority of this routine and the other 26 but as you will see there is some VLISP included, credit goes to HMSilva there. He's been a great help and a good friend in my first steps on this coding journey, but I don't want to ask him the rudimentary things such as what I've requested here in this thread. That said, I am open to suggestions and would dearly love to learn better ways to accomplish what this and the others like it can do, because I understand each and every line of code within this routine I feel I'd be able to absorb what suggestions may be offered as well.

Thanks in advance, and I'll attach the necessary documents below. I will not give each slide required because that would exceede how many attachments are possible, but I will give a few so that the prog may be ran in full. It lets me attach the block only, but you can make a slide of this block by typing "mslide" at the command prompt when zoom+extents on said block drawing.

 

Cheers!


Viewing all articles
Browse latest Browse all 14319

Trending Articles