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

assign parameters value from external file in creo

Lucius Fox

Guest
Hello everyone,
Does anyone know how to import strings contained in a text file and assign them to existing parameters in creo?
example:
I would like to create a macro that assigns to the parameter "description" the value "lamiera thickness 5" contained in a saved text file, for example, on the desktop.
 
I don't think that's possible.
you import parameters with their values from a file, but you do not import parameters values.
 
you have to use a '.xml file; not a simple text file.
for example a file with desired parameter:

xml version="1.0" encoding="utf-8"?<creoparamset><parameter name="descrizione"><datatype>string</datatype><value>sheet thickness 5</value></parameter></creoparamset>then create the macro with import this file into the parameter menu.

Hi.
hinges
 

Forum statistics

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

Members online

No members online now.
Back
Top