Feb 10
    2005

    catia add-in, toolbar, . . .

    Test Admin
    [Admin Group]
    Can you add a toolbar, with icons and programs to run with code?
    Even better yet, can you create an add-in?
    Jay Porter
    [Unknown Organization]
    Yes, Tools, Customize, Toolbars tab to create. Use the Commands tab to set icons and drag and drop macros to toolbar. Macros have there own category or use All Commands.

    Jay
    Test Admin
    [Admin Group]
    Sorry, I didn't mean add programs that run code.
    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.
    Anyone know?
    Test Admin
    [Admin Group]
    Hello,

    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 ?
    Test Admin
    [Admin Group]
    I have had exactly the same problem here. The method you have described, getting hold of modifications to the toolbar is the same as I have been using. This is not ideal as users can have their own settings that are then lost when performing a deltion of the user settings. I have also found that toolbars defined by myself can dissapear and again leads to the same problem as above.
    Test Admin
    [Admin Group]
    It looks like this may be something that we need to submit to Dassault.

    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.
    Test Admin
    [Admin Group]
    I have experience with CATIA V4 , it was very easy for the administrator to customize the main menu (add new command, modify the multiselection list ......)
    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.
    Test Admin
    [Admin Group]
    I worked at Boeing, and non-admins were allowed to create menus, commands, etc.
    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.
    Jim Strawn
    [Cessna Aircraft]
    You can distribute toolbars thru the Administrator Settings. I think they are under the FrameGeneral.CATSettings or FrameConfig.CATSettings. Of course, if the user has additionally customized your toolbars, they won't see any changes.
    Test Admin
    [Admin Group]
    Hello Jim,
    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
    Test Admin
    [Admin Group]
    Hi,

    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...

    Bonne chance
    Jim Strawn
    [Cessna Aircraft]
    We have found that, once the user's have the toolbar in question, you can change it's contents in the Reference Settings directory (i.e. in Admin Mode), and they will see the changes - even if they have customized their own toolbars. The only time they don't see it is if they have customized the toolbar that you have provided.

    All Times America/New_York

    Copyright 2013 COE. All Rights Reserved
    800-COE-CALL - 330 N. Wabash Ave, Suite 2000 - Chicago, IL 60611 USA
    All material, files, logos and trademarks within this site are properties of their respective organizations.
    Terms of Service - Privacy Policy - Contact