Import user part parameter from external file ?
Import user part parameter from external file ?
(OP)
Hi,
I would like to know if it is possible to Import user part parameter from external file?
I know that i can do copy paste from one file to another inside pro-e, but i can paste the data in a external txt file for further use.
Any sugestion?
thanks a lot
Wild-fire 4
I would like to know if it is possible to Import user part parameter from external file?
I know that i can do copy paste from one file to another inside pro-e, but i can paste the data in a external txt file for further use.
Any sugestion?
thanks a lot
Wild-fire 4





RE: Import user part parameter from external file ?
I don't know of a way to 'import parameter'.
A bit of contextual information would be helpful.
What, exactly, is the goal?
Would it be ...
(1) Create the same parameter symbolic names in parts
where they don't exist?
I believe(?) ModelCHECK can be used but the easiest
way I know of (and have actually done) is to use the
Model Tree Parameter columns in an assembly.
Assigning values will create the symbol.
You can also create the parameters by defining
Relations ...
new_string_param = "" /* or an actual value */
new_real_param = 0
new_int_param = 0
... copy / paste that in the target part Relations
dialog, Verify Relations (params will be created),
delete the relations (so you can assign values
manually) and Ok.
(2) Reference parameter VALUES of an external part?
Again within an assembly; you can reference external
parameter values with relations in the form
target_object_param = source_object_param:session_id
If you didn't search before posting; try it.
-Jeff Howard (wf2)
Sure it's true. I saw it on the internet.
RE: Import user part parameter from external file ?
I´m a former user of unigraphics and in ug i could create a txt file with all the parameter and paste them in ug just like we do now in pro-e (exept i pro-e i can only paste attribute from one to an other file)
thanks in advance
RE: Import user part parameter from external file ?
Write a mapkey to create one user parameter and then edit the resulting text file to include all your parameters. Now write a mapkey which calls the text file.
--
Fighter Pilot
Manufacturing Engineer
RE: Import user part parameter from external file ?
Then when you regenerate the model, it will ask you where to get the values from for these specified 'inputs'...
Your choices are either:
'current values' which will mean it remains unchanged
'enter' which will present you with a list of the parameters for you to pick which you want to edit then you can edit them directly in the command line in pro/e
'from file' which will ask you for the location of a text file in which are the parameters... this text file needs to be in the format:
parameter_name_1 = whatever
parameter_name_2 = foo
parameter_name_3 = bar
etc...
You could work something along these lines.
HTH
Regards,
Jon Reynolds