Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: pball

Hello,

 

I have same requirement. But i have other problem. I created DXf file with Inventor, but my supplier said their machine does not reconigze my file. We use different symbel to mark bend space.

AEAHHMZ001-1-001 is a smple from supplier.  1-004-004-1 is from Inventor. I am not sure if i can change the configuration to make my DXf same as supplier's. Now i can see that the layer and bending symbel are different.

 

Please kindly take a look attached files, and give suggetion.

 

 

Regards,

 

Jason

 

 

pball wrote:

The code for setting the file path is the second to last line in the main sub. I modified the line below to save the file in a subfolder named "DXF".

 

An example of how the code for the file name works.

original ipt file: c:\inventor\part1.ipt

 

full_path(oDoc.FullFileName) returns c:\inventor\

filename_noext(oDoc.FullFileName) returns part1

 

So adding those with other parts yields

dxf file: c:\inventor\DXF\part1-6.dxf

 

 

 

    'This line saves the dxf.
    oDataIO.WriteDataToFile sOut, full_path(oDoc.FullFileName) & "DXF\" & filename_noext(oDoc.FullFileName) & "-" & TotQty & ".dxf"

Hope that explains it well.