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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

LOOKUP_INST: Set Match Mode for Each Parameter Independently

LOOKUP_INST: Set Match Mode for Each Parameter Independently

Currently lookup_inst match mode is only set once and applies to all parameters being searched.  Searching for a ring shaped part (such as a forging for a machined ring) and ensuring that the OD is large enough and the ID is small enough requires creating an additional parameter (ID2) to invert the ID value (ID2 = -1 * ID) so that a "greater than" search can be used to find a smaller ID.  Forcing an across-the-board match mode also makes it impossible to mix dimensional searches with string searches.  If the match mode is unique per parameter these problems would be solved.

Example:  lookup_inst("forged_ring.prt",1,"OD_forge",OD_mach,-1,"ID_forge","ID_mach",0,"MATERIAL",MATERIAL)

This example would make sure the OD is larger, the ID is smaller, and the material is identical.

1 Comment
olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.