ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SMScott Monday13/07/2021

I am using a text file to control assembly components for a specific customer. The text file can have three options for a actuator component. it can be quantities of 2, 4, or 6. The problem I am having is the clevis pin for mounting the actuators. I need to show four of the clevis pins for the quantities of both 2 and 6, but not four. 

Is there a way to have multiple designations in a "IF" statement? for example: If xxx.sldprt = 2 or 6, then "unsuppressed", "suppressed".

Also, is there a way to include all of the features (components) with the same name in a single equation? For example, if I have 6 bolts that are in one assembly, but not another, can I have a feature statement to include all of them? Or do I have to have a separate line for each bolt?

Thanks in advance!

Scott Monday