Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Osnap Mouse Button

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
351 Views, 3 Replies

Osnap Mouse Button


I've posted this in the AutoCAD.customization
group, but still wanted to know if anyone has their mouse to have an osnap
button programmed to pop up? If so, what is the direction to get it keyed
in?

 

Thanks,
--

Tim Duzan
Jones &
Boyd, Inc.
LDT 2005 & Civil 3D
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous





style="WIDTH: 100%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; WIDTH: 433.5pt; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
width=578>

cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
vAlign=top>

border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; WIDTH: 375pt; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
width=500>


style="FONT-SIZE: 10pt; COLOR: #000066; FONT-FAMILY: Arial">Side
button mouse customization for OSNAP menu

style="FONT-SIZE: 10pt; COLOR: #000066; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'">



style="FONT-FAMILY: 'Arial Unicode MS'">



style="DISPLAY: none; mso-hide: all">
face="Times New Roman"> 



style="WIDTH: 100%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent">


class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">If you have a mouse with
side buttons and would like to make one of these side buttons pop-up
your OSNAP menu (instead of having to hold down the SHIFT key and
right-click) try this:



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">First go
to the Windows Control Panel, double-click the mouse settings icon.
If you have the correct mouse driver installed, you should be able
to assign functions to every button on your mouse. Assign the button
that you would like to use for OSNAPS as F12 ( since this funciton
key is not used for anything else ).



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Open
AutoCAD and go to the Tools pulldown menu, choose Customize, then
Toolbars.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">On the
Commands tab, click User-defined. On the top right, drag and drop a
User-Defined Button out of the dialog box. This just made a new
button and toolbar.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Right-click
on the new button and choose Properties.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Name the
button something, like OSNAPS. Look for ^C^C in the Macro text
field, and type



class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">$p0=SNAP $p0=*



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">or cut and
paste that from the Acad.mns file.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">The string
should look like the following:



class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">^C^C$p0=SNAP $p0=*



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Select the
Close button. Next, go to the Tools pulldown menu, choose Customize
--Keyboard. Under Categories look for Toolbar1 Toolbar. If you have
the right toolbar it should say OSNAPS under Commands. To the right
under Press new shortcut key: pick the F12 button. Click the Assign
button, Close, and try it.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">The method
above will also allow you to assign a Diesel macro function to your
mouse buttons.



style="FONT-FAMILY: 'Arial Unicode MS'">



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


I've posted this in the AutoCAD.customization
group, but still wanted to know if anyone has their mouse to have an osnap
button programmed to pop up? If so, what is the direction to get it keyed
in?

 

Thanks,
--

Tim Duzan
Jones &
Boyd, Inc.
LDT 2005 & Civil
3D
Message 3 of 4
Anonymous
in reply to: Anonymous


I have used that exact code in versions other than
Civil 3D. F12 is now used to toggle on Dynamic, so that takes this option
out.

Any other suggestions would be greatly
appreciated.


--

Tim Duzan
Jones & Boyd, Inc.
LDT 2005 & Civil
3D


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bill Farley" <farleywp at c dash b dot com> wrote in message
href="news:4827394@discussion.autodesk.com">news:4827394@discussion.autodesk.com
...





style="WIDTH: 100%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; WIDTH: 433.5pt; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
width=578>

cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
vAlign=top>

border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; WIDTH: 375pt; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
width=500>


style="FONT-SIZE: 10pt; COLOR: #000066; FONT-FAMILY: Arial">Side
button mouse customization for OSNAP menu

style="FONT-SIZE: 10pt; COLOR: #000066; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'">



style="FONT-FAMILY: 'Arial Unicode MS'">



style="DISPLAY: none; mso-hide: all">
face="Times New Roman"> 



style="WIDTH: 100%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent">


class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">If you have a mouse
with side buttons and would like to make one of these side buttons
pop-up your OSNAP menu (instead of having to hold down the SHIFT
key and right-click) try this:



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">First go
to the Windows Control Panel, double-click the mouse settings
icon. If you have the correct mouse driver installed, you should
be able to assign functions to every button on your mouse. Assign
the button that you would like to use for OSNAPS as F12 ( since
this funciton key is not used for anything else
).



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Open
AutoCAD and go to the Tools pulldown menu, choose Customize, then
Toolbars.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">On the
Commands tab, click User-defined. On the top right, drag and drop
a User-Defined Button out of the dialog box. This just made a new
button and toolbar.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Right-click
on the new button and choose Properties.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Name the
button something, like OSNAPS. Look for ^C^C in the Macro text
field, and type



