Mahesh V Posted September 26 Share Posted September 26 Hello, When I am running a script file which contains, _rectangle 0,0.5 10,0 10,0.5 20,0 10,10.5 20,10 10,20.5 20,20 0.5,0 0,10 0.5,20 0,30 10.5,10 10,20 20.5,20 20,30 few rectangles are getting changed to lines. How can I resolve this? Thanks! Quote Link to comment Share on other sites More sharing options...
CyberAngel Posted September 26 Share Posted September 26 You're drawing a series of rectangles. Each one is a closed polyline. There are no lines involved. I don't know what you expected, so I can't answer your question. If you want groups of lines instead of rectangles, you can Explode the rectangles. Welcome to the forum. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted September 27 Share Posted September 27 (edited) For it to work need to end each rectang call, a couple of ways to do it as copy to command line. Also need to turn snaps off. osmode 0 _rectangle 0,0.5 10,0 10,0.5 20,0 10,10.5 20,10 10,20.5 20,20 0.5,0 0,10 0.5,20 0,30 10.5,10 10,20 20.5,20 20,30 There is a subtle difference here compared to 1st example a space is added onto end of each relevant line. This acts like a Enter osmode 0 _rectangle 0,0.5 10,0 10,0.5 20,0 10,10.5 20,10 10,20.5 20,20 0.5,0 0,10 0.5,20 0,30 10.5,10 10,20 20.5,20 20,30 Edited September 27 by BIGAL Quote Link to comment Share on other sites More sharing options...
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.