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

injecting message into message log

injecting message into message log

Hello,

 

does anyone know if it's possible to inject a message into the message log? Let me explain the problem I'm trying to solve and maybe someone can suggest a better solution. We have a start tool which sends the users the right configurations upon startup. And with that the configurations they get are based on groups. So what we would like to display somewhere inside Creo is which group the users has started with. 

 

thanks,

Bruce

5 REPLIES 5

Re: injecting message into message log

if I understand it properly, you need Creo to :

1- get the information of group (outside Creo)

2- set the group name as a string

3- display it in the message log (below the graphics window) on start-up?

 

This looks like a toolkit project to me.

 

but one question: how do you define groups? do you mean different Creo command?

Re: injecting message into message log

yup you have it right. the groups are defined in the startup application. So based on the different business units, they want different configurations. So in the startup app we created different groups and based on the group the user selects, determines the configs he gets downloaded, like the config.pro for example. I was afraid toolkit was the only way to touch that message log area. thanks for the response. 

Re: injecting message into message log

Bruce,

Assuming your company has control of the startup application, modify the startup application to dump out a simple text file into %TEMP% with the startup information you wish to show, and create a mapkey & menu pick to show the text file.

The mapkey is simple:

mapkey show_grp @MAPKEY_NAMEShow startup group information;\

mapkey(continued) @MAPKEY_LABELShow Group;\

mapkey(continued) @SYSTEMstart "Show Group" notepad.exe %TEMP%\groupinfo.txt

 

Another simple method is to put a comment in the config.pro file specifying with which group the config.pro file is associated.  The user can open the config.pro file within Creo Parametric and see the comment.

Regards,

Dan N.

Re: injecting message into message log

Hi,

if you create mapkey mentioned by dnordin, you can run it during Creo startup automatically.

1.]

Create trail file calling the mapkey

2.]

Use following command to start Creo

CREO_LOADPOINT\...\Parametric\bin\parametric.exe  path_to_trail_file


Martin Hanák

Re: injecting message into message log

thanks guys, these are good ideas. Another option I thought of was being each group is getting a different config.pro, I could have different homepages, each one indicating on it which configuration group the user had selected.  

Announcements