cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

get the ProParameter name

Eike_Hauptmann
13-Aquamarine

get the ProParameter name

Hi @ all,


I've code and compile in VS 2005 with the wf4 lib's. I have a visit function to look at every parameter and would delete the one's that fits to an regular expression. But I don't know how I get the name of the parameter. I've only have the handle but find no function to get the name out of it.



Thanks in advance,


best regards,


Eike


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2

body{font-size:10pt;font-family:arial,sans-serif;background-color:#ffffff;color:black;}p{margin:0px;}ProWstringToString(name, parameterObject.id)

Hey Eike!
A ProParameter is a struct with a type, id and owner. The id is a ProName which is the name.

typedef struct proparameter
{
ProType<proobjects_h.html#protype> type;
ProName<prosizeconst_h.html#proname> id;
ProParamowner<proobjects_h.html#proparamowner> owner;
} ProParameter<proobjects_h.html#proparameter>;



Patrick Williams | Engineering Systems | c: 616.947.2110
[cid:image002.jpg@01CD7557.5F8CA5F0]
Top Tags