Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
I am using Creo Parametric Release 7.0 and Datecode7.0.11.0
I created a VB API application to load a CREO file, then export to NEU. This works well a produces a Neutral export of the file.
The problem is that the NEUTRAL export from the toolkit has no annotations.
If I do the NEUTRAL export interactively it does have annotations.
How can I make it so the toolkit export includes the annotations?
This is the call that I am using :
Dim instructions As IpfcNEUTRALFileExportInstructions = (New CCpfcNEUTRALFileExportInstructions).Create()
modelFullPath = targetPath & "\" & Path.GetFileNameWithoutExtension(MyModel.FileName) & ".neu"
MyModel.Export(modelFullPath, instructions)
These are the things I tried so far:
- instructions.Set_export_anno(True) (option not recognized)
- setting the following entries in config.pro
- intf3d_out_annotations yes (unsupported)
- export_profiles_neutral def_profile.dep_neu (no effect on tookit results)
- Pointing to "def_profile.dep_neu" from Options->Data Exchange->Export Profiles->Neutral (no effect on tookit results)
Can you show me a method to enable annotations that will be recognized by the tookit?
Here are the errors that I faced
no error messages, it just ignores the setting and produces an export without annotatoins.