AutoCAD Civil 3D General

Reply
*Tim Duzan
Message 1 of 4 (122 Views)

Osnap Mouse Button

122 Views, 3 Replies
04-27-2005 07:26 AM

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
*Bill Farley
Message 2 of 4 (122 Views)

Re: Osnap Mouse Button

04-27-2005 08:31 AM in reply to: *Tim Duzan




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
*Tim Duzan
Message 3 of 4 (122 Views)

Re: Osnap Mouse Button

04-27-2005 11:08 AM in reply to: *Tim Duzan

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
*Bill Farley
Message 4 of 4 (122 Views)

Re: Osnap Mouse Button

04-27-2005 01:22 PM in reply to: *Tim Duzan

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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Civil 3D Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for AutoCAD Civil 3D helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Civil 3D

Twitter

Facebook

Blogs