HI there I want to write a LSP routine that sets the layer state from a prompted…
Jump to turn (9)
- 1HI there I want to write a LSP routine that sets the layer state from a prompted
- 2I want this LISP to prompt which layouts in each drawing you would like to apply
- 3how do i save a LISp routine and edit one in visual studio code
- 4I get this error when using the command in Auto desks Civil 3d Error: ; error: n
- 5still getting the same error
- 6again the same error as before.
- 7same issue.
- 8Same Error.
- 9no function definition: VLA-GET-LAYERSTATES this the error I'm getting
- User
HI there I want to write a LSP routine that sets the layer state from a prompted selection of state to every drawing you have open in your session.
- Assistant
Sure! Here's an example of a LISP routine that prompts the user to select a layer state and then sets that layer state for every drawing open in the current session:
lisp