Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

Export instances of a family table with jlink


New member

I'm trying to export in .PRT all instances of a family table with jlink
Algem can help me implement this code
I am using the code:
Originally obtained in:

proeModelDescriptor = pfcModel.ModelDescriptor_Create(ModelType.MDL_PART, null, modellName);
FamilyMember familyMember = (Solid) proeModel;
FamilyTableRows familyTableRows = familyMember.ListRows();
for (int ii = 0; ii < familyTableRows.getarraysize(); ii++) {
FamilyTableRow familyTableRow = familyTableRows.get(ii);
String instanceName = familyTableRow.GetInstanceName();
System.out.println("instanceName = " + instanceName);


Articles From 3DCAD World