![]() ![]() Near the bottom should be the 'allow exploding' pulldown options. import arrayįrom comtypes.client import CreateObject,GetModule, GetActiveObjectĪcad = GetActiveObject("AutoCAD.Application")Īcad = CreateObject("AutoCAD. Open the block in the block editor and, without selecting anything, open properties. ![]() If somebody help me in how to correct the syntax to avoid this 'KeyError:9' will be appreciated. I made an exception when using the command 'entity.Explode()' and after, loop through the blocks in ModelSpace to get the inserted block again. But I do notice that the layer in AutoCAD when it is a. We have worked out how to explode it, but this makes all of the blocks within the drawing revert back to one particular door type. Basically it is a block which can be clicked on and changed to whatever type of door you want it to be. I found a solution to work around the 'KeyError:9'. When I import a file from AutoCAD, and use explode on the blocks they keep their respective layers. AutoCAD 2011 Posted FebruA work colleague is trying to explode a (dynamic) block of a door. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |