
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys!
We are working on our project in the university and we faced some problems during the development process.
We are creating an add-in application that can import standard details and assemblies from web-server into Fusion 360 using Import Manager. Here's the code: (we want to import one 3D-model as test version), but the file is not selected. What might be the selected path?
app = adsk.core.Application.get()
ui = app.userInterface
importManager = app.importManager
product = app.activeProduct
design = adsk.fusion.Design.cast(product)
rootComp = design.rootComponent
url = "http://195.133.144.86:4200//Half-coupling1.f3d"
archiveOptions = importManager.createFusionArchiveImportOptions(url)
importManager.importToTarget(archiveOptions)
Solved! Go to Solution.