How to avoid change of rectangles to lines?

vdrudramahesh
Explorer
Explorer

How to avoid change of rectangles to lines?

vdrudramahesh
Explorer
Explorer

Hello, 

When I am running a script file which contains, (also attached .txt)

_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, as shown in the figure.

Screenshot 2023-09-26 052815.png

How can I resolve this?

Thanks!

0 Likes
Reply
Accepted solutions (1)
224 Views
2 Replies
Replies (2)

cadffm
Consultant
Consultant
Accepted solution

You forgot to handle the running object snaps.

 

Add

OSNAPCOORD 1

to your script (it is a system setting, but when incl. in your script, you can't forget to turn osnaps off or this setting to 1

Sebastian

vdrudramahesh
Explorer
Explorer
Thank you very much, Sebastian! Thanks a lot.
0 Likes