Convert all files from metric to inch

I'm new to Pro/E Wildfire. I need to convert several files (more than hundred of them) from meter to mm or from mm to inch. Does anyone know any utility or technique to convert them all in one shot ?

Reply to
Ba-Thong Phan
Loading thread data ...

hi dear,

u need to go to Edit>setup>units

here u will have an option to chane the units of ur model try this & get back to me

Regards, Kumar

Reply to
Kumar

Ba-Thong Phan, this could probably be done with a programmer tha knows Pro-Toolkit. They could set it up to run Pro-E with no_window and then execute the needed commands to run the conversion. But i would take a while to program it. If you only have a handful o parts, then do it manual like Kumar explained. Otherwise, look for Toolkit programmer

I looked at PTC to see if it could be done via Pro-Batch, but ther

wasn't anything that indicated that Pro-Batch would work

Good luck, Glenn |B

Reply to
GWDavis28

Hi guys, I managed to change the unit for individual file. But I have more than

800 files to convert. Thanks,
Reply to
Ba-Thong Phan

There's a cheat that works under very specific circumstances: you need Mechanica and you need the parts to be in assemblies. When Mechanica starts, it offers you the option to set your units. Whatever you set them to, every part in an asssembly gets 'batch' converted to those units because Mechanica can't run with parts in different units from the assembly where they are components. This leads me to believe that there must be conversion utility that Mechanica goes to to do this units conversion. Maybe in one of the /bin directories.

David Janes

Reply to
David Janes

If I were you, I would make a map-key and start going at it. Chances are you probably finish this mundance task and make the dead line before that "magic one click" is found.

I know this is no help, but just throwing in my 2 cents.

C.Pham

Reply to
Chinh Pham

David,

I don't think you need a licence of Mechanica, the conversion takes place BEFORE going into Mech, so it must be in ProE somewhere. I use this 'functionality' all the time when students forget to make things in proper (that's metric here in the UK) units.

If you use this I think that the 'dimension' doesn't change, so this may not be so useful. Looks like batch files are the way to go. Of course Glen could always persuade his company to join 98% of countries in the world in adopting the metric system ;-)

Regards,

Rod Giles

Reply to
Rod Giles

and you need the parts to be in assemblies. When Mechanica starts, i offers you the option to set your units. Whatever you set them to, every part i an asssembly gets 'batch' converted to those units because Mechanica can't run wit parts in different units from the assembly where they are components. Thi leads me to believe that there must be conversion utility that Mechanica goes t to do this units conversion. Maybe in one of the /bin directories

David Janes[/quote

David, I didn't know this, but it's good to know. so you mean that h

could take all of his file and create one big ass assembly. Then ru Mechanica and convert them all that way. Nice job

Glenn |B

Reply to
GWDavis28

Sounds like a lot of work, yeah, but that's exactly what I mean! And, I suspect that a lot of the 800 files will be in assemblies, anyway. I'd be much happier if I could come here and tell everyone that there's this functionality or this utility that will take an entire directory of files and convert them to another system of units. And that's exactly the problem with Chin Pham's Mapkey solution: where does the mapkey get this list, the whole contents of a directory to open and convert. What I'm talking about is an actual convert utility (it must exist in Pro/e and the /bin directories show some such files) to take input (from what, to what) and go through a list of Pro/e files and do the deed, save and move to the next file, bing bing bing. Get to the end of the list and exit. This would certainly be preferrable to making a kloodged assembly to get some completely unrelated files converted from one unit sys to another. Anyway, this type of simplicity, utility and elegance is completely missing in Pro/e: here you are ever aware of a bean counter going 'How can we get some money out of them for a little utility. Oohh, call it an "add on"!?! Yeah, that's the ticket, a new 'module'. Yeah, make 'em pay. That's the ticket. Bean counters rule.' Ummm, does anyone see, here, the formula for PTC nickel and diming ITSELF to death!!!!

David Janes

Reply to
David Janes

Yeah, but it the USA joined the metric system they would round off the conversion so that 1 inch = 25mm, and we would end up with US metric units to go with US miles and US gallons. :-)

Reply to
dakeb

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.