cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Change Family Member Instancename

bmortensen
2-Explorer

Change Family Member Instancename

Is there any way to change the instance name of family table member using Jlink?


This is easy in the GUI, but I cannot find a way with JLink.


I have tried to use the SetCell on the FamilyMember class. It just doesn't have a column for the instance name


I use the GetInstanceName of the ModelDescriptor to get the instance name. And I can actually set it on the ModelDesctiptor, but I cannot/don't know howto apply the Descripter to the Model.



\Bjarne


2 REPLIES 2

Take a look at pfcModel.Rename() .
Interactively you must also use Rename and not just editing the family table. This can bring you in deep trouble when working with any PDM solution.

Best Regards,
Bjarne Frandsen

Ah, the Rename did the trick.


For some reason i thought it only worked for files/generic models


thanks,


\Bjarne

Announcements


Top Tags