Jump to content
  • 0

unwanted addition of classes


vajrabelle

Question

5 answers to this question

Recommended Posts

  • 0

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 ]

Link to comment

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.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...