landrvr1 Posted March 31, 2008 Share Posted March 31, 2008 Does ANYONE have a clue as to how you delete a block/style parent? I imported some stuff from AutoCAD for a project, and two parents came with. I've tried editing in schematic view, etc with no results. This is absolutely driving me bonkers. BONKERS! :mad: :mad: Link to comment Share on other sites More sharing options...
mattclinch Posted March 31, 2008 Share Posted March 31, 2008 before you import your drawing explode everything right down and then purge your scene (file > drawing utilities > purge). in max i think the blocks link to pieces of geometry or splines and deleting them usually takes the associated geometry with it. If you convert all geometry to edit polys or editable splines it usually lets you delete them. Link to comment Share on other sites More sharing options...
JonRashid Posted March 31, 2008 Share Posted March 31, 2008 If u hide all objects and shapes and do a select invert it will pick all the blocks etc. You can then delete and unhide everything again. Link to comment Share on other sites More sharing options...
landrvr1 Posted March 31, 2008 Author Share Posted March 31, 2008 Hmm. No luck guys. Thanks though. Selecting the child and delete leaves the parent. Can't delete the parent, but I can move it (and the child follows). Weird. I just copied all the other info in the drawing and did a Save Selected to a new file. Still, would love to know how to delete those buggers. Link to comment Share on other sites More sharing options...
quizzy Posted March 31, 2008 Share Posted March 31, 2008 I got a script somewhere that does that.... i'll have to look for it... Link to comment Share on other sites More sharing options...
quizzy Posted March 31, 2008 Share Posted March 31, 2008 ah there we go.. this is a macroscript that removes all links... Link to comment Share on other sites More sharing options...
landrvr1 Posted April 1, 2008 Author Share Posted April 1, 2008 quizzy, thanks. Having trouble firing up that script. I only seem to get the script editor window. Running the script doesn't seem to work. Any suggestions? Link to comment Share on other sites More sharing options...
Nic H Posted April 1, 2008 Share Posted April 1, 2008 you can delete/ unlink the links in the links dialouge. no script needed Link to comment Share on other sites More sharing options...
quizzy Posted April 1, 2008 Share Posted April 1, 2008 its a macroscript, so you have to run it, then customize toolbar, and find the script from that menu.. the catagory is: CAD cleanup Link to comment Share on other sites More sharing options...
kbotnen Posted April 7, 2008 Share Posted April 7, 2008 Same problem here. Have to get rid of the Block/Style links. Tried the script. run script -> assign to hotkey -> press hotkey -> nothing happens. Block/Style parent (Object) still show up in schematic view. max 2008. -K- Link to comment Share on other sites More sharing options...
quizzy Posted April 7, 2008 Share Posted April 7, 2008 I'm still on max9 so I cant try it out for you... Link to comment Share on other sites More sharing options...
kbotnen Posted April 7, 2008 Share Posted April 7, 2008 I found another script: http://www.vizdepot.com/forums/printthread.php?t=7905 This was a solution for me, maybe not for everybody. It does not convert geometry, its completely delete the objects. My polycount went down 50% and I have to fix alot of thing. But I needed it to get my exporter to succeed, it did, rest of the mess I can fix manually -K- Link to comment Share on other sites More sharing options...
maxtol Posted November 27, 2008 Share Posted November 27, 2008 Thanks quizzy! its works perfect on MAX 2008. To run it I just follow your instructions. Link to comment Share on other sites More sharing options...
Justin Hunt Posted November 28, 2008 Share Posted November 28, 2008 (edited) is this just for 2D dwg files or does it work with 3D dwg file too. jhv Just tested, crapped out on a large file (3000+ ADT objects) and worked great on a smaller file (300 adt objects) Just trying again on the larger file Edited November 28, 2008 by Justin Hunt more info Link to comment Share on other sites More sharing options...
kadu_neil Posted November 17, 2011 Share Posted November 17, 2011 its a macroscript, so you have to run it, then customize toolbar, and find the script from that menu.. the catagory is: CAD cleanup THANKYOU so much for that script and help on how to use it...... i can now delete "parent block style objects" without disturbing my max scene geometry..... thanks again friend. Link to comment Share on other sites More sharing options...
davetyner Posted November 18, 2011 Share Posted November 18, 2011 this works for me (max 2011) for o in objects do ( o.controller=prs() if classof o.parent == LinkComposite do o.parent = undefined ) for o in objects where classof o == LinkComposite do delete o Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now