Page 1 of 1

How to export file to *.igs , *.iges using VBNEt

Posted: Thu Apr 15, 2021 10:31 pm
by victory1991
I have a file *.dwg so I want export file to igs (iges) using vbnet
Please Help Me !!!

Re: How to export file to *.igs , *.iges using VBNEt

Posted: Sat Apr 17, 2021 12:31 am
by QuanNguyen
do you try to use the send-command method?

Re: How to export file to *.igs , *.iges using VBNEt

Posted: Tue May 04, 2021 7:42 pm
by victory1991
QuanNguyen wrote:
Sat Apr 17, 2021 12:31 am
do you try to use the send-command method?
I used the send comment method but failed because it shows the name input box
Can you help me !!!

Re: How to export file to *.igs , *.iges using VBNEt

Posted: Wed May 05, 2021 10:04 pm
by QuanNguyen
Hi,
Try to set the system variable "FILEDIA" =0 before send this command.

Re: How to export file to *.igs , *.iges using VBNEt

Posted: Thu May 06, 2021 1:10 am
by victory1991
QuanNguyen wrote:
Wed May 05, 2021 10:04 pm
Hi,
Try to set the system variable "FILEDIA" =0 before send this command.
I have tried but it's failed
this is my code
Thisdrawing.SendCommand("FILEDIA" & vbCr & "0" & vbCr)
Thisdrawing.SendCommand("igesout" & vbCr & PosOutput & NameDrawing & ".igs")
Do you have FB ?

Re: How to export file to *.igs , *.iges using VBNEt

Posted: Sat May 22, 2021 12:19 am
by QuanNguyen
Hi,

Try to follow this topic viewtopic.php?f=3&t=1956&sid=7669c7f9d3 ... ab437ed276

and call the SendCommand:

Code: Select all

        activeDwg.SendCommand("FILEDIA" & vbCr & "0" & vbCr)
        activeDwg.SendCommand("IGESEXPORT" & vbCr & "c:\temp\sample.igs" & vbCr & "aLL" & vbCr & vbCr)

Re: How to export file to *.igs , *.iges using VBNEt

Posted: Thu Jun 10, 2021 1:52 am
by victory1991
QuanNguyen wrote:
Sat May 22, 2021 12:19 am
Hi,

Try to follow this topic viewtopic.php?f=3&t=1956&sid=7669c7f9d3 ... ab437ed276

and call the SendCommand:

Code: Select all

        activeDwg.SendCommand("FILEDIA" & vbCr & "0" & vbCr)
        activeDwg.SendCommand("IGESEXPORT" & vbCr & "c:\temp\sample.igs" & vbCr & "aLL" & vbCr & vbCr)
I did it your way but it didn't work
can you try to output to igs or igse on your computer, can you help me