PDA

View Full Version : Is there a way to import layer lists into a text file?


d_m_hopper
2007-10-03, 05:44 PM
I have a 'working' routine which is used for dwg cleanup, I am adding layers to it as I recieve client dwgs.

I would love to know if it is possible import/extract the layer names to a file for easy copy paste into my routine.

d_m_hopper
2007-10-03, 06:07 PM
never mind, I feel so stupid now

solution:

run layer trans, and open log file in note pad to view layers

T.Willey
2007-10-03, 06:26 PM
You could do it without the express tools. Just step though the layer collection, and write the value of the properties you want to the text file.

d_m_hopper
2007-10-03, 06:46 PM
for what I need I just need to find arch desktop layers and or client layers named a-door,a-wall,a-glaze,etc

the routine selects all other layers and freezes them

T.Willey
2007-10-03, 06:49 PM
As long as you found something that works for you, then it's all good. I just don't like my customization to depend on code I don't/can't control.

CAB2k
2007-10-03, 06:52 PM
Copy & paste ?
Command: -layer

Current layer: "zDtl xLight 1"
Enter an option
[?/Make/Set/New/ON/OFF/Color/Ltype/LWeight/Plot/PStyle/Freeze/Thaw/LOck/Unlock]:
?

Enter layer name(s) to list <*>: Press Enter

Layer name State Color Linetype Lineweight
------------------ ----------- ------------- ------------ ------------
"_KTI_CONTROL" Frozen -L-P 7 (white) "Continuous" Default
"0" on -P 7 (white) "Continuous" Default
"CONSTRUCTION" on -P 2 (yellow) "HDR" Default
"Defpoints" on 7 (white) "Continuous" Default
"E1_ELECT_CNTRL" Frozen -P 7 (white) "Continuous" Default

d_m_hopper
2007-10-03, 07:21 PM
Copy & paste ?
Command: -layer

Current layer: "zDtl xLight 1"
Enter an option
[?/Make/Set/New/ON/OFF/Color/Ltype/LWeight/Plot/PStyle/Freeze/Thaw/LOck/Unlock]:
?

Enter layer name(s) to list <*>: Press Enter

Layer name State Color Linetype Lineweight
------------------ ----------- ------------- ------------ ------------
"_KTI_CONTROL" Frozen -L-P 7 (white) "Continuous" Default
"0" on -P 7 (white) "Continuous" Default
"CONSTRUCTION" on -P 2 (yellow) "HDR" Default
"Defpoints" on 7 (white) "Continuous" Default
"E1_ELECT_CNTRL" Frozen -P 7 (white) "Continuous" Default

I forgot about that one...I need more than my usual amount of coffee today.

Thanks for the help guys