3D connexion Configs

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
Shashank Mehrotra
Posts: 5
Joined: Mon Jan 16, 2012 3:45 am

3D connexion Configs

Post by Shashank Mehrotra »

Hi,

I am using SpacePilot with ProE WF5 in Win7 Machine.
I would like to know where does 3D connexion saves its configs (button configuration)?
I have seen in the forum, some configuration is stored in a .scg file in "%AppData%\3Dconnexion\3DxWare\profile".

But i dont know what configuration is stored in these files.. and how can i upload them.

Due to some reason, after a restart of ProE i cannot use my set button combinations, which were functional before the restart.

Now i cannot find these button combinations anywhere to reset them.
Are they stored in my personal config.pro file or in ProE config.pro or in one of these .scg file.

How can i get back my 3D connexion configuration back?

Thanks,
Shashank.
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Post by Fred »

Hello Shashank Mehrotra –

The buttons need to be mapped in the 3DxProENGINEER Button Mapping Editor inside Pro/E. This editor is designed to have priority over the more basic editor in the 3Dconnexion Properties panel.The editor inside Pro/E is titled 3Dconnexion Button Editor. For screenshot see the PTC ProENGINEER section of the manual.
[Start,Programs, 3Dconnexion, Documentation- Manuals - English Manual - Supported Applications-PTC ProENGINEER-CustomizeButtons]

The 3Dconnexion software provides separate configurations for parts, assemblies and drawings - buttons need to be mapped for each configuration.When you switch between the different types of documents the plug-in will switch configurations automatically.If you map buttons while you are working in an assembly ,for instance,then switch to a parts document you will not find the mapped buttons from the assembly configuration.As you noted,you find the defaults.Once you map commands in that configuration, they will be saved to your profile.

There are 2 ways to map commands not listed in the 3DxProENGINEER Button Mapping Editor- mapkeys and macros. The 3DxProEngineer Button Mapping Editor only uses local mapkeys - not shared or networks mapkeys.

For the 3DxProEngineer Button Mapping Editor to recognize your mapkeys, they need to be located in the config.pro file in the Pro/E startup directory . Normally this is "C:\Documents and Settings\%USERNAME%\My Documents". You can check which path this is by looking at the properties of the Pro/E short cut for the ‘Start In’ field.
These are your local mapkeys which are specific to your login ; shared mapkeys from ….\text\config.pro don't appear in the Mapping Editor.

To see your saved mapkeys in the 3dx Button Mapping Editor, open the Mapkeys window in Pro/E and click the Save button at the bottom. When you click Save in the Mapkeys window , the default should be to save the local config.pro document in "C:\Documents and Settings\%USERNAME%\My Documents". Once you have saved your Mapkeys in this location, when you re-open Pro/E the Mapkeys category in the 3DxProENGINEER Button Mapping Editor and the should display your recorded mapkey names.

The second method is to map a shortcut key combination in the Custom Functions Editor. When you have or create a shortcut key combination that works inside Pro/E , you can enter that key combination in the Custom Functions editor to add it to the drop-down list of commands that can be mapped to buttons.The next time you open Pro/E the new command will be available in the 3DxWare category .
The Custom Function editor is shown in the manual [Start, Programs,3Dconnexion,Documentation - Manuals - English Manual - 3DConnexion Properties - Button Configuration - Custom Function]

Thank You,

Fred
Shashank Mehrotra
Posts: 5
Joined: Mon Jan 16, 2012 3:45 am

Post by Shashank Mehrotra »

Hello Fred,

Thanks for your response.
I did check my local config.pro but could not find any entry related to 3D connexion.
Moreover i did make same new shortcut key combinations using Button Mapping Editor but that did not make any changes in the config.pro file.

Where else can i look for them?

And what kind of configuration is stored in .scg file?

Regards,
Shashank.
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Post by Fred »

They wont show up in the config.pro.
The .scg file only saves button mappings.

