really i need help

really i need help

abdulellah.alattab
Advocate Advocate
13,232 Views
70 Replies
Message 1 of 71

really i need help

abdulellah.alattab
Advocate
Advocate

Please i need lisp to do this task 

 

Old topic link

https://forums.autodesk.com/tUntitled-13-2.png⁸5/visual-lisp-autolisp-and-general/call-for-help-cranking-polyline/td-p/13362612

0 Likes
Replies (70)
Message 61 of 71

abdulellah.alattab
Advocate
Advocate

I wouldn't be lying if I told you that you reduced a 20-hour task to a one-hour task, that's what you did, Mr. Moshe.

0 Likes
Message 62 of 71

Moshe-A
Mentor
Mentor
Accepted solution

@abdulellah.alattab 

 

 


@abdulellah.alattab wrote:

I wouldn't be lying if I told you that you reduced a 20-hour task to a one-hour task, that's what you did, Mr. Moshe.


thank you but remember that this would not come to 'life' without your accurate instructions 😀

i really appreciate all your feedback.

 

My employees are not professional users, and there are a hundred tasks they think about other than drawing, and you can really say that we still think with a medieval mentality. We started learning AutoCAD 2000, and some of them still prefer to stay on it for fear of finding difficulty that will hinder them. They got used to certain commands in certain places. When I tell them something called annotation scale or system variable, I feel that fear that follows people who are in the dark, and I came to light them and name their worst fears. My friend, with this program, you have achieved a miracle for them. Up until now, they are shocked that they have a magic tool. Take as much time as you want, don’t worry.

 

dimstyles by the way are in AutoCAD way before R2000 (even under DOS Operating system)

Believe me i totally understand what you are going with your employee it's all in their heads and i think you have the full right to demand them to move to

dimstyles cause adding dimensions without dimstyles damaging files in the long run.

as for Reinforce \ BAR1, employees do not have to learn nothing new, all they have to know is to select the right dimstyle before they pick Draw Bar button

it is as easy as picking a layer or text style. do you want me to prepare some dimstyles for them? tell me the scales you are using it is it 1:50? other?

 

Here is my message to your Employees, for that sake of this project lisp program, move to dimstyles. do not fear,

at first maybe you will do some mistakes but as you gain experience, you will discover magic in dimensions 😀

 

i will publish the non segment dimensions + some dimstyles tonight.

 

Moshe

Message 63 of 71

Moshe-A
Mentor
Mentor
Accepted solution

@abdulellah.alattab 

 

Attached reinforce.zip contains reinforce.vlx a version with no segment dimensions.

reinforce.dwt + reinforce.dwg (identical templates files)

 

text style: Reinforce sets with romans.shx font file (you can change it to whatever you like)

dimension styles:

Reinforce-100  (dimscale 1.0) for 1:100

Reinforce-50    (dimscale 0.5) for 1:50

Reinforce-25     (dimscale 0.25) for 1:25

 

These 3 uses Reinforce text style

