How do I Export a Layer State

How do I Export a Layer State

camille_bobeau
Explorer Explorer
751 Views
4 Replies
Message 1 of 5

How do I Export a Layer State

camille_bobeau
Explorer
Explorer

I have Autocad 2024 on mac, and despite what some posts and videos I saw, the command LA or LAS do not give me any export options. I saved the list, but I can't seem to copy or export it. I don't understand how or why I don't get the same options as those people who also are on mac. Earlier version ?

 

My goal is merely to copy paste it in a text box, and there are A LOT of layers there so having to manually write them all will probably ruin my day.

 

Any genius help very welcome!

Thanks

0 Likes
Accepted solutions (1)
752 Views
4 Replies
Replies (4)
Message 2 of 5

maxim_k
Consultant
Consultant

Hi @camille_bobeau ,

 

You can use -LAYER command to export layer state to .LAS file.

Here are the command options you use (I assume that you need to export "test" layer state):

 

Command: -LA -LAYER
Current layer: "Defpoints"
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]: A
Enter an option [?/Save/Restore/Edit/Name/Delete/Import/EXport]: EX
Enter name of layer state to export or [?]: test
Export state to file name <test>: ~    <- tilde gives you an option to open "Save as" dialog 
Enter an option [?/Save/Restore/Edit/Name/Delete/Import/EXport]:
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]:

 

Now you can import saved layer state to any drawing with the same -LAYER command:

Command: -LA
-LAYER
Current layer: "0"
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]: A
Enter an option [?/Save/Restore/Edit/Name/Delete/Import/EXport]: I
Enter file name to import <Drawing1>: <- tilde gives you an option to open "Open file" dialog
Restore could not restore all line types.
Enter an option [?/Save/Restore/Edit/Name/Delete/Import/EXport]: R
Enter name of layer state to restore or [?]: test
Enter an option [?/Save/Restore/Edit/Name/Delete/Import/EXport]:
Enter an option [?/Make/Set/New/Rename/ON/OFF/Color/Ltype/LWeight/TRansparency/MATerial/Plot/Freeze/Thaw/LOck/Unlock/stAte/Description/rEconcile/Xref]:

 

>>>>My goal is merely to copy paste it in a text box

You can also open .LAS file with Text Edit app if you need to copy/paste data from it.

 

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 3 of 5

camille_bobeau
Explorer
Explorer

Hi Maxim,

When I put in the command LA or LAYER it does not make appear any of those options you mentionned (see pic below)

I did save the list, however when I open the Layer state manager I do not have any export options (right click on the list does nothing)

I tried to simply copy paste the selected list in a text box or excel and no luck.

Screenshot 2025-03-18 at 11.22.55.pngScreenshot 2025-03-18 at 11.23.49.png

0 Likes
Message 4 of 5

maxim_k
Consultant
Consultant
Accepted solution

@camille_bobeau ,

 

>>>>>When I put in the command LA or LAYER it does not make appear any of those options you mentionned (see pic below)

 

You need to use -LAYER command (with dash in front of the command name):

 

2025-03-18_15-00-24.png

 

I gave a link to the command in the help for a reason.


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 5 of 5

camille_bobeau
Explorer
Explorer

OK I feel really stupid now. I hadn't realised the "-" was part of the command.

Thank you very much.

0 Likes