Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

with lookup_inst function variants change family table via parameters

b_Mulli

Mechanical
Dec 5, 2024
1
I want to create the length parameter in an assembly. The parameters should then be used to install the corresponding length of the variant of the part.

I managed to read out the corresponding variant using the LOOKUP_INST function, but I can't get the part to be replaced.

The Add PArt function simply doesn't work.
1733408068523.png
 
Replies continue below

Recommended for you

I don't see anything that seems wrong.

Have a read of https://www.eng-tips.com/threads/pro-program-swapping-components-in-an-assembly.423573/

Debugging from a distance is never easy.

If you make a simpler assembly to practice on; one where the only component is an instance and you create a single parameter to make the comparison against it may make the error more obvious and provide a short enough Pro/Program to see the entire thing.
 

Part and Inventory Search

Sponsor