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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Change Family Member Instancename

bmortensen
2-Guest

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
bfrandsen
6-Contributor
(To:bmortensen)

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

Top Tags