motherlesno.blogg.se

Free autocad lisp
Free autocad lisp













free autocad lisp free autocad lisp

No responsibility will be taken for any direct or indirect consequences resulting from or associated with the use of these products. AfraLisp makes no representations regarding either the products or any information about the products. The command would take the distance between those two points, divide byround up, and remember that rounded number.The products referenced in this section are provided by AfraLisp and parties other than AfraLisp free of charge. I need this number to be remembered and then used. Does that make sense? The rest of the command works perfectly though Thanks so much for your time already! When it asks me to choose two points, I need that distance between the two points to be remembered, divided byand rounded up to the nearest whole number. However, the part of the command that I am wanting to bypass is the "Specify number of xline entities I would for the command to get the distance between the two points, divide that byround up to nearest whole number, and use that whole number for the "Specify nymber of xline entities. The command works well in that it correctly spaces the xlines with x and half x spacing. If there is a way to do the first calculation as part of the command, it would speed up the process a fair bit. The rest of the command is drawing the xlines at those locations. To work out the spacing normally, I would then divide the 10, by 3, and this would be the spacing between xlines, with half that value being on the ends to points P1 and P2. However, I can't have parts of a point, so I need to round up to 3. I divide the distance by this maximum spacing, and this gives me the EXACT number of points I will have eg distance of 10,mm divided by 4, gives 2. The value is the maximum spacing I am allowed to have between two points represented by the xlines. Hi Marko, thanks for the reply! Sorry, I think I butchered my posts with a few deletes and edits, not used to posting on forums.

free autocad lisp

This number will be the number of xlines required between the two points. To choose the number of spaces and lines required, I need to divide the P1,P2 distance by a value eg and round that value up to the nearest whole number. What I am trying to do is the following However, the distances from the 1st and last xlines to points P1 and P2 need to be HALF the distance between each of the xlines. I have attached a sketch to make it easier to understand. I am looking for help in accomplishing something way above my skill level.















Free autocad lisp