use ADCenter command to import them to current drawing from Reinforce.dwt or just insert Reinforce.dwg at 0,0 (doesn't matter) inside current drawing.

 

i created a new drawing base on Reinforce.dwt (units is set to 2 decimal digits for Linear/angular) and got perfect result on dialog box and on drawing, do the same and give me your result.

 

When you have such 3 dimstyles definitions loaded you can switch text height\scale just by selecting the right dimstyle. Really isn't it more simple then changing text height + text style each time you draw bar?

 

Moshe

 

 

 

Message 64 of 71

abdulellah.alattab
Advocate
Advocate

Thank you × ( 10^million ) , it seems that things have become somewhat easier, I promise to try with them ، I know it was a mistake in my instructions, but believe me, your thought on how to phrase it was much greater than I expected. 🧞‍

0 Likes
Message 65 of 71

Moshe-A
Mentor
Mentor

@abdulellah.alattab ,

 

The import dimstyles\textstyles  from Reinforce.dwt (or Reinforce.dwg) template might be headache for your employees so this weekend

i will create them hardcoded (inside the program) but tell me what are the working scales you are using? beside 1:50

 

Moshe

Message 66 of 71

abdulellah.alattab
Advocate
Advocate

Thank you sir , you hit the main priplem ,  i will test attached filles and i will atach sample file 

0 Likes
Message 67 of 71

abdulellah.alattab
Advocate
Advocate

I don’t want to argue with you, sir, because you are really right and your method is a professional method, but believe me, not everyone is committed to drawing and printing standards, and believe me, the method I described to you in the picture will be the best method. Believe me, we work randomly

and do not care about scales . It would be very generous of you if it ended this way.

0 Likes
Message 68 of 71

Moshe-A
Mentor
Mentor

@abdulellah.alattab 

 

Attached the last update. with this update there is not need to import dimstyles from template,

they are created automatically.

 

i also do not want to argue but i do want to convince you. from your last pic i understand you want all the labels to be "bottom center" justify with 0.1 height?

Are you a ware that in my version it is "middle center" justify with 0.09 height? if i give that a fix will it will be OK? 

you say you are not working with scales but there is no such thing in AutoCAD when it comes to texts\dimensions, setting text height to 0.1 (in Meter units) is exactly for 1:50 scale.

 

i have the feeling that your employees did not give this a real try but rejecting it on the spot. i voluntarily put in this 'project' hundred of hours (days and nights) to bring it to a perfect advanced program to make you satisfy

and i thank you for your all of gratitude. i believe what you are asking will lower this program automation beauty.

 

You offer to honor me? here is your opportunity take this week to give this a real try convince me why is my method is a total problematic to your office?

 

Moshe

0 Likes
Message 69 of 71

abdulellah.alattab
Advocate
Advocate

I appreciate every second you spent and I salute your cooperation and your spirit that can only be described as the spirit of cooperation and giving good. You are the type that if placed in a work team, it will be the main driver for the success of any work. I agree with you that your method is very, very, very wonderful and correct. All the matter, my friend Musa, is that the workers do not have any knowledge of the secrets and skills of AutoCAD, and they do not even speak English. All they received from learning AutoCAD is a Braille-like education to read more accurately. If a tool moves from its place, they will never know how to retrieve it. In any case, my friend, the goal is to reduce the number of clicks and adjustments to move the text and drop it on the drawn line. You can say that it is laziness and nothing more. All it is that they want to drop the text and adjust its location immediately after inserting the polyline. If you think that they understand what dimstyle means, you are wrong. They copy and paste styles from other files and tighten handles. One of them, I do not know, uses the commands to insert measurements. Copy, paste and pull handles, and in any case my friend we sometimes need different justification points, sometimes at the bottom and sometimes at the top... The text is not always placed above the line, we benefit from the text handle to erase the text, through the image that I attached to my last comment, do not rely on the entries shown only. What I meant is that the position of the justification point and the height of the text can be changed

0 Likes
Message 70 of 71

Moshe-A
Mentor
Mentor

Dear @abdulellah.alattab ,

 

Thank you very much for all that i respect every word you said also the methods of your office working although i do not agree. in my place there is old expression: "let's agree that we do not agree!" 

again i say, we here to share our thoughts not having agreement - ok?! 😀

 

Maybe i did not explained well the use of dimstyle by BAR1. to BAR1 dimstyle serve only as data holder for dimscale, text height and text style. instead of putting more code effort to create interface to get these data, i thought the use of dimstyle interface is much classic and easy.

 

As far as your Employees, i fully understand they are not very skilled in AutoCAD but all they are required here to do is to select a well prepared dimstyle - that's All l!!!

its the same as selecting a layer, color, ltype, i can't believe they do not know how to do that?! and the result on the bar is a label made of simple text object noting more  (it is not controlled like dimensions and have no annotation).

 

You did not tell me how your Employees did bars before you got my Reinforce\BAR1. i assume they do it manually so i have a  compromise suggestion for you:-

use BAR1 to draw the bar without the label and go manually to add the label or add the label and go to properties to change any text property needed including the justification.

 

Although i strive for perfection but this time there isn't (so i will have to live with it 😩

 

Moshe

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message 71 of 71

abdulellah.alattab
Advocate
Advocate

Thank you sir, I am exactly like you, I have become completely convinced that it meets my need, I do not have to please everyone, they have to improve their performance or remain the same, at least 80% will benefit completely, I appreciate that you have become very exhausted and it seems that I have become completely understanding of the method of use 😄, I realize how exhausted you have been, I wish you goodness and success

0 Likes