![]() I cant figure out why? I have unlocked all layers, opened the entity for Write, CommandFlags have been set to Session and UsePickSet (shuffled through all). Later, when the application is available, the proxy object is replaced by the custom object. ![]() Using (Transaction tr = db.TransactionManager.StartTransaction())Įntity ent = (Entity)tr.GetObject(so.ObjectId, OpenMode.ForWrite) Īs soon as the control comes on to the ent.Erase() statement - it throws an exception, eCannotBeErasedB圜aller. Proxy Objects A proxy object is a substitute for a custom object when the ObjectARX application that created the custom object is not available to AutoCAD, AutoCAD LT, or other host applications. Using (DocumentLock acLckDoc = doc.LockDocument()) To enable the Proxy Information dialog box, Type Op in the Command line and press Enter. Here is a snippet of the code I working on: PromptSelectionResult ss = ed.SelectAll() Every recursive call of the Explode function creates a new exploded 3D object of that object. While doing this I face a problem, the original (un-exploded 3D object) is still present in the drawing, super imposed by the Exploded object. I am working on a Task in which the code automatically opens a drawing selected by the user and selects all the objects in the drawing and starts to explode all the of them till they cant be exploded anymore. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |