Convert 2D to 3D using command line on script

Convert 2D to 3D using command line on script

Anonymous
Not applicable
1,853 Views
1 Reply
Message 1 of 2

Convert 2D to 3D using command line on script

Anonymous
Not applicable

Hi

 

I'm looking the way to project from a 3D model a 2D representation on the floor (as you can see on the image I attached) I'm using Visual Basic on Autocad 

 

The question is:

Does anyone know how to use how to use FLATSHOT on command line in order to avoid the dialog that appears and put the data need it directly on the command line to use it on a script?

for example:

      ThisDrawing.SetVariable "FILEDIA", 0

      ThisDrawing.SendCommand "FLATSHOT" & vbCr & "All" & vbCr & vbCr & "Y" & vbCr

something like that

 

  or

 

Does anyone know another way to do it?

 

Thanks in advance

0 Likes
Accepted solutions (1)
1,854 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Solution:

ThisDrawing.SendCommand "FLATSHOT" & vbCr & "0,0" & vbCr & vbCr & vbCr & vbCr & vbCr 'Take the snapshot for flat view

0 Likes