Пример #1
0
 private InvAssemblyComponentDefinitions(Inventor.AssemblyComponentDefinitions invAssemblyComponentDefinitions)
 {
     InternalAssemblyComponentDefinitions = invAssemblyComponentDefinitions;
     compDefList = new List <InvAssemblyComponentDefinition>();
     foreach (var compDef in InternalAssemblyComponentDefinitions)
     {
         compDefList.Add(InvAssemblyComponentDefinition.ByInvAssemblyComponentDefinition((Inventor.AssemblyComponentDefinition)compDef));
     }
 }
Пример #2
0
 public static InvAssemblyComponentDefinitions ByInvAssemblyComponentDefinitions(Inventor.AssemblyComponentDefinitions invAssemblyComponentDefinitions)
 {
     return(new InvAssemblyComponentDefinitions(invAssemblyComponentDefinitions));
 }