How to use Reset Compass in V5 Robotics !

Reset Compass Hotkey Macro :

During a recent training for a customer, I had a good question:  "Was it possible to have a shortcut in order to reset the compass in DELMIA V5 Robotics?"

Here an interesting solution if you are using the DELMIA Robotics placement tools in selection of fixture, station or a gun.

You can create a macros (Go under Tools/Macro) or type ALTF8 You will get the following panel.

 

Click Create and enter the name you want and Click OK in the dialog as below.

and then click Edit and Insert  the following line inside the text window

 ********************************************

Language="VBSCRIPT" 

 Sub CATMain()

 CATIA.Startcommand("Reset Compass") 

 End Sub

 ********************************************

Save the file and then you have the macro that will reset the compass.

You can then create a shortcut  by using Tools/Customize, You will get the following panel

Select the Commands tab, select Macros,  select Reset compas.catvbs

Click on Show Properties and Enter the shortcut OR select the Icon you want and If it's an Icon, you can then drag it inside any toolbar in V5.

Let us know, if this works for you !