Author Topic: BlackBox!!  (Read 11478 times)

0 Members and 1 Guest are viewing this topic.

Bhull1985

  • Guest
BlackBox!!
« on: April 24, 2014, 01:12:41 PM »
Hey BB,
Write me a .NET to do this:
When I shift+right click to bring up transparent osnaps and select the same one twice in a row, make the app auto-set snap to whichever I selected from the shift+right click.
Reset prev osnap settings/save first ofc
Do it with prompts that say which snap is turned on and when it's turned back off.

You're the man, challenge you!!!!!
(or just tell me how to do it in lisp lol!)

Just a request buddy, hopefully I wasn't too forward :P

Jeff H

  • Needs a day job
  • Posts: 6150
Re: BlackBox!!
« Reply #1 on: April 24, 2014, 01:22:32 PM »
While your at it

Let me borrow $100 and your wife for the weekend.

Thanks.


andrew_nao

  • Guest
Re: BlackBox!!
« Reply #2 on: April 24, 2014, 02:13:36 PM »
While your at it

Let me borrow $100 and your wife for the weekend.

Thanks.


lol

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: BlackBox!!
« Reply #3 on: April 24, 2014, 02:26:07 PM »
While your at it

Let me borrow $100 and your wife for the weekend.

Thanks.
Now THAT'S a challenge.


*brown chicken brown cow*
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

BlackBox

  • King Gator
  • Posts: 3770
Re: BlackBox!!
« Reply #4 on: April 24, 2014, 02:27:54 PM »
Hey BB,
Write me a .NET to do this:
When I shift+right click to bring up transparent osnaps and select the same one twice in a row, make the app auto-set snap to whichever I selected from the shift+right click.
Reset prev osnap settings/save first ofc
Do it with prompts that say which snap is turned on and when it's turned back off.

You're the man, challenge you!!!!!
(or just tell me how to do it in lisp lol!)

Just a request buddy, hopefully I wasn't too forward :P





Why not just use CUI Editor to implement a custom double snap menu?
« Last Edit: April 24, 2014, 04:29:10 PM by BlackBox »
"How we think determines what we do, and what we do determines what we get."

GDF

  • Water Moccasin
  • Posts: 2081
Re: BlackBox!!
« Reply #5 on: April 24, 2014, 02:37:47 PM »
Or better yet, modifing the AxAcadStatusBarButton (Requires AcadStatButton.zip available from ManuSoft at http://www.manusoft.com.)
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

BlackBox

  • King Gator
  • Posts: 3770
Re: BlackBox!!
« Reply #6 on: April 24, 2014, 03:25:35 PM »

Why not just use CUI Editor to implement a custom double snap menu?

Also worth noting, as I'm not the only one; I use Infrastructure Design Suite 2014, so have AutoCAD, Civil 3D, Revit, etc....



While AutoCAD will allow one to modify Mouse Buttons via CUI Command that references Menu, or Shortcut Menu, in my testing Civil 3D only recognizes the latter... When we first transitioned from Land Desktop 2009 to Civil 3D 2011, many users at my former employer mistakenly thought that modifying the Ctrl+Click functionality, etc. was locked out.

Today, I use the OOTB 'snap' menu for Shift+Click, and the 'double snap' menu for Ctrl+Click.
"How we think determines what we do, and what we do determines what we get."

tedg

  • Swamp Rat
  • Posts: 811
Re: BlackBox!!
« Reply #7 on: April 25, 2014, 11:42:01 AM »
Pretty impressive to have a thread title named after you...that's shouting your name.
All I can think of is your mother calling out the kitchen window "BlackBox, you get in here now!!!"
 
 :?
Windows 10 Pro 64bit, AutoCAD 2023, REVIT 2023

BlackBox

  • King Gator
  • Posts: 3770
Re: BlackBox!!
« Reply #8 on: April 25, 2014, 11:51:01 AM »
Pretty impressive to have a thread title named after you...that's shouting your name.

That's kind of you to say, tedg :-); I'm flattered by the OP posing the challenge in the first place.

Cheers
"How we think determines what we do, and what we do determines what we get."

Bhull1985

  • Guest
Re: BlackBox!!
« Reply #9 on: April 28, 2014, 02:50:52 PM »
Well I just figured if it would be anyone's cup of tea perusing these forums, it may be yours!
And I'm flattered to read the responses and will have to delve back into the CUI! I've used it extensively for menus of the dropdown variety, but short-cut menus not so much. Good to know that the CUI is capable of doing so since I've some familiarity with it.
Haha at the $100 and wives joke, I tried to add a note there at the bottom but I suppose it was just too much to resist :P
Regardless, neat! And thanks!

edit:
After a better look at the images you've attached I can already see that Center to Center will be very handy to add, as osnaps for placement are about 90% of what we've widdled down human interaction with some of these p&id's to LOL! This simple two clicks in one will be a relative huge timesaver, and learning where/how to place it for maximum usage will be the fun learning part! :D
« Last Edit: April 28, 2014, 02:54:15 PM by Bhull1985 »

BlackBox

  • King Gator
  • Posts: 3770
Re: BlackBox!!
« Reply #10 on: April 28, 2014, 03:24:44 PM »
Cheers, dude.  :mrgreen:
"How we think determines what we do, and what we do determines what we get."

ROBBO

  • Bull Frog
  • Posts: 217
Re: BlackBox!!
« Reply #11 on: May 06, 2014, 02:22:45 AM »
Hello BlackBox,

The double snap cursor menu is a great idea. Is it possible to show me how to create this in the cui?

Many thanks in advance, Robbo.
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

Bhull1985

  • Guest
Re: BlackBox!!
« Reply #12 on: May 06, 2014, 08:24:01 AM »
Yeah, BBox...finally have some time to spend with this and I'm in the CUI but having time locating where I'd add these double-snaps....can you explain the procedure to create such a menu for us? Please and thanks

ROBBO

  • Bull Frog
  • Posts: 217
Re: BlackBox!!
« Reply #13 on: May 09, 2014, 09:20:51 AM »
What would be the command macro for 'nea to perp'?
The only thing to do with good advice is to pass it on.
It is never of any use to oneself.

Oscar Wilde
(1854-1900, Irish playwright, poet and writer)

BlackBox

  • King Gator
  • Posts: 3770
Re: BlackBox!!
« Reply #14 on: May 09, 2014, 09:26:25 AM »
Hello BlackBox,

The double snap cursor menu is a great idea. Is it possible to show me how to create this in the cui?

Many thanks in advance, Robbo.

Yeah, BBox...finally have some time to spend with this and I'm in the CUI but having time locating where I'd add these double-snaps....can you explain the procedure to create such a menu for us? Please and thanks

Hi guys,

Sorry to keep you waiting; I'm having a pretty crazy week, but will get back to you on this.

Thanks for your patience. :-)



What would be the command macro for 'nea to perp'?

The CUI Command's macro would be:

Code - Auto/Visual Lisp: [Select]
  1. _nea \_per \
  2.  
"How we think determines what we do, and what we do determines what we get."