mateen Posted October 30, 2012 Share Posted October 30, 2012 When i save the drawing it gives that message, *Warning* Multiply owned object, handle "D2209" i don't this is what? plz tell me? thanks advance:D Quote Link to comment Share on other sites More sharing options...
MSasu Posted October 30, 2012 Share Posted October 30, 2012 Please paste the line below on your command prompt, it will highlight the trouble-maker entity: (progn (command "_ZOOM" "_O" (setq x (handent "D2209")) "")(sssetfirst nil (ssadd x))(princ)) Quote Link to comment Share on other sites More sharing options...
mateen Posted October 30, 2012 Author Share Posted October 30, 2012 When i paste this line below on my command line prompt it show this message,,, [All/Center/Dynamic/Extents/Previous/Scale/Window/Object] : _O Select objects: now what should i do? Quote Link to comment Share on other sites More sharing options...
MSasu Posted October 30, 2012 Share Posted October 30, 2012 That code was supposed to focus on the entity bearing that handle (highlight and zoom to it). But, for sure, this will work only for graphical entities. Seems that it not work with your entity - I never saw such identificator (Bad Entity name). Try to paste this in command prompt and post here the result: (entget (handent "D2209")) Quote Link to comment Share on other sites More sharing options...
mateen Posted October 30, 2012 Author Share Posted October 30, 2012 now this message show that ; error: bad argument type: lentityp nil and now i save the drawing it shows no any warning so it is pretty cool code thanks msasu Quote Link to comment Share on other sites More sharing options...
mateen Posted October 30, 2012 Author Share Posted October 30, 2012 ohhh my God again show this warring message......... Quote Link to comment Share on other sites More sharing options...
MSasu Posted October 30, 2012 Share Posted October 30, 2012 Both code excerpts from above were only trying to identify the trouble-maker entity; neither will do a fix on the drawing, so cannot be the source of that temporary fix. By the way, did you tried to run an AUDIT on that drawing? Quote Link to comment Share on other sites More sharing options...
mateen Posted October 30, 2012 Author Share Posted October 30, 2012 i use audit and recover as well but warning message is constant.... :'( Quote Link to comment Share on other sites More sharing options...
SLW210 Posted October 30, 2012 Share Posted October 30, 2012 I found this... Try (entdel (handent "D2209")) Should delete it. Quote Link to comment Share on other sites More sharing options...
mateen Posted October 31, 2012 Author Share Posted October 31, 2012 SLW210 i used this code but warning remain constant..... Quote Link to comment Share on other sites More sharing options...
mateen Posted October 31, 2012 Author Share Posted October 31, 2012 that is the drawing which have warning error msasu and slw210 General Notes, Legend.dwg Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 31, 2012 Share Posted October 31, 2012 I have openned your drawing and get no warning messages other than the one warning me that the drawing contains macros. I'm sorry but I am not openning up an unknown drawing and enabling contained macros. I checked MSasu's code to find the following "offending" item <Entity name: 7ee96408> Command: (entget x) ((-1 . <Entity name: 7ee96408>) (0 . "BLOCK") (330 . <Entity name: 7ee910d8>) (5 . "D2209") (100 . "AcDbEntity") (67 . 0) (8 . "0") (100 . "AcDbBlockBegin") (70 . 0) (10 0.0 0.0 0.0) (-2 . <Entity name: 7ee910e0>) (2 . "_ARCHTICK") (1 . "")) but as I said above, the drawing is good here. I will leave it to MSasu to suggest whether the macro could be the cause of your problems. Quote Link to comment Share on other sites More sharing options...
mateen Posted October 31, 2012 Author Share Posted October 31, 2012 dbroada when you save the drawing that time you will see the warning message after save it.... Quote Link to comment Share on other sites More sharing options...
dbroada Posted October 31, 2012 Share Posted October 31, 2012 dbroada when you save the drawing that time you will see the warning message after save it....no I don't. It saves as I would expect. I can't replicate your problem so can't help. Quote Link to comment Share on other sites More sharing options...
mateen Posted October 31, 2012 Author Share Posted October 31, 2012 now i don't know what i should i say.... may be its me software problem.. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted October 31, 2012 Share Posted October 31, 2012 Well here is what I get, Macro not enabled... (progn (command "_ZOOM" "_O" (setq x (handent "D2209")) "")(sssetfirst nil (ssadd x))(princ)) _ZOOM Specify corner of window, enter a scale factor (nX or nXP), or [All/Center/Dynamic/Extents/Previous/Scale/Window/Object] <real time>: _O Select objects: <Bad Entity name: BFB09408> Command: (entget (handent "D2209")) ((-1 . <Entity name: -404f6bf8>) (0 . "BLOCK") (330 . <Entity name: -404e0f28>) (5 . "D2209") (100 . "AcDbEntity") (67 . 0) (8 . "0") (100 . "AcDbBlockBegin") (70 . 0) (10 0.0 0.0 0.0) (-2 . <Entity name: -404e0f20>) (2 . "_ARCHTICK") (1 . "")) With Save As.... Command: _SAVEAS *Warning* Multiply owned object, handle "D2209" Quote Link to comment Share on other sites More sharing options...
MSasu Posted October 31, 2012 Share Posted October 31, 2012 The trouble-maker entity is a block that seems to don't have any instance inside the drawing. A solution that worked in my tests was to copy entire content of the drawing into a new one. The said block is retrived too, but seems to be fixed. Quote Link to comment Share on other sites More sharing options...
ptatohed Posted November 5, 2013 Share Posted November 5, 2013 I found this... Try (entdel (handent "D2209")) Should delete it. That worked, thanks. (of course I have no idea what was deleted?) 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.