Over 1.093.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and variables.
Discussion forum
?CAD discussions, advices, exchange of experience

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
SelHatch0 |
Post Reply ![]() |
Author | |
w64bit ![]() Newbie ![]() Joined: 16.Sep.2009 Location: United Kingdom Using: AutoCAD 2024 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() Posted: 15.Aug.2024 at 13:37 |
Hello, Is it possible, please, to make a change in SelHatch0 in order to eliminate manual selection from the code? Entering SelHatch0 command + Enter to select the hatches and closing the command. Thank you |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2111 |
![]() ![]() ![]() ![]() ![]() |
You don't need to select the hatches menually. Just <Enter> and all hatches will be selected automatically.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
w64bit ![]() Newbie ![]() Joined: 16.Sep.2009 Location: United Kingdom Using: AutoCAD 2024 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
I want to use it in a script to automate deleting these hatches: SELHATCH0 ERASE but if there are no hatches the code does not work.
|
|
![]() |
|
Kent Cooper ![]() Senior Member ![]() Joined: 12.Mar.2013 Location: United States Using: AutoCAD2020, 2023 Status: Offline Points: 685 |
![]() ![]() ![]() ![]() ![]() |
What would you expect it to do if there are no Hatches? If it's part of something larger, and no Hatches interferes with its continuing, does it work if you use an actual Enter instead of a space in the Script, for the select-all option? SELHATCH0 ERASE
Edited by Kent Cooper - 15.Aug.2024 at 16:24 |
|
![]() |
|
w64bit ![]() Newbie ![]() Joined: 16.Sep.2009 Location: United Kingdom Using: AutoCAD 2024 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
I ended up using SELHATCH0 (if (ssget "I") (command "ERASE")) |
|
![]() |
|
w64bit ![]() Newbie ![]() Joined: 16.Sep.2009 Location: United Kingdom Using: AutoCAD 2024 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
I found a problem. VLX is selecting also the hatches with non zero area. I attached a file for testing. |
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2111 |
![]() ![]() ![]() ![]() ![]() |
No, this example is a typical object with a zero/undefined area (at least in AutoCAD 2025.1). Try the Properties palette or the AREA Object command.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
|
kriperflag ![]() Groupie ![]() Joined: 30.May.2024 Location: Germany Using: Revit2021 Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
I completely understand your point—it would be much more efficient if SelHatch0 could automate the selection process without requiring manual input. Streamlining this step would save time and make the command more user-friendly, especially for repetitive tasks.
|
|
![]() |
|
Vladimir Michl ![]() Moderator Group ![]() Arkance Systems CZ Joined: 26.Jul.2007 Location: Czech Republic Using: Autodesk software Status: Offline Points: 2111 |
![]() ![]() ![]() ![]() ![]() |
We have added the command DelHatch0 to the new version of this utility (V1.2, see Download). The prompts are the same, but any complaining hatches will be deleted automatically.
|
|
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0,078 seconds.