asos2000 Posted June 29, 2008 Posted June 29, 2008 I created a layer filter in Layer Properties Manager How can I export that filter to use in another drawings Regards Quote
asos2000 Posted June 29, 2008 Author Posted June 29, 2008 Is there a lisp to export and import the layer filter to use in another drawings Quote
ASMI Posted June 29, 2008 Posted June 29, 2008 It possible. Need to open another document with vla-Open method (or with ObectDBX interface) and copy "ACAD_LAYERFILTERS" dictionary items fom drwing to drawing. But it not so short code... Quote
Cad64 Posted June 30, 2008 Posted June 30, 2008 Layer filters or layer states? I don't think there is a standard Autocad tool that will export layer filters? Go here: http://www.dotsoft.com/freestuff.htm and get the LFILTERIO routine. Supposedly it will allow you to export your layer filters to an external file and then import them into another drawing. I haven't tried it, so let us know if it works out. Quote
asos2000 Posted June 30, 2008 Author Posted June 30, 2008 thanx ASMI how can i open the file using vla-open method and ObectDBX, Is it a program or what? Quote
Cad64 Posted June 30, 2008 Posted June 30, 2008 I have merged your two threads. In the future, please just post your question once. Quote
ASMI Posted June 30, 2008 Posted June 30, 2008 how can i open the file using vla-open method and ObectDBX, Is it a program or what? This is a short way to write long code. It seems LFILTERIO don't work - clear export file for Layer Filter and Layer States. Do you really need to export Layer Filters or may be it is Layer States? Most of people don't like Layer Filters, and there is plenty of routines to kill it at all. But i don't hear about export/import Layer Filters. Of course I can write it for just for fun (maybe if will some free time for it). But I think it be useful for small number of peope Quote
asos2000 Posted June 30, 2008 Author Posted June 30, 2008 Im working with a huge project (around 40.000 sqm)and want to change the some of layer's name in XREFs and im filtering the layers depends on the layer's name, when make the change i want to copy the new filters in other drawings Regards Quote
ASMI Posted June 30, 2008 Posted June 30, 2008 I will not promise to you, but I will try something write. It will occupy some time as I am now engaged in by many affairs. May be some other guy can it make quikly. Quote
asos2000 Posted June 30, 2008 Author Posted June 30, 2008 fist of all thanx too much mr. ASMI second i'll keep changing till find solution otherwise all will be the same regards and thanks Quote
nagesh Posted July 3, 2008 Posted July 3, 2008 I have one solution, I think it is workable for you. Give the new layer state name in layer state manager (3rd option) from the layer properties option. Open the working file and import from the layer state manager. then u can find the layers from previous dwg. Quote
ML0940 Posted July 3, 2008 Posted July 3, 2008 I am currently using LDD 2006 but in my layers dialog box, i can export layer states as csv files as well as .lay files. From there, you can import them into another drawing. Also, if you have a .lay or .csv file, you can open it in Excel; from there, do some filtering and sorting, just not sure that you could take it back into ACAD after that point. I do know that if you open it with Notepad and keep the same format; you can add and delete layers, change some things and re import it. I always try the app way first; If that doesn't work or isn't available.\; i think i have some VBA code that will write the smae info out to a file, then you can write it back into a new drawing. I'd have to look for it. ML Quote
butzers09silverado Posted May 4, 2010 Posted May 4, 2010 that import lisp routine works good.... except it doesn't talk sub filters, it only seems to take the highest level, is there anyway to edit that routine? No clue what to do with a .dvb file. I can attach if needed. Quote
Tiger CAD Posted October 26, 2012 Posted October 26, 2012 (edited) Filterio works only with filter groups. You need to convert your filters by right clicking on the filter and select "convert to filter group. Edited October 30, 2012 by Tiger CAD Quote
Tiger CAD Posted October 30, 2012 Posted October 30, 2012 Filterio Filter group Filterio works only with filter groups. You need to convet your filters by right clicking on the filter and select "convert to filter group. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.