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.

Model Tree is not displaying

ssnivas

New member
Hi,


I have created a new assembly using J-Link and it is displaying on Proe. But the ModelTree which shows the name of the assembly is not displaying.


Code:
String ModelName = "C:/PTC/ProEngineer/wf3_m140/templates/inlbs_asm_design.asm" ;
ModelDescriptor desc = pfcModel.ModelDescriptor_Create(ModelType.MDL_ASSEMBLY, ModelName, null);
MOdel model = session.RetrieveModel(desc);&n bsp;
Assemb ly assembly = (Assembly)model;
assembly.Display();


Please let me that what extra code i need to write to display the Model Tree.


thanks,


srinivas
 

Sponsor

Back
Top