vajrabelle Posted January 27, 2006 Share Posted January 27, 2006 When pasting objects from another drawing into the current file, I'd like to have a dialog prompt along the lines of the following (when relevant): This action will create new classes. Do you wish to proceed or assign the new objects to the "None" class? [Choose "Proceed" or "Use None class"] Quote Link to comment
0 MPJDesign Posted January 27, 2006 Share Posted January 27, 2006 indeed...also with Layers? Quote Link to comment
0 Ben W Posted January 31, 2006 Share Posted January 31, 2006 Yes please, as draawings easily get over run with classes, especially if you are copy and pasting drawings from converted autoCAD drawings. Quote Link to comment
0 mac@stairworks Posted February 26, 2006 Share Posted February 26, 2006 It would save a lot of time changing layer and classes afterwards. Quote Link to comment
0 G-Pang Posted February 28, 2006 Share Posted February 28, 2006 Try this, Run this script on imported Autocad file before you copy on your MCD file. procedure RenameClasses; var allclass, i : integer; className1, currentClassName : string; begin className1 := StrDialog('Enter Group Name to all classes:','Import'); allclass := ClassNum; for i := 1 to allclass do begin currentClassName := ClassList(i); RenameClass(currentClassName, Concat(className1,'-',currentClassName)); end; end; run(RenameClasses); * Do not press ESC or Cancel Button when running the command. * Try it on TEST file first to understand the script behavior. G-Pang [ 02-28-2006, 02:38 PM: Message edited by: G-Pang ] Quote Link to comment
Question
vajrabelle
When pasting objects from another drawing into the current file, I'd like to have a dialog prompt along the lines of the following (when relevant):
This action will create new classes. Do you wish to proceed or assign the new objects to the "None" class?
[Choose "Proceed" or "Use None class"]
Link to comment
5 answers to this question
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.