private InvComponentDefinitions(Inventor.ComponentDefinitions invComponentDefinitions) { InternalComponentDefinitions = invComponentDefinitions; compDefList = new List <InvComponentDefinition>(); foreach (var compDef in InternalComponentDefinitions) { compDefList.Add(InvComponentDefinition.ByInvComponentDefinition((Inventor.ComponentDefinition)compDef)); } }
public static InvComponentDefinitions ByInvComponentDefinitions(Inventor.ComponentDefinitions invComponentDefinitions) { return(new InvComponentDefinitions(invComponentDefinitions)); }