Message 1 of 1
Problem with opening dxf as 3dmodel in Inventor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, as in written in title, I try to open dxf as 3d model in Inventor.
The code is like below:
Dim OpeningOptions As NameValueMap
Set OpeningOptions = ThisApplication.TransientObjects.CreateNameValueMap
OpeningOptions.Value("ImportAs") = "3DModel"
Set invDoc = ThisApplication.Documents.OpenWithOptions("C:\test.dxf", OpeningOptions)
I am getting error: Method 'OpenWithOptions' of object 'Documents' failed.
Is it correct way? Am I missing something?
Thanks