class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">$p0=SNAP $p0=*



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">or cut
and paste that from the Acad.mns file.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">The
string should look like the following:



class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">^C^C$p0=SNAP $p0=*



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Select
the Close button. Next, go to the Tools pulldown menu, choose
Customize --Keyboard. Under Categories look for Toolbar1 Toolbar.
If you have the right toolbar it should say OSNAPS under Commands.
To the right under Press new shortcut key: pick the F12 button.
Click the Assign button, Close, and try it.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">The
method above will also allow you to assign a Diesel macro function
to your mouse buttons.



style="FONT-FAMILY: 'Arial Unicode MS'">



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


I've posted this in the AutoCAD.customization
group, but still wanted to know if anyone has their mouse to have an osnap
button programmed to pop up? If so, what is the direction to get it keyed
in?

 

Thanks,
--

Tim Duzan
Jones &
Boyd, Inc.
LDT 2005 & Civil
3D
Message 4 of 4
Anonymous
in reply to: Anonymous


just follow the same setup but instead of F12 use
cntl-I or one of the other cntl-* keys that are not pre-defined


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


I have used that exact code in versions other
than Civil 3D. F12 is now used to toggle on Dynamic, so that takes this option
out.

Any other suggestions would be greatly
appreciated.


--

Tim Duzan
Jones & Boyd, Inc.
LDT 2005 &
Civil 3D


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Bill Farley" <farleywp at c dash b dot com> wrote in message
href="news:4827394@discussion.autodesk.com">news:4827394@discussion.autodesk.com
...





style="WIDTH: 100%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; WIDTH: 433.5pt; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
width=578>

cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
vAlign=top>

border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0.75pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0.75pt; PADDING-BOTTOM: 0.75pt; BORDER-LEFT: #d4d0c8; WIDTH: 375pt; PADDING-TOP: 0.75pt; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent"
width=500>


style="FONT-SIZE: 10pt; COLOR: #000066; FONT-FAMILY: Arial">Side
button mouse customization for OSNAP
menu

style="FONT-SIZE: 10pt; COLOR: #000066; FONT-FAMILY: Arial; mso-fareast-font-family: 'Arial Unicode MS'">



style="FONT-FAMILY: 'Arial Unicode MS'">



style="DISPLAY: none; mso-hide: all">
face="Times New Roman">



style="WIDTH: 100%; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in"
cellSpacing=0 cellPadding=0 width="100%" border=0>



style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent">


class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">If you have a mouse
with side buttons and would like to make one of these side
buttons pop-up your OSNAP menu (instead of having to hold down
the SHIFT key and right-click) try this:



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">First
go to the Windows Control Panel, double-click the mouse settings
icon. If you have the correct mouse driver installed, you should
be able to assign functions to every button on your mouse.
Assign the button that you would like to use for OSNAPS as F12 (
since this funciton key is not used for anything else
).



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Open
AutoCAD and go to the Tools pulldown menu, choose Customize,
then Toolbars.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">On the
Commands tab, click User-defined. On the top right, drag and
drop a User-Defined Button out of the dialog box. This just made
a new button and toolbar.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Right-click
on the new button and choose Properties.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Name
the button something, like OSNAPS. Look for ^C^C in the Macro
text field, and type



class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">$p0=SNAP $p0=*



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">or cut
and paste that from the Acad.mns file.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">The
string should look like the following:



class=moduletextlarge1>
style="FONT-SIZE: 9pt; FONT-FAMILY: Arial">^C^C$p0=SNAP $p0=*



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Select
the Close button. Next, go to the Tools pulldown menu, choose
Customize --Keyboard. Under Categories look for Toolbar1
Toolbar. If you have the right toolbar it should say OSNAPS
under Commands. To the right under Press new shortcut key: pick
the F12 button. Click the Assign button, Close, and try
it.



style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">The
method above will also allow you to assign a Diesel macro
function to your mouse
buttons.



style="FONT-FAMILY: 'Arial Unicode MS'">



style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">


I've posted this in the AutoCAD.customization
group, but still wanted to know if anyone has their mouse to have an osnap
button programmed to pop up? If so, what is the direction to get it keyed
in?

 

Thanks,
--

Tim Duzan
Jones
& Boyd, Inc.
LDT 2005 & Civil
3D

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report