public FieldSaver(Inventor.Application currentApplication, ArrayList fieldDataList) { tempReader = new TempReader((AssemblyDocument)currentApplication.ActiveDocument, fieldDataList); tempWriter = new TempWriter(currentApplication, ((AssemblyDocument)currentApplication.ActiveDocument).Thumbnail, fieldDataList); jointResolver = new JointResolver(currentApplication, tempReader.getSTLDict()); this.currentApplication = currentApplication; }
public RobotSaver(Inventor.Application currentApplication, ArrayList jDataList) { foreach (JointData joint in jointDataList) { jointDataList.Add(joint); } tempReader = new TempReader((AssemblyDocument)currentApplication.ActiveDocument); tempWriter = new TempWriter(currentApplication, ((AssemblyDocument)currentApplication.ActiveDocument).Thumbnail); jointResolver = new JointResolver(currentApplication, tempReader.getSTLDict(), jointDataList); this.currentApplication = currentApplication; }