Jump to content
Developer Wiki and Function Reference Links ×

Importing DXF data


Recommended Posts

I import Ordnance Survey data into VW on a regular basis. This data brings with it many as many as 40 differnt classes. At the moment I manually insert a prefix OS- in front of each class so that they will all become a subset of the 'OS' class. Is there a script that will automate this task and save me a lot of work.

Many thanks.

Link to comment

See if this does what you want.

Dave--------------------Procedure RenameClasses;VAR

ClassName,NewName:STRING;i: INTEGER;

BEGINi:=1;

REPEATClassName:= ClassList(i);NewName:= Concat( 'OS-',ClassName );RenameClass ( ClassName, NewName );i:=i+1;UNTIL i = (ClassNum+1);

Sysbeep;AlrtDialog('Renaming classes is complete!');

END;Run (RenameClasses);

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
Reply to this topic...

×   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...