robinCris
2015-10-23, 09:34 AM
I will need to test a large amount of file if they build correctly.
I want to understand what I can or can't do by using lisps.
Every file have multiple layers.
each layer include polylines and lines only.
1. I need to check if all the polylines are close polyline. I guess this is easy because I know there is a property with this value. If an Open one is found, I need the lisp to close it.
2. I need all the polylines to be untiClockWise. How can a lisp check it?
3. If there are Non-Staight lines by mustake. (|x1-x2|<8 or |y1-y2|<8). select it but let me dicide if to stop and fix it and continue looking.
4. To check if there are two point close to each other in the same layer. (|x1-x2| < 5 and |y1-y2| <5). If yes. need the lisp to select it and let me correct it
5. This one is more tricky. To Check if the is a point next to or on a another line but I have the formula to check this also.
6. Need to update the thickness of the lines in every layer according to parameters.
Is there anything in here that can not be done in autolisp?
Is it too heavy for autolisp to check all the points against all the polyline lines?
What problems do you see it face?
Please advice.
Thank you
I want to understand what I can or can't do by using lisps.
Every file have multiple layers.
each layer include polylines and lines only.
1. I need to check if all the polylines are close polyline. I guess this is easy because I know there is a property with this value. If an Open one is found, I need the lisp to close it.
2. I need all the polylines to be untiClockWise. How can a lisp check it?
3. If there are Non-Staight lines by mustake. (|x1-x2|<8 or |y1-y2|<8). select it but let me dicide if to stop and fix it and continue looking.
4. To check if there are two point close to each other in the same layer. (|x1-x2| < 5 and |y1-y2| <5). If yes. need the lisp to select it and let me correct it
5. This one is more tricky. To Check if the is a point next to or on a another line but I have the formula to check this also.
6. Need to update the thickness of the lines in every layer according to parameters.
Is there anything in here that can not be done in autolisp?
Is it too heavy for autolisp to check all the points against all the polyline lines?
What problems do you see it face?
Please advice.
Thank you