Make sure your able to see hidden files and folders.
Open C: drive click on Organize
Select
Folder and search options
View
Hidden files and folders
Select show hidden files, folders and drives
select apply then save


The 3Dconnexion button mappings are saved as .scg files. These are text format files where device settings and button mappings for most applications are stored. A few applications also store button mapping information in the registry.
Configurations for your 3Dconnexion device are located in these two places. Location 1 is the filesystem location for the various operating systems and Location 2 is the Windows registry location.


1.WinXp
C: --> Documents and Settings --> [Username] --> Application Data --> 3Dconnexion --> 3DxWare --> profiles

Vista :
C: --> Users --> [Username] --> AppData --> 3Dconnexion --> 3DxWare --> profiles

Windows 7 :

C: --> Users --> [Username] --> AppData -->Roaming---> 3Dconnexion --> 3DxWare --> profiles

2: HKEY_CURRENT_USER --> Software --> 3Dconnexion --> ...
Shashank Mehrotra
Posts: 5
Joined: Mon Jan 16, 2012 3:45 am

Post by Shashank Mehrotra »

Fred,

I could already find the .scg files.. in the "%AppData%\3Dconnexion\3DxWare\profile".

But din you say that the 3DxProEngineer Button Mapping Editor only uses local mapkeys which are specific to my login.

"For the 3DxProEngineer Button Mapping Editor to recognize your mapkeys, they need to be located in the config.pro file in the Pro/E startup directory . Normally this is "C:\Documents and Settings\%USERNAME%\My Documents". You can check which path this is by looking at the properties of the Pro/E short cut for the ‘Start In’ field."

In my case this config.pro is not located in "C:\Documents and Settings\%USERNAME%\My Documents" but on a network drive.

But i did not find any map key entries related to 3DConnexion in that config.pro.
For what (keywords) shall i be looking?
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Post by Fred »

Try modifying the Protk.dat file

Since your using a server setup. This could be why the buttons are not working.
Shashank Mehrotra
Posts: 5
Joined: Mon Jan 16, 2012 3:45 am

Post by Shashank Mehrotra »

In my case the Protk.dat file contains the path to pro dll file...

name 3DxProENGINEER
startup dll
exec_file C:\Programme\3Dconnexion\3Dconnexion Plug-In for ProENGINEER\wf5\x86e_win64\obj\3dxproe.dll
text_dir $TEMP\3DxProENGINEER
end


What shall i modify it to?
Barbara
Posts: 534
Joined: Fri May 14, 2010 11:11 am

Post by Barbara »

Hello Shashank Mehrotra -

With a network installation the 3dxproe.dll needs to be copied to a network drive and the protk.dat file edited to point to that network path.

First copy the 3dxproe.dll from its location on your C:\ drive - in your case C:\Programme\3Dconnexion\3Dconnexion Plug-In for ProENGINEER\wf5\x86e_win64\obj\3dxproe.dll - to a directory such as "\\$NetworkShare\ProE\3dx-dll\" on the server. This directory does not need to be the PTC directory. On many networks Pro-E is on a network share where users have Read-only access. By installing to a different network folder access to the PTC directory is not involved.

Next the active protk.dat needs to be edited so that it points to the directory where the .dll is located , for instance ,so that it points to "\\$NetworkShare\ProE\3dx-dll\3dxproe.dll".

It sounds like what is happening in your case it that ProE is on a server but the 3DxProE add-in was on the local drive so it was not able to communicate with the application.

When you open ProE WF5 with the 3DxProE add-in active you should see a 3DMouseNews window open that shows the pop-up menu mapped to the SpacePilot's 'Panel' button. The pop-up menu includes the 3DxProE button mapping editor - 'Customize buttons' . Buttons mapped in this editor will remain saved in your profile. Also this editor has the ProE commands available rather than the general commands in the 3Dconnexion Properties button mapping.

-------------------
Barbara
Post Reply