Change Attribute Field Based On Part Length

Change Attribute Field Based On Part Length

james_walker8HDGM
Observer Observer
244 Views
1 Reply
Message 1 of 2

Change Attribute Field Based On Part Length

james_walker8HDGM
Observer
Observer

Was hoping some could help me. I'm new to Dynamic (parametric) blocks and not sure if this is possible.

 

I have created a dynamic block with an attribute field. Based on the length of the item, the attribute field will be one of three options. Is it possible to automatically set the attribute field based on the part length?

 

For example, if the length is exactly 12, then the attribute field would have a -001 suffix. If the length is exactly 24, then the attribute field would have a -002 suffix. If the length is neither 12 nor 24, then attribute field would have a -003 suffix.

 

Have attached a JPG file showing the the part with a length of 12.

0 Likes
Accepted solutions (1)
245 Views
1 Reply
Reply (1)
Message 2 of 2

Libbya
Mentor
Mentor
Accepted solution

For future reference, posting the block file is useful.  Posting images isn't really useful.  

 

You could accomplish your desired functionality by inserting a lookup parameter and lookup action.  When setting up the table you will need to add the linear parameter as an input property.  You'll need three rows, one for each of the suffix values.  Then insert the appropriate range values and specific values into the table to match the lookup properties you want displayed as the suffixes.  Use a blockplaceholder field referencing the lookup value for the suffix.  

 

Post your block file if you need further assistance.

0 Likes