3d pdf in inventor 2017 error message

3d pdf in inventor 2017 error message

masounmardini
Contributor Contributor
3,277 Views
17 Replies
Message 1 of 18

3d pdf in inventor 2017 error message

masounmardini
Contributor
Contributor

Hi Everybody,

Lately i had a problem with exporting to 3d pdf in inventor 2017, i was able to export successfully at first trials but then, i tried to export a large assemblly with some parts as surfaces ( due to miss export STEP file) when i tried to export  i had a long message of error 

Error:  System.ArgumentException: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))
   at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   at Inventor.Face.get_Appearance()
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.GetPartMeshFromBody(SurfaceBody body, Double facetTolerance)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.BuildPartMeshGeometry(ICadDocument cadDocument, Int32 importActionId, PartComponentDefinition partDefn, String partName, Double facetTolerance, ICadPart part)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.FindOrCreatePart(ICadDocument cadDocument, Int32 importActionId, PartComponentDefinition partDefn, String partName, Double facetTolerance)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.TraversePart(ICadDocument cadDocument, Int32 importActionId, ComponentOccurrence partOcc, ICadAssembly parentAssy, Boolean isNewParentAssy, Double facetTolerance)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.TraverseAssembly(ICadDocument cadDocument, Int32 importActionId, ComponentOccurrence assyOcc, ICadAssembly parentAssy, Boolean isNewParentAssy, Double facetTolerance)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.TraverseAssembly(ICadDocument cadDocument, Int32 importActionId, ComponentOccurrence assyOcc, ICadAssembly parentAssy, Boolean isNewParentAssy, Double facetTolerance)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.BuildFromAssemblyDocument(AssemblyDocument assyDoc, ICadDocument cadDocument, Int32 importActionId)
   at Anark.Core.Component.Cad.Implementation.Formats.InventorAdvancedFileFormat.OnReadDocument(String inFileName, ICadDocument& cadDocument, Int32 importActionId, ICoreApplicationSettings importPreferences, ProgressTracker progressTracker)
   at Anark.Core.Component.Cad.Implementation.Formats.CadFileFormat.ReadDocument(String fileName, ICadDocument& cadDocument, Int32 importActionId, ProgressTracker progressTracker)
   at Anark.Core.Component.Cad.Implementation.CommandSets.ImportCmd.ImportInteropFile(String fileName, ICadDocument& cadDocument, IImportExportCmdArgs importCmdArgs, ProgressTracker progressTracker)
   at Anark.Core.Component.Cad.Implementation.CommandSets.ImportCmd.ImportCadFile(IImportExportCmdArgs importCmdArgs, ProgressTracker progressTracker)
   at Anark.Core.Component.Cad.Implementation.CommandSets.ImportCmd.ImportFile(IImportExportCmdArgs importCmdArgs, ProgressTracker progressTracker)
   at Anark.Core.Component.Cad.Implementation.CommandSets.ImportCmd.ExecuteCommand(IEnumerable`1 argsList, ProgressTracker progressTracker)
   at Anark.Core.Framework.Implementation.Documents.CoreScriptDocument.ExecuteScript(ProgressTracker progressTracker)
   at Anark.Core.Component.Cad.Implementation.Documents.Script.CadScriptDocument.ExecuteScript(ProgressTracker progressTracker)
   at Anark.Core.Server.Automation.CoreWrapper.Start(String progressPipe)

Then i deleted the defected part and saved the assembly but still getting this message even after delete, i tried to read the message to find a clue but i had no luck,

can somebody help me in pointing what i'm missing here

 

0 Likes
Accepted solutions (1)
3,278 Views
17 Replies
Replies (17)
Message 2 of 18

Mark.Lancaster
Consultant
Consultant

@masounmardini

 

There are some known issues about 3D PDF export in Inventor that Autodesk is working on.  There's a hot fix for Inventor 2017 but as far as I know this does not resolve the issue.   @mdavis22569, @JDMather or @mcgyvr can anyone confirm the hot fix for Inventor 2017 doesn't resolve the 3D PDF issues.

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

Message 3 of 18

mcgyvr
Consultant
Consultant

Hotfix 1 for 2017 does NOT address any 3d PDF export issues.. (nothing in the read me about it)

You will just have to wait a bit until they release a fix for the issues..

I'm not sure when that will be..



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
Message 4 of 18

mdavis22569
Mentor
Mentor
Accepted solution

Nope ...the hotfix doesn't fix this. 

 

 

However they are collecting data sets to figure out what is causing these issues.   I've had all different files cause this.

 

 

Some of the issues:

 

Old versions, that needed to be migrated ( also had to open them, save and close)

Downloaded parts from Supplier (Lueze)

Old parts that just needed to be rebuild

Had a surface extrusion in it

 

and a few other reasons I can't remember at the moment.

 

I would recommend going thru it (if it's an assembly) and figuring out what part is causing it, and go from there ... 

NOTE:

I'd also seen bad templates cause errors, try a different template as well to see if that helps


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Message 5 of 18

Anonymous
Not applicable

I have been trying to convert a rather large assembly into a 3d pdf and was receiving similar errors.  I finally got some time to drill down through the sub-assemblies to try and isolate which file was causing the issue.  I discovered one sub-assembly that had a level of detail (we don't use level of detail and this is an older model).  I deleted the level of detail and was able to generate the 3d pdf.  Just FYI.  

Message 6 of 18

mdavis22569
Mentor
Mentor

maybe Autodesk  will see this ..

 

 

@ChrisMitchell01  who is it they can send data sets in for this ?

 

 


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

0 Likes
Message 7 of 18

ChrisMitchell01
Community Manager
Community Manager

Please send it to jeff.thompson@autodesk.com @Anonymous

 

Thanks

Chris



Chris Mitchell
PDMS Customer Engagment Team
Autodesk, Inc.

Message 8 of 18

WHolzwarth
Mentor
Mentor

Hmm. I'm late, but perhaps I should tell about it.

I'm here with an English download of 2017. Creating 3D PDFs with English Language pack works ok.

But each time I'm loading a first file with German LP instead, I'm getting the attached message, and no 3D PDF Export option appears in the menu.

This message locks Screenshot creation besides, so I had to make a photo. After clicking Ok, Screenshots are possible again.

I couldn't see other issues with that combination by now.

 

Walter

 

3DPdf error.jpg

Walter Holzwarth

EESignature

0 Likes
Message 9 of 18

mdavis22569
Mentor
Mentor

HMMM ..

I have both English and German language packs on mine and haven't seen that yet.

 

WH ...this before the release of R3 and templates I believe


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

Message 10 of 18

WHolzwarth
Mentor
Mentor

I don't think so, Mike

2017 Build 233 is installed. I'm not aware of a newer version. Templates seem good in English environment, but ..

 

Perhaps a localization issue with influence of German Windows 7 and decimal point setting.

Walter Holzwarth

EESignature

0 Likes
Message 11 of 18

johnsonshiue
Community Manager
Community Manager

Hi Walter,

 

This seems to be an install related issue. May I confirm with you the install sequence?

 

1) Inventor 2017 RTM + German LP.

2) Install R3 or Install R2 + R3.

 

Did you install any release candidate or Rx Beta? If yes, you may want to uninstall these updates and get to back RTM + German LP. Then reinstall R3 or R2+R3.

I will double-check on my end this week and report back.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 12 of 18

WHolzwarth
Mentor
Mentor

Thanks Johnson,

some Betas are involved:

- Inventor2017_3_RC_231.exe (623797 KB)

- Inventor2017_3_RC_233.exe (623761 KB)

- Inventor2017_R3.exe (623761 KB)

 

Right now, I'll live with the issue, because it's not existent in the English version.

Best way seems waiting for your checking.

 

Cheers

Walter

Walter Holzwarth

EESignature

Message 13 of 18

johnsonshiue
Community Manager
Community Manager

Hi Walter,

 

Yes, I will check it and get back to you. In the meantime, I suggest you uninstall R3/R3 RC and then reinstall the official R3. Please let me know if it works.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 14 of 18

WHolzwarth
Mentor
Mentor

Good morning Johnson,

I just un-installed R3 and re-installed the latest release, but no change.

 

It's a minor issue.

Walter Holzwarth

EESignature

0 Likes
Message 15 of 18

Anonymous
Not applicable

 I had this problem on 5 CAD stations and all the while my station was exporting 3D PDF documents fine with Inventor 2017 R3 - so its probably not that.

 

I believe this error is caused by one of the following 3 things. @Anonymous (not sure exactly which because I'm contracting and cant stop to fix all their IT issues)

 

1) Install Updated Java, I think it needs to match the version used to generate the template, so If you are using the great template @mdavis22569 has shared here try updating to JRE version 8 (the exact version might be JRE 8 update 121 which you can find in this link to new page).

Properties/metadata of parts in the assemblies are exported very differently with older versions of java; 

For example- two machines exporting the same model could produce "Sheet Metal Flattened Width" or "shetmetalflattened width" based on Java version.

 

2) One of your parts may be in a rolled-back state (EOP marker is not at the bottom of the model tree in a part).

 

3) Get the "mesh enabler" add-in for inventor instructions are here , depending on the file types you are working on this may not be required but its a tiny download and good to have in your toolbox so I'd recommend you get it regardless.

 

After doing the above steps and bringing inventor to at least version "2017 R3" all stations worked fine.

 

While I'm here, If anyone has info or knows more about Anark Core than what is given in the document "6.Anark Core Static PDF Template Reference....pdf" Please contact me by PM or reply here!

 

 

 

0 Likes
Message 16 of 18

johnsonshiue
Community Manager
Community Manager

Hi Guido,

 

The behavior and diagnosis you described sounds very interesting. I will need to investigate it further. Have you install 2017 R4? It should be much better than R3 in terms of 3D PDF export.

Regarding the Anark static template reference, do you mind elaborating what you are after? I can ask the project team and the Anark team to look into the issue. Please feel free to contact me directly (johnson.shiue@autodesk.com).

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 17 of 18

Anonymous
Not applicable

Thank you Johnson!

I have emailed you directly.

0 Likes
Message 18 of 18

Anonymous
Not applicable

😕 not sure how to edit post so replying to my own post.

 

Edited:to correct mistakes I made late at night.

 

 I had this problem on 5 CAD stations and all the while my station was exporting 3D PDF documents fine with Inventor 2017 R3.

 

I believe this error is caused by one of the following 4 things. @jeffthompson (not sure exactly which because I'm contracting and cant stop to fix all their IT issues)

 

1) One of your parts may be in a rolled-back state (EOP marker is not at the bottom of the model tree in a part).

 

2) Update your Inventor to at least 2017 R3 or preferably R4 - Properties/metadata of parts in the assemblies are exported very differently with older versions of Inventor;

For example- two machines exporting the same model could produce "Sheet Metal Flattened Width" or "shetmetalflattened width" based on Inventor version.

 

3) Install updated Java- I think it needs to match the version used to generate the template, so If you are using the great template @mdavis22569 has shared here try updating to JRE version 8 update 131 which worked well for me. You can find it in this link to new page.

Remove old versions when it prompts you, write them down if you are worried some other program wont work.

 

 

4) Get the "mesh enabler" add-in for inventor instructions are here , depending on the file types you are working on this may not be required but its a tiny download and good to have in your toolbox so I'd recommend you get it regardless.

 

After doing the above steps all stations worked fine.

 

While I'm here, If anyone has info or knows more about Anark Core than what is given in the document "6.Anark Core Static PDF Template Reference....pdf" Please contact me by PM or reply here!

0 Likes