Message 1 of 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to create a command button to control a custom hatch. What should my program look like in a LSP? Below is all I have got to. I'm trying my best to learn LSP code but it is taking more time than I thought. I need it to place the hatch under layer "NOT IN SERVICE" and the hatch type to be ANSI37. So when I have a shape that I need to fill with hatch, simply press the command button in the Tool Palette and it will hatch the area selected.
(defun c:hatch (/)
(command
"-layer" "set" "NOT IN SERVICE" ""
)
)
Solved! Go to Solution.