Would you like to react to this message? Create an account in a few clicks or log in to continue.

Flattening 2D and 3D Object in Autocad

+2
3DZONE
render master
6 posters

Go down

Flattening 2D and 3D Object in Autocad Empty Flattening 2D and 3D Object in Autocad

Post by render master Sat Nov 24, 2012 12:23 pm

Flattening 2D and 3D Object in Autocad Flat1

Flattening 2D and 3D Object in Autocad Flat2

Flattening 2D and 3D Object in Autocad Flat3

Flattening 2D and 3D Object in Autocad Flat4

copy the whole text below and compiled it as your LISP

; Flatten a 2D and 3D drawing
; This command will set all elevations and points to zero, effectively flattening any 3D drawing.
;
(defun c:flat (/ total-nabor)
(vl-load-com)
(if
(setq total-nabor (ssget "x" '((410 . "model"))))
(progn
(setq total-nabor
(mapcar 'vlax-ename->vla-object
(mapcar 'cadr
(ssnamex total-nabor)

) ;_ end of mapcar
) ;_ end of mapcar
) ;_ end of setq
(foreach i '(1e99 -1e99)
(mapcar (function (lambda (x)
(vla-move x
(vlax-3d-point (list 0 0 0))
(vlax-3d-point (list 0 0 i))
) ;_ end of vla-move
) ;_ end of lambda
) ;_ end of function
total-nabor
) ;_ end of mapcar
) ;_ end of foreach
) ;_ end of progn
) ;_ end of if
(princ)
) ;_ end of defun


or download it here: FLAT.LSP


Flattening 2D and 3D Object in Autocad Flat5b

Flattening 2D and 3D Object in Autocad Flat6

Flattening 2D and 3D Object in Autocad Flat7
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by 3DZONE Sat Nov 24, 2012 2:51 pm

Huge Help Sir Render Master Flattening 2D and 3D Object in Autocad 808695
3DZONE
3DZONE
Cube Spinner
Cube Spinner

Number of posts : 3834
Age : 49
Location : Abu Dhabi U.A.E.
Registration date : 20/12/2008

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by aesonck Sat Nov 24, 2012 3:02 pm

thanks....and thanks! master rend.... Flattening 2D and 3D Object in Autocad 290602
aesonck
aesonck
CGP Expert
CGP Expert

Number of posts : 2448
Age : 44
Location : Philippines. La Trinidad-Visayas
Registration date : 13/07/2010

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by princedaguz13 Sat Nov 24, 2012 9:29 pm

aha. this is what im looking for! thanks rendermaster
princedaguz13
princedaguz13
CGP Apprentice
CGP Apprentice

Number of posts : 336
Age : 40
Location : philippines
Registration date : 30/03/2011

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by jen_tol84 Sat Nov 24, 2012 11:58 pm

salamat sir! sakto na kailangan ko Very Happy
jen_tol84
jen_tol84
CGP Apprentice
CGP Apprentice

Number of posts : 539
Age : 39
Location : baguio city, philippines
Registration date : 19/10/2010

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by render master Sun Nov 25, 2012 12:36 am

3DZONE wrote:Huge Help Sir Render Master Flattening 2D and 3D Object in Autocad 808695

aesonck wrote:thanks....and thanks! master rend.... Flattening 2D and 3D Object in Autocad 290602
princedaguz13 wrote:aha. this is what im looking for! thanks rendermaster

jen_tol84 wrote:salamat sir! sakto na kailangan ko Very Happy

youre all welcome
render master
render master
Game Master
Game Master

Number of posts : 3274
Age : 104
Location : riyadh, saudi arabia
Registration date : 27/09/2008

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by Cravez2000 Mon Nov 26, 2012 12:35 am

salamat po dito sir...abangan ko po ung 3rd part on how to install the express tools! Flattening 2D and 3D Object in Autocad 290602
Cravez2000
Cravez2000
CGP Newbie
CGP Newbie

Number of posts : 52
Age : 44
Location : gensan/ Riyadh, KSA
Registration date : 16/01/2012

Back to top Go down

Flattening 2D and 3D Object in Autocad Empty Re: Flattening 2D and 3D Object in Autocad

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum