コード例 #1
0
 private InvComponentDefinitions(Inventor.ComponentDefinitions invComponentDefinitions)
 {
     InternalComponentDefinitions = invComponentDefinitions;
     compDefList = new List <InvComponentDefinition>();
     foreach (var compDef in InternalComponentDefinitions)
     {
         compDefList.Add(InvComponentDefinition.ByInvComponentDefinition((Inventor.ComponentDefinition)compDef));
     }
 }
コード例 #2
0
 public static InvComponentDefinitions ByInvComponentDefinitions(Inventor.ComponentDefinitions invComponentDefinitions)
 {
     return(new InvComponentDefinitions(invComponentDefinitions));
 }