Hi @Engineer_Yasser,
I agree with @ronjonp, i'v tried many option to choose the true "right" side from to block (which I also don't know where it is), but, after all I made something (which "I hope") that will help you for this situation (or even help to someone to improve this code or even made a new one).
Try the following:
...
Well that's pretty easy to do. 'Right' is not orientation but one or the other. The code below will select the side with the smallest cumulative length ( because I'm a dork ).
Enjoy
(defun c:foo (/ a b c fz bks p s x)
;; RJP » 2025-01-08
(cond ((and (setq s (ssget "_X" '((0 . "INSERT") (2 . "blll"))))
(setq bks (mapcar 'cadr (ssnamex s)))
(setq s (ssget "_X" '((0 . "LWPOLYLINE") (8 . "Poly"))))
(setq s...
Country by Country - Mainly FREE Events.
http://www.autodesk.co.uk/adsk/servlet/event/search?siteID=452932&id=6664037
UK Based FREE Events
http://www.imass-ids.co.uk/news/EventsCalendar.php
See you at the Glasgow IV 2008 launch in June.
Nick
Hi Matthew
If you have a 2D plan of the site then
1- make sure all areas are closed plines and not lines - Once imported in 3dsMax you can extrude the closed shapes into 3D form and build your model
2- make sure you set the scale correct BEFORE importing your drawing into Max
3- In AutoCAD move your drawing to 0,0,0 and delete what is not needed - remove lines/objects far away...
You can also enable 'Snaps' and set your Snap option to 'Grid Points'. Then set your 'Grid Dimensions' to whatever you need for your project. Make sure the Grid is displayed in your viewport and now you can draw straight lines which snap to the points on your grid.