todd.mackay
2004-08-25, 07:10 PM
I am working with mechanical drawings that need to have almost all the line work changed into polylines with a width of .003. These particular drawings are exploded 3D drawings in 2D (top view).
When I try to do an "mpedit" and select all, rather than telling me that objects are not polylines and do I want to convert them, I get, "582 object(s) were not parallel to the current UCS.Convert Lines and Arcs to polylines? <Yes>:." If there is a way to fix that, please tell me but I'm guessing that it's not easy. If you look at it from a right side view, you can tell that it's not on the same plan.
Now, I found that I could convert each line to a .003 PLINE. So I tried to make the long way a little faster and write a small lisp:
****************************************************************
(defun c:w003 ()
(setq lsource (entsel "Select a line:"))
(command "pedit" lsource "w" ".003" "")
(princ)
)
****************************************************************
You can tell that I'm a beginner!! The trouble that this is giving me is that it works every other time. I'll select a line and it doesn't work, then when I do a return command and go back into it, it works after I select it once more.
Also, I'm currently using Acad 14 and I don't know if that has to do with it but I know it doesn't have VLISP to help me out.
:???: Sorry so wordy,
Thanks - Todd
When I try to do an "mpedit" and select all, rather than telling me that objects are not polylines and do I want to convert them, I get, "582 object(s) were not parallel to the current UCS.Convert Lines and Arcs to polylines? <Yes>:." If there is a way to fix that, please tell me but I'm guessing that it's not easy. If you look at it from a right side view, you can tell that it's not on the same plan.
Now, I found that I could convert each line to a .003 PLINE. So I tried to make the long way a little faster and write a small lisp:
****************************************************************
(defun c:w003 ()
(setq lsource (entsel "Select a line:"))
(command "pedit" lsource "w" ".003" "")
(princ)
)
****************************************************************
You can tell that I'm a beginner!! The trouble that this is giving me is that it works every other time. I'll select a line and it doesn't work, then when I do a return command and go back into it, it works after I select it once more.
Also, I'm currently using Acad 14 and I don't know if that has to do with it but I know it doesn't have VLISP to help me out.
:???: Sorry so wordy,
Thanks - Todd