Even better yet, can you create an add-in?
I mean using code, can I add a toolbar, and to that toolbar can I add these macros/programs.
There is just a group of users that use these programs, and I have each group with it's own project. I would like to be able to make an add-in or a one time script or something that they can run to create each group's own personal toolbar with their respective programs in it.
I'm sure you can, I just don't know the object model for that area.
I have a similair needs,
a) I want to create (not by program but in interactive mode) a tool-bar .
b) then I want that all the user from a specific service can access to this tool-bar .
c) When I modify this tool-bar (add a new command) , I want that this modification is taken into account for all user
What I have done at the moment :
a) In Admin Mode , I have create MytoolBar in a specific directory of the CATReferenceSettingPath
b) when a "new catia user" login and start Catia for the first time , then MytoolBar is available in Catia
problem , if this is an "old catia user" (who has already start catia before creation of MytoolBar), then MytoolBar is not available. The only solution that I have found is , delete the "UserSettings" , restart CATIA , so MytoolBar is available . BUT I do not like this solution !!!!
c) same problem if I modify MytoolBar , I have to remove for all user the UserSettings to take into account the modification
=> Is there any better solution to create a tool-bar and give access to several user ?
To me at least, why incorporate the amazing ability to do all that we are allowed to do with code (VBA) and not include anyway to distribute it?
Or, at the very least let us modify the CATSettings files. Does Catia come with any software that allows you to manipulate the settings directly? I'll start a new thread for this to make sure it get's seen.
Now with CATIA V5 , every "end user" has the hability to do it , but the administrator do not have a simple way to customize the toolbar.
I guess we didn't lock people out though. It is very surprising though that you can't distribute something in V5.
One of my VERY FEW big complaints so far.
What do you mean "can distribute toolbars thru the Administrator Settings" ?
I have understand :
a) modify the ToolBar in Admin mode
-> the modification is in the file FrameGeneral.CATSettings and FrameConfig.CATSettings
b) to take this modification into account for all user , copy FrameGeneral.CATSettings and FrameConfig.CATSettings under the "UserSettings" directory of all user (or remove both files)
This is a solution but I think there are 2 problems
1rst : this will delete (lost) the user specific modification in his own ToolBar (I do not know at the moment if this is an important restriction ?)
2nd : you have to access for all user to the directory "UserSettings" , this is not easy if this directory is in the local disk of the PC
Usually CATIA is launch using a "CATMenu" an inhouse CATIA launcher, you can put a script in the CATMenu to clean (some/all) CATSettings...
Yes When you set the toolbar as an admin (REFCATSettings), users have to clean theirs... But cleaning CATSetting is something we are used to do (several times a week)
Ask your users what they need, create several ENVIRONMENT, use a CATMenu to chose the ENV (with the proper REFCATSettings, licences, DLNAMES...). This is part of the admin job...