Author Topic: Filter Command  (Read 2161 times)

0 Members and 1 Guest are viewing this topic.

cadman6735

  • Guest
Filter Command
« on: May 04, 2016, 08:44:33 AM »
does anyone know where the filter command lisp file is located?  AutoCAD 2015

I have one profile (company enterprise) that pulls up filter and it does not keep my selection set highlighted and is missing some filter selection objects on the pull down such as "table"

while the MEP (global) profile pulls up filter and looks and works fine.

The company I am at keeps the filter.lsp and .dcl in a separate lisp library which our enterprise profile points to and seems to be broken, the out of the box AutoCAD does not point to this filter.lsp location and works fine but I can't seem to find where the out of the box filter is located, the lisp file that seems to be broken is dated 1/3/96

Thanks
« Last Edit: May 04, 2016, 09:40:38 AM by cadman6735 »

danallen

  • Guest
Re: Filter Command
« Reply #1 on: May 04, 2016, 05:14:21 PM »
let cad tell you where it is?
Code: [Select]
(findfile "filter.lsp")
and/or add a user folder to cad search paths, moved in front of all other system paths, and put your filter.lsp file there. It should be the first one found/used unless the company has special load routines that only use company paths

note I'm on bricscad and am not familiar with the whole new autocad trusted path thing/issue

cadman6735

  • Guest
Re: Filter Command
« Reply #2 on: May 09, 2016, 09:08:35 AM »
Dan,

Thanks for that handy tip.

But I think that the filter command has been included in with another lisp bundle.  No such luck finding the filter.lsp file.

(findfile "filter.lsp") pulls the path to our "broken" enterprise location, but the out of the box profile, returns "nil" yet the filter command is still actively working.




alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Filter Command
« Reply #3 on: May 09, 2016, 09:12:05 AM »
FILTER is a core command within Autocad.
If findfile is returning a path, go get the file from there.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

cadman6735

  • Guest
Re: Filter Command
« Reply #4 on: May 09, 2016, 09:59:14 AM »
The path leads to a copied version of the lisp file that does not work properly.

If I open AutoCAD, and use our company profile the filter command does not work properly and the path is reflected to our copied version of  filter.lsp.

If I switch profiles to Global OOTB profile the filer command works fine. But when I type (findfile "filter.lsp") I get "nil" where in turn you say it is a core command, which is where I mentioned in my earlier post that it must be bundled up in with another lisp routine?  Which core lisp file house the filter command? 

I edited our company profile to match the global profile support path but now the command does not work at all

Thanks

lamarn

  • Swamp Rat
  • Posts: 636
Re: Filter Command
« Reply #5 on: May 09, 2016, 10:06:36 AM »
Maybe it is stored in This place. Can't check, mobile
C:\Users\\AppData\Roaming\Autodesk\<AutoCAD Product>\\enu\Support.

Found a nice blog explaining it
https://synergiscadblog.com/2015/03/02/using-the-autocad-filter-command/
Design is something you should do with both hands. My 2d hand , my 3d hand ..

ronjonp

  • Needs a day job
  • Posts: 7529
Re: Filter Command
« Reply #6 on: May 09, 2016, 10:12:17 AM »
FILTER as a lisp command must have been before my time.
As long as I can remember, FILTER has looked as the attached image.
Don't you mean filter looks like THIS? :)

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Filter Command
« Reply #7 on: May 09, 2016, 10:14:31 AM »
FILTER as a lisp command must have been before my time.
As long as I can remember, FILTER has looked as the attached image.
Don't you mean filter looks like THIS? :)
lol. Exactly.
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox