<CODE><s>
Code: Select all
</s>[i]Command:[/i]: blockcreate
Transaction failed. Please check for block recursions and locked or invisible layers or blocks<e>
The new block was created with all the entities being moved to the new block but the block reference was not created on the Model in its place after the move. I then tried to "Block Insert" to put it back on the Model. I got:
<CODE><s>
Code: Select all
</s>[i]Command:[/i] blockinsert
Transaction failed. Please check for block recursions and locked or invisible layers or blocks<e>
I discovered that a layer (in this case only one layer was used) used by the selection going to the new block was in edit mode. It appears that the "Create Block from Selection" routine isn't checking/needs to check for locks on layers associated with the selected entities at the beginning of the routine before executing the actual creation of the new block and removing the selected entities from the Model block. Just guessing, but the error is thrown in a subroutine creating the block reference since it happens also on a "Block Insert". Or maybe the "Block Insert" shouldn't care about layer locks since it is only creating a reference and not altering the block's layer attributes?