I have made an asset.
I made some changes and want to publish the part again.
Now i get an error that it can't find the default dwg, see attachment.
How can i link that dwg.
Hi There,
Please give a try if the following dwg templates are in Inventor.
C:\Users\Public\Documents\Autodesk\Inventor 2013\Templates\Metric\ANSI (mm).dwg
C:\Users\Public\Documents\Autodesk\Inventor 2013\Templates\English\ANSI (in).dwg
Thanks,
-Xuesong
Hi Xuesong
See the attachment.
But what if the file location is changed, do i need those templates there?
Hello Jos,
what Inventor version are you using? English Inventor or the localization version?
Can you help run the VBA in theInventor to help check whether template is there? Please post the result.
Sub TemplatePath()
Dim msg As String
msg = "English template:" + ThisApplication.FileManager.GetTemplateFile(kDrawingDocumentObject, kEnglishSystemOfMeasure, kANSI_DraftingStandard)
msg = msg + " Metric template:" + ThisApplication.FileManager.GetTemplateFile(kDrawingDocumentObject, kMetricSystemOfMeasure, kANSI_DraftingStandard)
MsgBox msg
End Sub
Thanks,
-Xuesong
I use inventor 2013 english wich is installed with FDS 2013.
See the attachment with the vba code made in Inventor vba
I placed the code in the vba editor within Inventor and click on Run Sub and then get the msg box.
Hi Jos -
Here's what we think is happening:
1) You have overridden the templates path in your active project.
2) The Factory publishing code is looking for the "ANSI" template in the "Metric" folder of the templates directory. In your case, you have neither.
I think you can fix this by adding a Metric (or English) directory into your templates directory, and making sure that that directory contains both an IDW and DWG corresponding to the ansi standard.
So, in English, you'd add:
ansi (in).idw and ansi (in).dwg
And in Metric, you'd add:
ansi (mm).idw and ansi (mm).dwg
You should only need the directory corresponding to the measurement system you installed with.
Please let us know how this works.
Jeff
I reset the location to C:\Users\Public\Documents\Autodesk\Inventor 2013\Templates and now it works.
But actually that is not the location i want because its not on the server.
I think i have to change the template default to the folder on the server?
Hello Jos,
You can change to the template folder which includes the template file as Jeff said, which folder are shared at the server. The setting should be happened in Inventor Project setting.
Thanks,
-Xuesong
Thanks all.
Iam not used to work from a server, so this is new for me.
I going to use the settings and let you know if it works.