Over 1.104.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
Discussion forum
?CAD discussions, advices, exchange of experience
CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
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 |
Post Options
Thanks(0)
Quote Reply
Topic: SelHatch0Posted: 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: 2143 |
Post Options
Thanks(0)
Quote Reply
Posted: 15.Aug.2024 at 13:40 |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 15.Aug.2024 at 13:48 |
|
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: 686 |
Post Options
Thanks(0)
Quote Reply
Posted: 15.Aug.2024 at 16:22 |
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 |
Post Options
Thanks(1)
Quote Reply
Posted: 15.Aug.2024 at 16:24 |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 15.Aug.2024 at 20:24 |
|
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: 2143 |
Post Options
Thanks(0)
Quote Reply
Posted: 16.Aug.2024 at 14:34 |
|
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: 11 |
Post Options
Thanks(0)
Quote Reply
Posted: 05.Jan.2025 at 00:45 |
|
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: 2143 |
Post Options
Thanks(0)
Quote Reply
Posted: 05.Jan.2025 at 10:05 |
|
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,156 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)



Topic Options
Post Options
Thanks(0)


w64bit wrote:
