Author Topic: Unknown command "FILLET" ! ? !  (Read 1934 times)

0 Members and 1 Guest are viewing this topic.

domenicomaria

  • Swamp Rat
  • Posts: 725
Unknown command "FILLET" ! ? !
« on: September 06, 2023, 11:12:19 AM »
(vl-cmdf "fillet" "p" (entlast) )
Unknown command "FILLET".  Press F1 for help.
Unknown command "P".  Press F1 for help.
<Entity name: B920BAD0>
T


why ?

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #1 on: September 06, 2023, 11:14:06 AM »
(vl-cmdf "redefine" "fillet") !

and it works !

but why does this happen?

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1454
  • Marco
Re: Unknown command "FILLET" ! ? !
« Reply #2 on: September 06, 2023, 12:22:50 PM »
Try (vl-cmdf "_.fillet" "_p" (entlast))
see "." point...

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #3 on: September 06, 2023, 12:47:36 PM »
Try (vl-cmdf "_.fillet" "_p" (entlast))
see "." point...

ho capito !

(I understand !)

BIGAL

  • Swamp Rat
  • Posts: 1429
  • 40 + years of using Autocad
Re: Unknown command "FILLET" ! ? !
« Reply #4 on: September 06, 2023, 11:13:24 PM »
You can Redefine a command so some where you may have a lisp that has a custom "Fillet" command.

If you have all your lisps say in one place you can search a directory looking for Redefine in *.lsp. let me know if need it. Its a windows function.
A man who never made a mistake never made anything

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #5 on: September 07, 2023, 12:06:13 AM »
@BIGAL
If you have all your lisps say in one place   ... (yes)

you can search a directory looking for Redefine in *.lsp.
I do not understand
Do I have to create a redefine.lsp file
where to put all possible command redefinitions?

Its a windows function.
what does it mean ?
I do not understand

Marc'Antonio Alessi

  • Swamp Rat
  • Posts: 1454
  • Marco
Re: Unknown command "FILLET" ! ? !
« Reply #6 on: September 07, 2023, 03:35:22 AM »
Domenico, BIGAL ti ha detto di cercare la parola redefine in tutti i tuoi lisp (si puo fare con Windows).

Consigli:
- se devi ridefinire un comando alla fine della funzione (se puoi) riportalo all'origine
- usa sempre "." e "_" prima del nome del comando (io lo faccio da sempre)

Google tr.

Domenico, BIGAL told you to look for the word redefine in all your lisp (you can do it with windows).

Advice:
- if you need to redefine a command at the end of the function (if you can) bring it back to its origin
- always use "." and "_" before the command name (I've always done this)

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #7 on: September 07, 2023, 04:21:41 AM »
Domenico, BIGAL told you to look for the word redefine in all your lisp (you can do it with windows).
Domenico, BIGAL told you to look for the word redefine in all your lisp (you can do it with windows).
I know that it is possible to do it with windows ...

But maybe it is better do it with VLIDE

... search for a phrase in all the LSP files contained in a folder and all subfolders ...

... with F11
it will show sequentially all the items found,
opening in Vlide all the files where the items are contained,
so finally it will be easy to modify them
« Last Edit: September 07, 2023, 04:29:54 AM by domenicomaria »

ribarm

  • Gator
  • Posts: 3306
  • Marko Ribar, architect
Re: Unknown command "FILLET" ! ? !
« Reply #8 on: September 07, 2023, 08:53:21 AM »
You can search in files also with notepad++... There is built-in dialog box from where, you may even do changing phrases you used to new ones... But be careful, if you do something not 100% sure, you can easily screw up your original files... It can search also through sub folders making it even more forcing to be more careful...
Marko Ribar, d.i.a. (graduated engineer of architecture)

:)

M.R. on Youtube

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #9 on: September 07, 2023, 11:57:38 PM »
You can search in files also with notepad++... There is built-in dialog box from where, you may even do changing phrases you used to new ones... But be careful, if you do something not 100% sure, you can easily screw up your original files... It can search also through sub folders making it even more forcing to be more careful...
however, I believe that the best editor for Vlisp in ACAD is VLIDE...
... it's not perfect and it lacks some things,
but it's the best

BIGAL

  • Swamp Rat
  • Posts: 1429
  • 40 + years of using Autocad
Re: Unknown command "FILLET" ! ? !
« Reply #10 on: September 08, 2023, 01:48:06 AM »
Ok go bottom rectang in Windows
type CMD the OS Operating System window will appear
Cd d:\bigal\lisps your directory of lisp's
FINDSTR Redefine *.lsp
it will show programs that have redefine in them
Yes can do more directories but will leave out for now.
A man who never made a mistake never made anything

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #11 on: September 08, 2023, 03:30:39 AM »
Ok go bottom rectang in Windows
type CMD the OS Operating System window will appear
Cd d:\bigal\lisps your directory of lisp's
FINDSTR Redefine *.lsp
it will show programs that have redefine in them
Yes can do more directories but will leave out for now.

I prefer VLIDE because not only does it find all the phrases or words
I'm looking for in all lsp files contained in a folder and its subfolders
but also,
by double clicking on a blue staff, it opens the file containing that word
and shows you the point where it is contained
and with F11 moves on to the next element,
in the same file or in another

there is nothing better

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #12 on: September 08, 2023, 11:57:51 AM »
G:\VLISP22> FINDSTR /S "lwpolyline" *.lsp > zzz.txt

but if you really want to use FINDSTR
you can also search in subfolders  ( /S )
and save the result in a text file  ( > zzz.txt )

cmwade77

  • Swamp Rat
  • Posts: 1443
Re: Unknown command "FILLET" ! ? !
« Reply #13 on: September 11, 2023, 12:22:24 PM »
There must be some code somewhere that undefines the command in one of your routines.

domenicomaria

  • Swamp Rat
  • Posts: 725
Re: Unknown command "FILLET" ! ? !
« Reply #14 on: September 11, 2023, 02:12:53 PM »
There must be some code somewhere that undefines the command in one of your routines.
Yes. it's like you say !