PDA

View Full Version : Moving attributes between classes in WM.


Thom Ivancso
01-30-2004, 07:05 AM
Hello All,

I have been given a legacy WM System to care for and we are running the Desktop interface. This interface was not as thought out as it should have been during its creation so hence forth it needs to be fixed.

My issue is that I have 2 - 3 attribute fields in the Parts Class that really need to be moved into the Documents Classes and I am not sure of the best way to do this. Has anyone done this and might have a walk-through they can pass along to me.

I am planning on upgrading to WM version 12.x in the next couple of months, and would like to fix this issue before doing so.

Cheers
Thom

alexniccoli
02-05-2004, 12:56 AM
Hi Thom
I had received the same request from same customers.You need to write a macro.
1-Create attributes that are in the part classes (those that you want to move)on documents classes.
2-Scan all parts item and for each part item get values on those attributes ad put into documents item that are related to the part.
3-Delete attributes in part classes(now are on the document class).
4-Modify templates.

This kind of request means that your customer has same features of the drawing that change from one version to another,otherwise this movement of attributes is useless.
If you need help writing macro,i can help you.
Excuse me for my english.

Alessandro Niccoli

Thom Ivancso
02-05-2004, 08:41 AM
Alex,

Thank you for your reply. You have given me the path I need to follow to get this done. I will contact you if I have trouble writing the macro.

Thanks again

Cheers
Thom :)