pjotrki Posted May 13, 2015 Share Posted May 13, 2015 (edited) Hello, I want to select a block inside VBA. I know the x-y-z coördinates of the insertion point of the block. I also know the block name. I can select all the blocks with that name in the drawing. Then iterate through the selectionset containing all the blocks with that name and check the insertionpoint-coördinates for a match. When there are very much blocks this is a consuming task. Is there a better way? Something like selecting wathever is on the x-y-z coördinate, the same thing you do in the drawing editor when you select 1 item by clicking on the screen with the mouse. Thank You Very much, Peter Van der Velden Edited May 14, 2015 by pjotrki Typo's Quote Link to comment Share on other sites More sharing options...
SEANT Posted May 13, 2015 Share Posted May 13, 2015 In a similar fashion as shown in post #2 of this thread: http://www.cadtutor.net/forum/showthread.php?22812-Remove-lines-objects-with-VBA-code The Insert can be filtered via the insertion point (group code 10). Quote Link to comment Share on other sites More sharing options...
pjotrki Posted May 14, 2015 Author Share Posted May 14, 2015 Hello SEANT, Thank You for the quick reply, I will try this out and see if this solves my problem. See You Peter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.