Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

hx
Advocate
351 Vistas, 1 Respuesta

Import model using exchange at the API

I write an UDF to import and dgk file.

 

I use the code

 

Dim modelDoc As FMDocument = fc.Documents.AddFM(tagFMSetupType.eST_Milling, False)
If modelExtension.ToLower = ".x_t" Then
  modelDoc.SilentImport(project.ModelFilename)
Else
  modelDoc.ImportUsingExchange2(project.ModelFilename, True)
End If

 

Now the FeatureCAM imprt an model and pop-up dialogue box

 

Import.png

 

How can I use the api method to select the "Accept the imported data 'as is' and exit the wizard"