Jump to content

Is there a quick way to convert line colours to classes in VW 12.5


Recommended Posts

Hi guys,

First time post so please be gentle ;-)

Is there a quick way to do this which would apply to all sub-groups and symbols etc.?

It's to do with how different teams of our company exports to Artlantis: one of us assigns materials my class, the other by pen line colour (yes, I know we should all use the same process but there's too many legacy files now).

We've tried using the custom selection tool but this doesn't seem to penetrate groups etc.

Any help would be very much appreciated, a god send actually. Thanks in advance, hope yer all well.

Nick.

Link to comment

Hey, thanks for the quick reply.

When we receive files that are all of the same class (usually 'None'), is there a way to quickly class the entire file up by designating a class to each of their different pen colours?

I know that it's possible the other way round in the Class Editor.

Thanks again.

Link to comment

A worksheet might be easier than a script.

Create a worksheet showing all objects and give it columns for Pen Color and Class.

Make sure the database criteria setting include objects in PIOs, Groups and Symbols.

Sort the resulting database by Pen Color. Select the first line for each pen color and give it the proper class. Copy that class, select the Class cells for all the other objects with the same Pen Color and Paste.

Repeat for the other Pen Colors.

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