Driving a deletion against a length

I am currently setting up the CAD of a plasma cutting table. When I reach a certain length (for example when I go from 4m to 2m), I want some of the occurrences of a repetition to be deleted. It could also be a deletion of a body that takes effect or the number of repetitions that changes and the distance between them that is changed. I'm currently using the parts families with Excel and there must be a way to put a function on them, for example: =if(b8<6; "suppress"; "unsuppress") but I don't know how to do it because if we actually see the suppress and the unsuppress appear, the link with excel seems to break. 

Mercdi to those who will be able to solve the enigma!!

Hello

If these for solidworks, in the part family you must have the status displayed in the column and measure NS=Not delete or S=delete.

These are good for a removal of function on the other hand I think that its will play better if these its

=if instead of if ;)

Good afternoon

 

Steve

Yes I am aware of this feature but it is manual and I am looking for it to be done automatically

Hello

Here is a simple example where the number of taps increases from 3 to 4 if the length of the workpiece exceeds 80mm.

= IIF ("D1@Esquisse1" > 80, 4, 3)

To be adapted according to your needs.

 

See you.


capture.png

Uh

simply like this => =si(b8<6; "S"; "NS")

And normally it should work, at least in our country we use it quite often and it works:)

Here is the part to test.


exemple_equation_repetition_lineaire.sldprt

@remrem

Indeed this trick works, however, it is applied in the solidworks equations and not in the families of parts... I'm going to do the test later to see if it can be applied in Excel.

 

@centor

This thing doesn't work, the link with solidworks breaks. You can indeed see the S or the NS but it has no effect... I'll send you a youtube link so you can see shortly.

Hello, a new feature in 2014 allows you to use equations directly in a family of parts. See this link:

http://help.solidworks.com/2014/french/WhatsNew/c_configurable_equations.htm

For an example, see this video:

https://www.youtube.com/watch?v=TmIbUxC2jxo

 

1 Like

Hello

With an excel formula in the table, the operation is identical.

See the attached file.

This time the formula is  =IF( "D1@Esquisse1" > 80; 4; 3 )

See you


exemple_equation_repetition_lineaire__2.sldprt

Hello

To make this type of configuration I would rather look at DriveWorks X'Press.

@+

 

1 Like

Why not use the length (4 or x m), to drive the number of repetitions (of the body or function) in an equation like Nrep = Ent[(L-2xDbord)/E]

something like that (to check with the history of +/-1 of the repetition).

This allows for the use of other lengths.

1 Like