Jump to content

Recommended Posts

Posted

Newb on CADtutor here so bear with me.

 

I currently make technical illustrations using AutoCAD. When numbering the parts catalog illustrations I number each item the same "XX" then once I have assembled the parts list I go about numbering each item. I'd like a routine that after I change the text to a number other than XX, the text will change color and layer so that it will confirm the number is changed and done with. The layer I change it to would be turned off so that it would disappear during the process. I do this hundreds of times and would like it to be much faster. Once I find someone who can accomplish this then there are a number of other routines that may prove beneficial in a similar format. I basically need a "Numbering Mode" I can turn on and off.

 

Thanks in advance.

Posted

Hi,

 

Welcome to CADTutor .

 

I have just finished from writing this lisp so try it and let me know .

 

Compiled lisp with vlx format in the attached folder .

Num.rar

Posted
Isn't it supposed to be in .lsp format?

It is lisp file but it is complied to avoid access to my private codes .

Posted

Looks and works great. Is there a way to make it so that there is only the menu 1 time to set the layer and if it is off or not, then run through through all number changes and as i press enter they disappear. Also, can you add a setting to change the text color. So the process would be enter "num" command, set settings for layer, color, layer on/off, then click on each number to edit it and after I hit enter to confirm the change, it will then change layer and color as I change each one. Maybe a continuous option vs. a 1 time only option on the window?

Posted

I am confused with all these requests .

Can you explain in more details ?

Posted

I want to be able to type in "num" and have settings for value, layer and layer mode like you have it but add in options for text color and if the command is continuous or 1 time only. If it is continuous then I can click on the text, change it and then hit enter. After I hit enter, the text will change and move to new layer but I will stay in the "num" command so that I can move to the next text to be changed using those same settings for layer, color and layer mode. If the command is 1 time only then I will change the text and hit enter and the command will end. Hope that helps.

Posted

But the color option is already added to the dialog , so what text color you are asking for ?

Posted

You're right, my apologies. So can the other be done?

Posted

Okay , let me explain it for you as a matter of steps ( process )

First you want to invoke the command "num" then you would set the dialog options then after you hit Okay , you would like to keep on selecting texts to change their values as required one by one .

Am I on the right way ?

Posted

Yes, then when I am done just end the command.

Posted

All right , now it is almost midnight here and tomorrow morning I will modify the program at the office and would upload it for you to use .

Posted

Agreed. I forget time difference. Much appreciated.

Posted

Perfect! Works easily and now I have a numbering mode of sorts. Thanks for your help and patience.

Posted
Perfect! Works easily and now I have a numbering mode of sorts. Thanks for your help and patience.

 

Excellent , you are most welcome .

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...