• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

logical operators

  • Thread starter Thread starter zippovito
  • Start date Start date

zippovito

Guest
hello to all compliments for work.
I am defining advanced processing functions and would need to use logical operators (if, and, or...)
but the syntax is different from normal programming, in the sw help I couldn't find anything, so I ask someone who might be used.

Thank you in advance.
 
hello to all compliments for work.
I am defining advanced processing functions and would need to use logical operators (if, and, or...)
but the syntax is different from normal programming, in the sw help I couldn't find anything, so I ask someone who might be used.

Thank you in advance.
hi, I did not understand what function you refer to, an attached example is always appreciated and useful, in any case, I believe that the only possibility of using such functions is through the "equations" or with excel sheets.
 
example:
in the equation editor, real equations can be imposed and defined:
we hypothesize to have a definite quota (diameter of a tree) and want to control the share of the seat of the key:

shaft diameter= "x"
key size ="b"
"b"=(if("x"=30;10,12)
in this way if the shaft has diameter 30 the seat for the key will be 10, otherwise it will go 12.

I have imposed cycles with if nested but I do not know how to impose the same or greater position (it does not accept >=, >=, =>).
for this I would need to know the syntax of the various operators
 
example:
in the equation editor, real equations can be imposed and defined:
we hypothesize to have a definite quota (diameter of a tree) and want to control the share of the seat of the key:

shaft diameter= "x"
key size ="b"
"b"=(if("x"=30;10,12)
in this way if the shaft has diameter 30 the seat for the key will be 10, otherwise it will go 12.

I have imposed cycles with if nested but I do not know how to impose the same or greater position (it does not accept >=, >=, =>).
for this I would need to know the syntax of the various operators
in the guide http://help.solidworks.com/2011/ita...s.htm?id=cda1ae343ec94123a345c6af0f8f4cd0#pg0 what is needed. However you can very well use an excel sheet that allows you more customization.
 
I had already seen it but not from info on the other operators and does not work the position >= (more or equal) and not even if nested
 
I had already seen it but not from info on the other operators and does not work the position >= (more or equal) and not even if nested
If you want to create variations to the project, I suggest you use driveworksxpress. follow the tutorial and you will understand how it works. you have everything you can use with nested cycles and operators also work
 
if you want to create variants to the project I recommend using driveworksxpress. follow the tutorial and you will understand how it works. you have everything you can use with nested cycles and operators also work
Can you explain to me in simple words :redface:, how does it work?
I have always had a certain "reverential residence" for instruments of which
I don't know the benefits. .

Thank you!
 
Can you explain to me in simple words :redface:, how does it work?
I have always had a certain "reverential residence" for instruments of which
I don't know the benefits. .

Thank you!
I used it in my life little especially for lack of time, but when I have it I want to learn well to use it.

then the concept is as follows: I create a model of parts or assemblies. I create mating rules rather than real versions and configurations. I impose the consistency rules of the model. At the end I generate the various projects using the model and giving quotas or a priori size features and this imaginary module creates me with new name a model that reflects the characteristics of the basic model but adapted to the needs.

I can for example shape a shelving that holds 100 kg for each shelf and go to make the calculation for the panels. if one day I want to create a n-storey shelving with axb size and on each one I want to be k kg, I insert this data and he makes me a verified and consistent shelving with the rules of the model.

Let's say that you have to study over a bit to make it work well, but then you don't mind how work. practically generates product families.
 
I used it in my life little especially for lack of time, but when I have it I want to learn well to use it.

then the concept is as follows: I create a model of parts or assemblies. I create mating rules rather than real versions and configurations. I impose the consistency rules of the model. At the end I generate the various projects using the model and giving quotas or a priori size features and this imaginary module creates me with new name a model that reflects the characteristics of the basic model but adapted to the needs.

I can for example shape a shelving that holds 100 kg for each shelf and go to make the calculation for the panels. if one day I want to create a n-storey shelving with axb size and on each one I want to be k kg, I insert this data and he makes me a verified and consistent shelving with the rules of the model.

Let's say that you have to study over a bit to make it work well, but then you don't mind how work. practically generates product families.
Thank you, with your explanation I've understood more than I'd understand... alone... :biggrin:
I'll study on... one of these nights....:wink:


:smile:
 
hello to all compliments for work.
I am defining advanced processing functions and would need to use logical operators (if, and, or...)
but the syntax is different from normal programming, in the sw help I couldn't find anything, so I ask someone who might be used.

Thank you in advance.
equations, as written in another topic (waiting this forum corrects the problem of your search engine), supports vba and solidworks bees.
then try with vba operators.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top