Jump to content

Recommended Posts

Posted

I created a layer filter in Layer Properties Manager

How can I export that filter to use in another drawings

 

Regards

Posted

Is there a lisp to export and import the layer filter to use in another drawings

Posted

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...

Posted

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.

Posted

thanx ASMI

 

how can i open the file using vla-open method and ObectDBX, Is it a program or what?

Posted

I have merged your two threads. In the future, please just post your question once.

Posted
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 :(

Posted

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

Posted

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.

Posted

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

Posted

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.

Posted

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

  • 1 year later...
Posted

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.

Posted

you'll see me there.

  • 2 years later...
Posted (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 by Tiger CAD
Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...