cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Cannot enable annotation support for NEU export with VB API

MV_8740907
7-Bedrock

Cannot enable annotation support for NEU export with VB API

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.

0 REPLIES 0
Announcements
NEW Creo+ Topics: PTC Control Center and Creo+ Portal


Top Tags