Author Topic: command "._undefine" within routine  (Read 5702 times)

0 Members and 1 Guest are viewing this topic.

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: command "._undefine" within routine
« Reply #15 on: September 01, 2009, 09:32:52 AM »
AHa!  :lol:

Got it to work - I set up a command reactor to print the command name on :vlr-commandWillStart, and then used this in the undefine command:

Code: [Select]
[color=red]Command:
"3DORBITTRANSPARENT" Regenerating model.[/color]  << Reactor

[color=blue]<reactor switched off now>[/color]


Command:
Command: undefine
Enter command name: 3DORBITTRANSPARENT
[color=red]
Command:  Unknown command "3DORBITTRANSPARENT".  Press F1 for help.[/color] << Command undefined.


Spike Wilbury

  • Guest
Re: command "._undefine" within routine
« Reply #16 on: September 01, 2009, 10:02:22 AM »
Jose,

the syntax it is like this:

.ACAD_VMTOOLS.3Dorbittransparent

Joe Burke

  • Guest
Re: command "._undefine" within routine
« Reply #17 on: September 02, 2009, 05:18:41 AM »
Hola Luis,

Thanks for trying. The following works to undefine the command:

(command "._undefine" ".ACAD_VMTOOLS.3Dorbittransparent")

But as before, if I start the line command, pick first point, then hold the shift key and scroll button, the command still works.

I also tried undefining 3dorbit like this:

(command "._undefine" ".ACAD_VMTOOLS.3Dorbit")

With both commands undefined and the line exercise again, AutoCAD freeze crash.

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: command "._undefine" within routine
« Reply #18 on: September 02, 2009, 06:48:12 AM »
Joe,

Just curious, I managed to get it to undefine the command if I put it all in capitals, but couldn't if it was in lower case...

Also, I did it without using the VMTOOLS bit.  :wink:

Joe Burke

  • Guest
Re: command "._undefine" within routine
« Reply #19 on: September 02, 2009, 08:13:37 AM »
Lee,

That's curious. None of this should be case sensitive AFAIK.

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: command "._undefine" within routine
« Reply #20 on: September 02, 2009, 09:49:44 AM »
Lee,

That's curious. None of this should be case sensitive AFAIK.

That's what I thought, but I got different results in each case  :?

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: command "._undefine" within routine
« Reply #21 on: September 02, 2009, 09:56:27 AM »
Lee,

That's curious. None of this should be case sensitive AFAIK.

That's what I thought, but I got different results in each case  :?
lol, case.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: command "._undefine" within routine
« Reply #22 on: September 02, 2009, 09:57:43 AM »
Lee,

That's curious. None of this should be case sensitive AFAIK.

That's what I thought, but I got different results in each case  :?
lol, case.

Haha, wasn't even intended...  :angel:

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: command "._undefine" within routine
« Reply #23 on: September 02, 2009, 10:03:29 AM »
Lee,

That's curious. None of this should be case sensitive AFAIK.

That's what I thought, but I got different results in each case  :?
lol, case.

Haha, wasn't even intended...  :angel:
in that case, it's even better!
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox