1 Answers
A:
Yes, Nishan-it is possible to build an Inventor assembly file (.iam) offline, without launching the Inventor UI, using the ApprenticeServer API.
You can prepare a blank .iam template and use Apprentice to:
Here’s a simplified VB.NET snippet using Apprentice:
Dim apprenticeApp As New Inventor.ApprenticeServerComponent
Dim asmDoc As ApprenticeServerDocument = apprenticeApp.Open("C:\Templates\BlankAssembly.iam")
Dim partDoc As ApprenticeServerDocument = apprenticeApp.Open("C:\Parts\MyPart.ipt")
Dim asmCompDef As ApprenticeComponentDefinition = asmDoc.ComponentDefinition
' This part is tricky — Apprentice does not expose AddOccurrence directly
' You'd need Inventor API for precise placement and constraints
asmDoc.SaveAs("C:\Assemblies\BuiltOffline.iam", False)
Find the Best CAD Software
Explore all products with features, pricing, reviews and more
View All SoftwareHelp the community
Be the First to Answer these questions
Disclaimer
Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.
20,000+ Software Listed
Best
Price Guaranteed
Free Expert
Consultation
2M+
Happy Customers