Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Add group filter in Steal lisp from mr.lee mac
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: Add group filter in Steal lisp from mr.lee mac (Read 1545 times)
0 Members and 1 Guest are viewing this topic.
Mostafa Hisham
Mosquito
Posts: 16
Add group filter in Steal lisp from mr.lee mac
«
on:
November 04, 2021, 08:50:53 AM »
Hello every one
i have the "Steal" lisp from mr.lee mac
it's a great lisp
i need to add the group filter in this lisp
i uploaded the image to explain clearly what i need
i need this addition to import (layer groups with the layers inside them) also
I Uploaded the steal lisp also
and thanks in advance ....
Logged
BIGAL
Swamp Rat
Posts: 1417
40 + years of using Autocad
Re: Add group filter in Steal lisp from mr.lee mac
«
Reply #1 on:
November 04, 2021, 07:40:51 PM »
It does by layer ? You need to add the list of required layers.
("Layers" "Layer1" "Layer2")
Logged
A man who never made a mistake never made anything
Mostafa Hisham
Mosquito
Posts: 16
Re: Add group filter in Steal lisp from mr.lee mac
«
Reply #2 on:
November 05, 2021, 04:16:27 AM »
Yes sir
I need it to import the names of layer groups and insert the layers inside them as the original dwg
The lisp already import layer names but I need to add group filter and put the layers inside group filters according to the original dwg
Logged
Mostafa Hisham
Mosquito
Posts: 16
Re: Add group filter in Steal lisp from mr.lee mac
«
Reply #3 on:
November 09, 2021, 02:21:20 AM »
Okay sir there are the layers that i need to put them into group filter that has the name "FORMWORK"
"(main) S-Decking Beam"
"(main) S-Decking Drop"
"(main) S-Decking Slab"
"(secondary) S-Decking Beam"
"(secondary) S-Decking Drop"
"(secondary) S-Decking Slab"
"Client"
"Tubes"
"Defpoints"
"0"
Finally i need it to take the group filter from the original dwg whatever how much group filters or these names or the layers inside them
i don't recommend to make a lisp to create group filter
i have more and more requires in my work and i need to make drawings like template for every type of my work requires
each type need some layers and group filters different from other types
in the template that i need i'll make group filters and just i make the steal lisp to start my work quickly .....
i hope i can explain clearly what i need
i'm sorry i'm not good in English....
thanks in advance ....
Logged
BIGAL
Swamp Rat
Posts: 1417
40 + years of using Autocad
Re: Add group filter in Steal lisp from mr.lee mac
«
Reply #4 on:
November 10, 2021, 01:10:20 AM »
I just googled "
add layers to a group filter lisp
" and found the answer, so can you. Just make some scripts or lisp that have all the layers in them. So make the layers. Then add the filter.
(Command "-layer" "filter" "n" "g" ..........)
Logged
A man who never made a mistake never made anything
tombu
Bull Frog
Posts: 289
ByLayer=>Not0
Re: Add group filter in Steal lisp from mr.lee mac
«
Reply #5 on:
November 18, 2021, 11:48:51 AM »
gile wrote a nice lisp for exporting and importing property layer filters in 2009
https://forums.augi.com/showthread.php?97438-Can-I-create-frequently-used-layer-filters-in-LISP&p=952247&viewfull=1#post952247
Layer Filter Types - Layer filters can contain a dynamic or a static list of layers.
https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-46F22B6E-D087-4AB4-8D4F-580E0E75FAD3
A dynamic layer filter is known as a property layer filter. It’s the most common of the two layer filter types, and it’s based on property values. For example, you can create a property layer filter that displays only layers that are on and thawed.
A static layer filter is known as a group filter. This filter is a simple list of layers that are displayed when the layer filter is current. For example, a group filter might list only those layers associated with the second floor of a building, with a machine tool fixture, or with topographic features.
Logged
Tom Beauford P.S.M.
Leon County FL Public Works - Windows 7 64 bit AutoCAD Civil 3D
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
Add group filter in Steal lisp from mr.lee mac