Cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Property Manager Data - Macro?

Phenom
Phenom

Hello,

 

I am curious if you guys have a macro which could help update data within Property Manager?

 

What I want to achieve is, having, for example, a Part/Assembly with a material assigned, with its name, I would like to avoid putting on all data by hand.

 

Thanks,

Arek

 

 


Production: SE ST10 MP8
;
7 REPLIES

Betreff: Updating Property Manager Data - Macro?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi @arekkul

 

 

 

first of all, which relation do YOu want to achieve?

 

Material in use into file name, or vice versa?

Some string in the filename should be mapped into the material?

 

 

And second allow me to say my personal opinion!

I think that no relation between any property and especially a material should be mappe into the file name.

What if some proeprties will change?

Will You then change all filenames?

And what if, a similar part already exists and now will get the same material.

What then?

 

Believe me, the simple use of proeprties and the great capabilities from ST9 and ST10 to let them show in explorer too, to search for them and to use them in the same way as any filename could be used makes in much more flexible, easy to use and will never bring You into the situation with an equal filename at different file loactions.

 

My advice here will be:  Use properties rather than a single filename!

 

 

 

regards
Wolfgang

Betreff: Updating Property Manager Data - Macro?

Phenom
Phenom

Hi @hawcad

 

thank you for a quick reply.

Yes, you have a right.

 

What I want to achieve is to automate the process.

File properties.pngAs you can see on the PM some of the fields are empty.

I would like to have a tool which could help me for example copy the document name into the Title.

 

Easily assign Document Number or Project Name. Maybe some Batch command to assign DN or PN to multiple documents in one go?

 

It seams demanding job creating macro - I personally can't do it.

 

Regards,

Arek


Production: SE ST10 MP8
;

Betreff: Updating Property Manager Data - Macro?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi @arekkul

 

 

 

see a simple example of one folder with example files and take a look onto the Material Column.

Besides that You can show any proeprty You like to see in explorer.

And not only show, You also can search for them and filter those columns according to Your needs.

 

Believe me, this is better than havin a filename!

 

 

20180521_1126.png

 

regards
Wolfgang

Betreff: Updating Property Manager Data - Macro?

Phenom
Phenom

Hi @hawcad

 

the problem is that we are using PM fields for creating DWGs data tables - drawings are taking all data from PM.

So all fields need to be properly fulfilled before creating the DWGs.

 

regards,

Arek


Production: SE ST10 MP8
;
Highlighted

Betreff: Updating Property Manager Data - Macro?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi @arekkul

 

 

 

looks like as we have written our last post at the same time and You have clicked the send button some view seconds earlier.

 

 

OK, now we are talking about title and not longer about material, which in fact doesn't make any difference.

 

 

What You want to do is possible with the Property Manager itself.

Just select a complete column and copy the filename to the according column You want it to be.

 

Now You might say, OK, BUT then there is not only the filename but also the ending, the file type.

So just do a simple search/replace and replace ".par" with "" and ".asm" also with ""

That's all!

 

So You can now have Your props where You want them without the need for any additional macro

 

 

 

 

 

regards
Wolfgang

Betreff: Updating Property Manager Data - Macro?

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi

 

This looks pretty easy. I have done similar things but accessing the files through design manager. 

Betreff: Updating Property Manager Data - Macro?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Hi @Alan

 

 

 

Yes it is not difficult at all.

 

And to be honest, I have an old macro (15 years old at least) which will do nearly exactly what @arekkul is asking for:

 

"To take parts of the filename and map that to certain properties!".

Yes we did this at that time.

But due to the changes in API (32/64 bit) I can not say wether this old stuff will work nowdays without any problems.

 

regards
Wolfgang