Anuncios

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

Import model using exchange at the API

hx
Advocate

Import model using exchange at the API

hx
Advocate
Advocate

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"

0 Me gusta
Responder
352 Vistas
1 Respuesta
Respuesta (1)

spencer.hardcastle
Autodesk
Autodesk

Hi @hx,

 

Thanks for posting in the FeatureCAM Forum.

 

As far as I know, you can't currently use "ImportUsingExchange2" in silent mode and there isn't an alternative method.

Have you managed to find/use a workaround for this?

 

I will report this as a new feature request for you and include your details in the request.


Spencer Hardcastle
Manager of Customer Advocacy - Autodesk Fusion
0 Me gusta