3DCADWorld Network | 3DCADTips | 3DCADTutorials | 3DCADForums | 3DCADSearch | 3DCADBooks | Design World






Get CAD tips and tutorials on your desktop when you register at 3DCADTips.com!

3DCADTips Weekly
Latest Issue
Archive

3DCADTips Forum Update
Latest Issue
Archive











Go Back   3DCADForums > CAD Communities > CATIA Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 7th, 2006, 09:52 AM
Adorjan
 
Posts: n/a
Default Creating a Menu/ToolBar on CATIA Screen [CAA]

I'm In CATIA Customization. Now i developed one customized tool for CATIA V5. but i don't know , how to create a link in CATIA Screen.
Can any one give a solution to create my own menu or toolbar on CATIA screen.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Link


  #2 (permalink)  
Old July 8th, 2006, 10:01 AM
AutoGladiator AutoGladiator is offline
Junior Member
 
Join Date: Jun 2006
Posts: 2
Default Re: Creating a Menu/ToolBar on CATIA Screen [CAA]

If you are talking about CAAV5 / C++ API, then refer to « 3D PLM
Architecture / User Interface » in the C++ API documentation.You will
find many use cases on that (large) subject.

What you probably want to know is how to run your own script macro
from a command in a toolbar.

You can do 90% of the job in the "Tools / Customize" Menu where you can
- Create new workbenches (in the « User Workbenches » Tab)
- Insert or create a toolbar in a workbench (in the « Toolbars » Tab)
- Insert a command in a toolbar (in the « Command » Tab)

You will easily find out how to manage the first 2 steps.
Now, to insert YOUR macro, go into the « Command » Tab, where you have
to choose the « Macro » category. The list of your available macros
should appear.
Select the one and drag and drop it in the Toolbar of your choice.

Note that a macro command has no Icon.
To choose an Icon, click on the « Show Properties » Button, then on
the « ... » Button to access the Icon Browser (where you will select
the icon of your choice)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old July 18th, 2006, 11:22 PM
AutoGladiator AutoGladiator is offline
Junior Member
 
Join Date: Jun 2006
Posts: 2
Default

If you want to use your self created Icon:
- You must create 2 Icons.
- A small one : a 16 x 16 bmp file
- A normal one : 24 x 24 bmp file
- Both of them must have the same filename !!!
- The filename must start with « I_ » i.e. I_MyIcon.bmp
- If the filename starts with « I_1 », then your icon will be at the top of the list in the Icon Browser (and that's cool).
- You have to store the small one in :
« \Program Files\Dassault
Systemes\B14\intel_a\resources\graphic\icons\small »
- And the « Normal » one in:
« \Program Files\Dassault
Systemes\B14\intel_a\resources\graphic\icons\norma l »
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 12:10 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0