×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Import user part parameter from external file ?

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

RE: Import user part parameter from external file ?

You can export parameter information (Dialog File menu).
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 ?

(OP)
Hi, the goal here is to be able to give to a part certain "user parameters" such as name of the drawn part in several language, or material, etc.. all at once.

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 ?

JBIM,

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 ?

You could do something along the lines of creating your parameters first in the part, then in Pro/Program insert between the 'input' fields your parameters and whatever type they require as an input, eg STRING if it needs a string of text or NUMBER if it needs a numerical value.

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources