• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

load external parameters

  • Thread starter Thread starter blubossa
  • Start date Start date

blubossa

Guest
Bye to all,
is it possible to charge the parameters of a part from an external file?

for example from a txt, xls

Thank you.
bb
 
Hey, bb,

the few times that I had the need to insert a number of parameters on so many .prts, I did it through a txt file where I reported the values:

param1 = 10
param2 = aaaaaa
etc.

inserted through the reports:
instruments > relations > file > import relations

the probe is that in doing so the previous relationships are erased.
I hope a better way out.
 
Hey, bb,

the few times that I had the need to insert a number of parameters on so many .prts, I did it through a txt file where I reported the values:

param1 = 10
param2 = aaaaaa
etc.

inserted through the reports:
instruments > relations > file > import relations

the probe is that in doing so the previous relationships are erased.
I hope a better way out.
In fact it is a good problem....I need to add only one parameter with standard value to a project already existing for example the name of the project....without having to lose all existing relationships

Who knows that there is no method of settlement...:redface:

bb
 
Hi.
I to add a block of relationships I created a macro that modifies the parameter "new_relation_ui" by setting it on no.
This system allows you to return to a historical setting that, from "log message" allows you to add lines of relationship.
once I put what I think I return to set the parameter to yes so I never find any trouble in the interface

I hope I've been clear
 
Sorry, I use proe in Italian and I don't know how else to call him...
the "log messages" in the proe window is the one where the information is communicated; once you set the new_relation_ui parameter on yes go to tools -> reports. arrived at this sting you will see that you will no longer be painted the classic windows of the relationships, but will appear this compilation string in the log.
 
just beat sending and makes you add the second
In short, if you have to write:

if parameter = yes
pippo=1
endif

you will write row one and then send, the two sending, the three sending and the fourth sending without writing anything
then reimposti all to standard new_relation_ui=yes

the beauty is that with a macro you can write even gigantic blocks, you just have to edit it and do as many as you want. I mean.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top