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

Jlink: in a drawing how to define the current model

Highlighted
Newbie

Jlink: in a drawing how to define the current model

Hello, I'm automating the change of the title block for a big number of drawings. In multimodel drawings the main assembly is not always the current model. So for having the correct parameters in the table corresponding to the title block, I have to define as current model the main assembly. The question is How to do it? There are the Methods:
pfcModel2D.Model2D.AddModel
pfcModel2D.Model2D.DeleteModel
pfcModel2D.Model2D.ReplaceModel
pfcModel2D.Model2D.AddSimplifiedRep
pfcModel2D.Model2D.DeleteSimplifiedRep

But I can not see the pfcModel2D.Model2D.DefineCurrentModel, or something like that.

Thanks in advance, best regards,
1 REPLY 1

RE: Jlink: in a drawing how to define the current model

I had to make a workaround for this. I stored the information needed after, then I load the new drawing format. Finally y had to fill each cell of the table with the correct values.