Lee Mac Posted May 28, 2010 Share Posted May 28, 2010 (edited) I wrote this a few days ago, following a request from one of the members on here, but didn't quite perfect it. The program will operate in much the same way at the native Burst command, but should be a lot faster and won't create text from Invisible Attributes. Give it a shot and let me know what you think Speed Comparison: Block with two Single-line Attributes, 400 to process. Program Time -------------------------------------- Express Tools' Burst.lsp 8003 ms [b][color=Navy]Upgraded Burst 2792 ms[/color][/b] Block with 1 multiline Attribute, 400 to process. Program Time -------------------------------------- Express Tools' Burst.lsp 8205 ms [b][color=Navy]Upgraded Burst 2512 ms[/color][/b] Code available here Edited November 26, 2010 by Lee Mac Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Lee, Just tested it on one block with attributes and I got this error: Select objects: ** Error: no function definition: VLA-GET-EXPLODABLE ** Command: Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 Ooo, I haven't had that reported before... blocks do have the 'Explodable' property, so I'm not sure why that would be the error. Can anyone else report this? Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Ooo, I haven't had that reported before... blocks do have the 'Explodable' property, so I'm not sure why that would be the error. Can anyone else report this? I will post the block drawing for you to try it yourself. Let me know what happens. BURST2.dwg Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 By the way, This is one of those blocks created with an entmake program. Not sure if thats important. Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 In fact, just checked, the Express Tool's version of this command also uses that function... I used the express tools version on it and it works fine. Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Not sure if it matters, I am using your program in 2004 and having this problem. I tested in 2009 also and all is OK. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 Perhaps that function doesn't exist in '04... Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 Please try the updated code in 2004 Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Please try the updated code in 2004 Hot Dog! On the money. What did you find? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 Hot Dog! On the money. What did you find? I just thought that function was available in all versions is all - they don't really specify in the help file in which version functions were introduced, so its a bit hit and miss sometimes, and I don't think anybody had tested it in a version as old as 2004 before. So I just put in a check that the property was available before calling it. Simples. Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Well that solves that. I deleted the other post so nobody downloads that thinking it was yours. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 Well that solves that. I deleted the other post so nobody downloads that thinking it was yours. Good point, also the fact that its illegal to post the ADesk version Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Sorry about that. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 No sweat mate Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 Updated first post with speed information Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 Updated first post with speed information It has a built-in speedometer? Pull Over, I want to see your licence and registration. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted May 28, 2010 Author Share Posted May 28, 2010 No, I just compared both functions using another bit of code Quote Link to comment Share on other sites More sharing options...
The Buzzard Posted May 28, 2010 Share Posted May 28, 2010 No, I just compared both functions using another bit of code Never take me seriously. Quote Link to comment Share on other sites More sharing options...
mexxx_ Posted July 14, 2010 Share Posted July 14, 2010 Hello, the block Layer is not taken over if objects on Layer 0. 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.