Is it possible to extract a block from a block and inserted in the same location ?
Command: enb
Select Nested Block: ; error: Exception occurred: 0xC0000005 (Access Violation)
; warning: unwind skipped on unknown exception
Both routines gave me the same result (error) ;QuoteCommand: enb
Select Nested Block: ; error: Exception occurred: 0xC0000005 (Access Violation)
; warning: unwind skipped on unknown exception
No , I am not using dynamic block and not on locked layer either , but maybe due to OS is 64 ?
No , I am not using dynamic block and not on locked layer either , but maybe due to OS is 64 ?
Ah yes! That would explain it :-)
I have modified the above posts with updated code, please give them a try :-)
OMG , the same result :oops:
My apologies for wasting your time Tharwat, I've just noticed my simple mistake: 'objectidtoobject32' is a method, not a property like 'ownerid32', so I should have used vlax-method-applicable-p over vlax-property-available-p. I think modified things a little too hastily earlier..
Please try the above modified code if you get a chance :-)
Yeah ... now it is perfect :-)
So can we make it with ssget function for multiple selection set and getting them all within one base point ?
Good evolution Lee :)
this is birliant Lee :)
code is very usefull.
hats off
kruuger
however, the change to the Block Definition will be reflected across all Block References, so it may be better to have the code extract the nested block for all references - I'll see what I can do when I get some time. :-)