I want to create stroke. This will make the work faster. Please help me.
Thank you very much, pbo.
Where else can we find key binding file if it doesn't work?
I want to make a shortcut for the merge in artwork mode.
I added this:
Bindings("Stroke").AddStroke "15963", "Merge" on exped.wvo.vbs but it doesnt work.
In your DxD settings Xpedition Layout Keybindings Enabled or disabled ?
I am using VX2.3.
Sorry, but where can i see if it is enabled or disabled?
Yes, it is enabled.
Where did you get the name Merge command?
The list of allowed commands can be found in the document PADS/Xpedition
Designer Reference Manual (https://docs.sw.siemens.com/ru-RU/product/852852098/doc/DC201905120.docs.dxdesigner_ref.en_us/html/id116d3f9c-4d9e-47b2-… )
It is in the draw mode.
To use shortcuts in xPCB Layout you need to edit C:\MentorGraphics\EEVX.2.6\SDD_HOME\standard\examples\pcb\Automation\Scripts\KeyBindings.vbs
After you edit this file place it in C:\MentorGraphics\EEVX.2.6\SDD_HOME\standard\
and create or edit (if alredy exist) scripts.ini in WDIR (or C:\MentorGraphics\EEVX.2.6\SDD_HOME\standard\)
and provide path to edited KeyBindings.vbs
commands listed in the document PADS/Xpedition
Designer Reference Manual (https://docs.sw.siemens.com/ru-RU/product/852852098/doc/DC201905120.docs.dxdesigner_ref.en_us/html/id116d3f9c-4d9e-47b2-… ) are only suitable for specifying them in the exped.wvo.vbs file (the commands will only work in DxD).To assign commands in the KeyBindings.vbs file, use the command names as in the Layout menu.
For Example: Merge, Plow, Modify Corners etc.
What will i edit in Keybindings.vbs?
Also make sure that you use Xpedition Pan&Zoom
What will i edit in the current KeyBindings.vbs? Do i need to add something?
Yes you need to edit this KeyBinding.vbs.
When assigning key bindings to Menu Items in the tool, that contains the ampersand &, you need to assign key bindings for that Menu using just a space character. See the example below..
Set docBindingTables = Gui.Bindings("Document")
docBindingTables.AddKeyBinding "Alt+F1","Edit->Fix Lock->Fix", BindMenu, BindAccelerator
'This following does not work although in the tool the menu name is "Fix & Lock" under Edit
docBindingTables.AddKeyBinding "Alt+F1","Edit->Fix & Lock->Fix", BindMenu, BindAccelerator
Retrieving data ...