I am involved a GUI in a proE session.When i open a new ProE then the tool working fine.But at the same time if i open a new part File=>new=>Part then a new session open.But i can't able to access my tool here.I don't know what is the problem am facing.
I have to guess this is the problem because of lack of detail about how your access changes.
The display of buttons is modal. So when you first open Creo you are in an empty mode. When you activate the part editor you are in the Part editor mode. You might also open an assembly in Assembly editor mode. For each of these modes there is a set of window and button configurations, and you need to add the button to each mode separately.
Actually am using modeldescriptor in my sesaion to open a model.when i open proE the modaldescriptor works perfect.but when i open new part in same proE session the modeldeacriptor not load the modal.this is the problem am facing
session = pfcGlobal.GetProESession();
md = pfcModel.ModelDescriptor_CreateFromFileName(sdf);
RetrieveModelOptions rmo = pfcSession.RetrieveModelOptions_Create();
Model modele = session.RetrieveModelWithOpts(md, rmo);
this is the code am using to get the model and load in session.