Skip to main content
Mar 26, 2019 4:36 PM UTC
Archived

LOOKUP_INST: Set Match Mode for Each Parameter Independently

Related products:Creo Parametric

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 reply

olivierlp
Community Manager
Apr 4, 2023 5:26 PM UTC
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.

Olivier