Jonathan Handojo Posted July 22, 2020 Posted July 22, 2020 Hey guys, It seems like a simple question, but somehow I can't get cmdecho to completely disappear upon using (command "_REVERSE" <curve> ""). Is there a way to do this? Or put it simply, if there's another way to reverse curves (except arcs [because you can't reverse those]) without echoing anything down the command line, I'll take that too. [ If you're curious, I've just created a command that: Selects a group of curves excluding arcs (similar to that of the FlowSelect command I built), Clicks on one of those curves that governs the flow direction to follow, and ultimately; Fix the flow direction of the entire system ] It's always a good practice to keep your command lines clean, so... Thanks, Jonathan Handojo Quote
dlanorh Posted July 29, 2020 Posted July 29, 2020 What are you trying to reverse? IIRC Arcs, Circles and Ellipses are always counterclockwise so can't be reversed Lines can be reversed by swapping the start and endpoints. Lines and Polylines can be reversed using "PEDIT", Lines would have to be converted to polylines so "PEDITACCEPT" would need to be correctly set and the line then exploded. You can also reverse the coordinate list but you would also need to reverse the list of bulges and change their sign if not 0.0 Splines can be reversed using "SPLINEDIT" You can capture the return (T or nil) in a variable (setq rtn (vl-cmdf "PEDIT" ...)) if you need to know it is successful or not 1 Quote
BIGAL Posted August 1, 2020 Posted August 1, 2020 Just a side note Autocad "Reverse" or "PE Reverse" Bricscad no Reverse must use "PE Reverse" Quote
Recommended Posts
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.