Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Create new Layer Macro

Anonymous

Create new Layer Macro

Anonymous
Not applicable

Hi,

 

I am trying to figure out how to create macros to manage my layers so I can easily switch between existing, demolition, and new layers as well as floor plan layers and ceiling plan layers.

 

I.E.: I want to be able to be working on one model space (say a floor plan) but then I want to be able to click a marco called New Ceiling, so the macro will turn off all irrelevant layers and turn on all relevant layers.

 

Thanks for the help!

0 Likes
Reply
Accepted solutions (2)
1,243 Views
4 Replies
Replies (4)

Patchy
Mentor
Mentor
Accepted solution

Why can't you use LAYERSTATE ?

0 Likes

john.vellek
Alumni
Alumni

Hi @Anonymous,

 

Welcome to the Autodesk Community!

 

I agree with Patchyt that you likely want to use Layer States for this kind of activity. Here is a link to an AKN Article that describes the functionality.

 

Now, if you need something more than that, I suggest that can be done with a Macro or a LISP routine.

 

If you use the Action Recorder remember that it is best to use only command line type functions.

 

For instance, if you want something a bit more global than remembering specific layers the way Layer States does try something like this:

-Layer

Thaw

0

on

0

s

0

freeze

all

thaw

A-CLNG*

 

This type of macro would turn on just architectural ceiling layers.

 

Let me know if either of these approaches will help your process or if you need additional information.

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes

john.vellek
Alumni
Alumni
Accepted solution

Hi @Anonymous,

 

I am checking back to see if my post helped you with your problem or if you need additional assistance or information. Please add a post with how you decide to proceed and your results so other Community members may benefit.

Please hit the Accept as Solution button if my post fully solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
0 Likes

Anonymous
Not applicable

Hi,


I am sorry to not have replied yet. I haven't had the time yet to try out the suggested solutions. I'll keep you posted.

 

Thanks!

0 Likes