Inventor & Spacepilot <Enter>

Questions and answers about 3Dconnexion devices on Windows.

Moderator: Moderators

Post Reply
beefweasel
Posts: 6
Joined: Thu Aug 30, 2007 4:28 am

Inventor & Spacepilot <Enter>

Post by beefweasel »

Hi,
Is there any way of assigning one of the buttons to work as the Enter Key when using my space pilot with inventor 2008?

Thanks,
Charlie.
jwick
Moderator
Moderator
Posts: 3374
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

Sure, but it will take a little work on your part.

You need to edit the 3DxInventor.scg file (or one of your Inventor custom userXX.scg config files) with wordpad or another Unicode-capable editor.

Add the following line somewhere in the middle of the BUTTON_NUMBERS array:

{ UI_RETURN_KEY, "Return Key", 69 },

This will add a new "Return Key" option in the button comboboxes that you can now assign to any SP button.
beefweasel
Posts: 6
Joined: Thu Aug 30, 2007 4:28 am

Post by beefweasel »

Thanks for the reply.
Can you please tell me where I might find the 3DxInventor.scg file?
jwick
Moderator
Moderator
Posts: 3374
Joined: Wed Dec 20, 2006 2:25 pm
Location: USA
Contact:

Post by jwick »

Typically: c:\program files\3Dconnexion\3dconnexion 3dxsoftware\3dxware\en_us\profiles\default

(US English installation via 3DxSoftware mega installer)
beefweasel
Posts: 6
Joined: Thu Aug 30, 2007 4:28 am

Post by beefweasel »

Thanks,

I have now found the .scg file, copied it to my desktop, opened it with wordpad and added the line as suggested.
Maybe this is a daft question but I presume it matters how the file is saved? If I save the file with wordpad it is no longer showing as a .scg file?
beefweasel
Posts: 6
Joined: Thu Aug 30, 2007 4:28 am

Post by beefweasel »

Anyone able to talk me through this please?
Fred
Moderator
Moderator
Posts: 997
Joined: Wed Dec 06, 2006 7:15 am
Location: Rochester, NY
Contact:

Post by Fred »

Did you try renaming the file by removing the .txt and change it back to .scg
(Don't forget to copy it back to the original location.)
beefweasel
Posts: 6
Joined: Thu Aug 30, 2007 4:28 am

Post by beefweasel »

woo hoo! success, thanks all.
Post Reply