CiCAD Posted August 31, 2012 Share Posted August 31, 2012 Is there a way i can control the name of a block that is generated by autocad when using things like to section plane command or flatshot command? Quote Link to comment Share on other sites More sharing options...
ReMark Posted August 31, 2012 Share Posted August 31, 2012 I believe the block naming is automatic therefore you cannot change that aspect of how it works but you can RENAME the block. Quote Link to comment Share on other sites More sharing options...
CiCAD Posted September 2, 2012 Author Share Posted September 2, 2012 yes the problem is identifying the block name that was just created without having to click on the block just created Quote Link to comment Share on other sites More sharing options...
SuperCAD Posted September 2, 2012 Share Posted September 2, 2012 How about using the block editor to save the block as another name, delete the block you don't want, insert the block with the correct name and then purge the unwanted block. Labor intensive, I know, but that is one way to do it. Quote Link to comment Share on other sites More sharing options...
CiCAD Posted September 2, 2012 Author Share Posted September 2, 2012 the idea is to write a macro for the process and eventually a lisp to do multiple section lines along different Z dimensions. then to have it atumattically write over the old blocks. Theoreticlly i have 3 section lines set up one at skirting height one for carcase height below one for upper carcase. after 3d has been updated one click and will update the three old block with sections from the new 3d Quote Link to comment Share on other sites More sharing options...
SuperCAD Posted September 2, 2012 Share Posted September 2, 2012 Give us an example of what you're trying to do with the blocks, or what you hope to gain by renaming them. Maybe there is another way of going about this where you wouldn't need a macro. Quote Link to comment Share on other sites More sharing options...
Murph_map Posted September 3, 2012 Share Posted September 3, 2012 the idea is to write a macro for the process and eventually a lisp to do multiple section lines along different Z dimensions. then to have it atumattically write over the old blocks.Theoreticlly i have 3 section lines set up one at skirting height one for carcase height below one for upper carcase. after 3d has been updated one click and will update the three old block with sections from the new 3d Years ago back in the old day before we had styles and themes in Map3D we did something like that to change the blocks used in maps. We used lisp and ssget entlast to get the last entity added to the dwg database then step back to next ent checking each's type, block, line, etc. and swapping it out with another block. If you're good with lisp look at entlast, entnext functions. 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.