Author Topic: Too few arguments  (Read 9614 times)

0 Members and 4 Guests are viewing this topic.

POCKETS

  • Guest
Re: Too few arguments
« Reply #15 on: May 13, 2009, 04:54:51 PM »
When I type '!trans' I get "lisp command not available"
Cab I'm thinking you're right that my AutoCAD has a bug

POCKETS

  • Guest
Re: Too few arguments
« Reply #16 on: May 13, 2009, 05:12:12 PM »
When I try using flexduct I get the following:


Duct diameter is set to 16.0
Select center line of flex duct.[Diameter]<16.0> Enter to quit.d

Specify duct diameter <16.0000>: 4

Duct diameter is set to 4.0
Select center line of flex duct.[Diameter]<4.0> Enter to quit.bad function:
VLAX-CURVE-GETPOINTATPARAM
Command:

The VLAX-CURVE-GETPOINTATPARAM also appears when I use pl2cloud27a

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Too few arguments
« Reply #17 on: May 13, 2009, 05:24:03 PM »
Try this test version. I removed the TRANS function.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

POCKETS

  • Guest
Re: Too few arguments
« Reply #18 on: May 14, 2009, 08:10:53 AM »
CAB,
Thank you, Thank you!
Works like a charm
Pockets

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Too few arguments
« Reply #19 on: May 14, 2009, 09:33:12 AM »
OK see attached a special version of pl2cloud with the trans removed.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Too few arguments
« Reply #20 on: May 14, 2009, 09:35:50 AM »
For those that need the TRANS see attached the latest version, and debug code turned OFF.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

POCKETS

  • Guest
Re: Too few arguments
« Reply #21 on: May 14, 2009, 01:35:48 PM »
CAB,
Again, Thank you, Thank you!
It works!!!!!!

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Too few arguments
« Reply #22 on: May 14, 2009, 01:38:29 PM »
Maybe search through all your lisp codes that run within acad, and see if you have anything that has ' defun trans '.  I can't believe anyone would do that, but maybe one of the codes you are using has it, which caused this problem.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

POCKETS

  • Guest
Re: Too few arguments
« Reply #23 on: May 14, 2009, 02:30:39 PM »
That I shall do.

Many thanks to you as well.
Pockets

POCKETS

  • Guest
Re: Too few arguments
« Reply #24 on: May 14, 2009, 02:35:51 PM »
T. Willey
Another thought just came to mind.  Do I delete the DEFUN TRANS?  Is there any text associated with DEFUN TRANS?
Again, Thanks
Pockets

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Too few arguments
« Reply #25 on: May 14, 2009, 02:41:46 PM »
I would do a text search of all lisp files with the following:
Files:   *.lsp
Text:  "defun (trans"

See if you get any hits. If so, then open that file, or better yet post that file here & we will see if it can be cleaned up.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Too few arguments
« Reply #26 on: May 14, 2009, 02:45:32 PM »
I would do a text search of all lisp files with the following:
Files:   *.lsp
Text:  "defun (trans"

See if you get any hits. If so, then open that file, or better yet post that file here & we will see if it can be cleaned up.


Don't put the parenthesis before ' trans '.  Below is how you should search.  I think Alan just typed too fast.   :wink:

Files:   *.lsp
Text:  "defun trans"

T. Willey
Another thought just came to mind.  Do I delete the DEFUN TRANS?  Is there any text associated with DEFUN TRANS?
Again, Thanks
Pockets


As for deleting it, I would say no.  I would just rename it, and then make sure you change all the calls to it within that lisp function.  If you delete it, the lisp won't work as it should.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Too few arguments
« Reply #27 on: May 14, 2009, 02:53:17 PM »
Thanks Tim you're quite right. :)

Use defun trans  as Tim siggested.
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

POCKETS

  • Guest
Re: Too few arguments
« Reply #28 on: May 14, 2009, 03:05:36 PM »
Again,
Many thanks to the both of you.
Pockets

POCKETS

  • Guest
Re: Too few arguments
« Reply #29 on: May 14, 2009, 03:11:32 PM »
...and again, I show my ignorance.  How do you do a text search?  I did a search using the start up search program for file and folders and found nothing.
Pockets