Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logical Test Identifying Type of Parameter

Status
Not open for further replies.

sfarra

Automotive
Joined
Jul 25, 2012
Messages
18
Location
US
Hello all-

I was wondering if there is a way to write a logical test in Pro E 4.0 relations that would allow me to perform different actions based on the parameter type. For example: If a parameter called NAME_1 is a string type then it would perform one action but if NAME_1 were a real number type then it would perform another action. I doubt the existence of such a command as this cannot be a common inquiry but thought I'd give it a shot. I am tasked with writing a mapkey that can quickly update old parts to our new standard and this has become a roadblock for me.

Also as an aside, does anyone have a reference documenting the purpose and syntax of each function in Insert > Function... inside of relations? I have been able to find some but not a comprehensive list.

Thanks for your time
 
I can't help much with respect to the first question but might be able to help with some reference material for the relation functions. Go to PTC support website and search for TPI 146615 and/or 146618. They are PTC documents on relation functions. Helped me out a lot getting started but I haven't needed anything beyond those listed.

Hope that helps,

- J -
 
I would have thought you could search for parameters but at least in WF4, they are not available in the search function. Very strange since you can show them in the model tree. Maybe newer versions will let you search for a parameter by a parameter type. If it's not there, submit an enhancement request, given PTC's commitment to user satisfaction it should show up in less than a decade.

----------------------------------------

The Help for this program was created in Windows Help format, which depends on a feature that isn't included in this version of Windows.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top