Quantcast
Channel: Jason Andrews Blog
Viewing all articles
Browse latest Browse all 33813

Cannot overwrite default layout bindkey in ICADV

$
0
0
Hello, I am attempting to overwrite a default layout bindkey, but the desired command will not remain in the command field once entered. Using ICADV12.3 I have tried updating my bindkeys in the following ways: 1) In my .cdsinit I load a .bindkeys file via: load(".bindkeys") In my .bindkeys file I wish to overwrite the default bindkeys for Ctrl and Shift H with the following commands: hiSetBindKeys( "Layout" list( list("Ctrl H" "getCurrentWindow()->segSnapMode = \"anyAngle\" getCurrentWindow()->snapMode = \"anyAngle\"") list("Shift H" "getCurrentWindow()->segSnapMode = \"orthogonal\" getCurrentWindow()->snapMode = \"orthogonal\"") )) 2) From the CIW I navigate to Options>Bindkeys. In the Layout tab I navigate to the command for bindkey Ctrl H and replace the contents of the command field with: getCurrentWindow()->segSnapMode = "anyAngle" getCurrentWindow()->snapMode = "anyAngle" The bindkey is successfully updated for the 'orthogonal' command and works as intended, but is unsuccessful for the 'any angle' command. In either case, the default bindkey for Ctrl H [geDSAFreeze(hiGetCurrentWindow() hiGetPoint(hiGetCurrentWindow()))] is kept. There are also no warnings or errors reported in the CIW when I load(".bindkeys"). Any help would be greatly appreciated. Cheers, Daron

Viewing all articles
Browse latest Browse all 33813

Trending Articles