| Author |
Message |
Ba-Thong Phan
Guest
|
Posted:
Mon May 09, 2005 3:42 pm Post subject:
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 ?
|
|
| Back to top |
|
 |
Kumar
Guest
|
Posted:
Mon May 09, 2005 4:10 pm Post subject:
Re: Convert all files from metric to inch |
|
|
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 |
|
| Back to top |
|
 |
GWDavis28
Joined: 08 Apr 2005
Posts: 70
Location: Massachusetts
|
Posted:
Mon May 09, 2005 7:15 pm Post subject:
re:Convert all files from metric to inch |
|
|
Ba-Thong Phan, this could probably be done with a programmer that knows Pro-Toolkit. They could set it up to run Pro-E with no_windows and then execute the needed commands to run the conversion. But it would take a while to program it. If you only have a handful of parts, then do it manual like Kumar explained. Otherwise, look for a Toolkit programmer.
I looked at PTC to see if it could be done via Pro-Batch, but there wasn't anything that indicated that Pro-Batch would work.
Good luck, Glenn |B)
|
|
| Back to top |
|
 |
Ba-Thong Phan
Guest
|
Posted:
Tue May 10, 2005 5:44 am Post subject:
Re: Convert all files from metric to inch |
|
|
Hi guys,
I managed to change the unit for individual file. But I have more than
800 files to convert.
Thanks, |
|
| Back to top |
|
 |
David Janes
Guest
|
Posted:
Tue May 10, 2005 6:32 am Post subject:
Re: re:Convert all files from metric to inch |
|
|
| Quote: | "GWDavis28" <Glenn_W_Davis@Raytheon-dot-com.no-spam.invalid> wrote
Ba-Thong Phan, this could probably be done with a programmer that
knows Pro-Toolkit. They could set it up to run Pro-E with no_windows
and then execute the needed commands to run the conversion. But it
would take a while to program it. If you only have a handful of
parts, then do it manual like Kumar explained. Otherwise, look for a
Toolkit programmer.
I looked at PTC to see if it could be done via Pro-Batch, but there
wasn't anything that indicated that Pro-Batch would work.
Good luck, Glenn |B)
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 |
|
| Back to top |
|
 |
GWDavis28
Joined: 08 Apr 2005
Posts: 70
Location: Massachusetts
|
Posted:
Tue May 10, 2005 6:24 pm Post subject:
Re: re:Convert all files from metric to inch |
|
|
| David Janes wrote: |
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[/quote]
David, I didn't know this, but it's good to know. so you mean that he could take all of his file and create one big ass assembly. Then run Mechanica and convert them all that way. Nice job.
Glenn |B) |
|
| Back to top |
|
 |
Chinh Pham
Guest
|
Posted:
Wed May 11, 2005 12:10 am Post subject:
Re: Convert all files from metric to inch |
|
|
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. <grin>
C.Pham
On 9 May 2005 17:44:24 -0700, "Ba-Thong Phan" <phanbt@gmail.com>
wrote:
| Quote: | Hi guys,
I managed to change the unit for individual file. But I have more than
800 files to convert.
Thanks, |
|
|
| Back to top |
|
 |
Rod Giles
Guest
|
Posted:
Wed May 11, 2005 12:10 am Post subject:
Re: Convert all files from metric to inch |
|
|
David Janes wrote:
| Quote: | "GWDavis28" <Glenn_W_Davis@Raytheon-dot-com.no-spam.invalid> wrote
Ba-Thong Phan, this could probably be done with a programmer that
knows Pro-Toolkit. They could set it up to run Pro-E with no_windows
and then execute the needed commands to run the conversion. But it
would take a while to program it. If you only have a handful of
parts, then do it manual like Kumar explained. Otherwise, look for a
Toolkit programmer.
I looked at PTC to see if it could be done via Pro-Batch, but there
wasn't anything that indicated that Pro-Batch would work.
Good luck, Glenn |B)
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
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 |
|
| Back to top |
|
 |
David Janes
Guest
|
Posted:
Wed May 11, 2005 5:57 am Post subject:
Re: re:Convert all files from metric to inch |
|
|
| Quote: | "GWDavis28" <Glenn_W_Davis@Raytheon-dot-com.no-spam.invalid> wrote
David Janeswrote:
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 |
David, I didn't know this, but it's good to know. so you mean that he
could take all of his file and create one big ass assembly. Then run
Mechanica and convert them all that way. Nice job.
[/quote]
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 |
|
| Back to top |
|
 |
dakeb
Guest
|
Posted:
Wed May 11, 2005 12:44 pm Post subject:
Re: Convert all files from metric to inch |
|
|
"Rod Giles" <rod.giles@dsl.pipex.com> wrote in message
news:42812b09$0$338$cc9e4d1f@news.dial.pipex.com...
| Quote: | David Janes wrote:
"GWDavis28" <Glenn_W_Davis@Raytheon-dot-com.no-spam.invalid> wrote
Ba-Thong Phan, this could probably be done with a programmer that
knows Pro-Toolkit. They could set it up to run Pro-E with no_windows
and then execute the needed commands to run the conversion. But it
would take a while to program it. If you only have a handful of
parts, then do it manual like Kumar explained. Otherwise, look for a
Toolkit programmer.
I looked at PTC to see if it could be done via Pro-Batch, but there
wasn't anything that indicated that Pro-Batch would work.
Good luck, Glenn |B)
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
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 ;-)
|
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. :-) |
|
| Back to top |
|
 |
|
|
|
|