Signature
Law.Evaluate(Law, Real) : Real
Arguments
Name |
Input / Output |
Required? |
Type |
Comment |
|
In |
Yes |
Law |
|
|
In |
Yes |
Real |
|
Law.Evaluate()
Enables you to compute a law
whether a Engineering Rules Capture or a Generative Shape Design Law and use the resulting data within another
law.
Example
- Create a Generative Shape Design line.
- Create a first law. To do so, click .
- In the law editor, create two formal real parameters.
- Enter the law (Law.1) below into the editor:
FormalReal.1 = 5*sin(5*PI*1rad*FormalReal.2)+ 10
- Click OK to add the law to the document.
- Repeat the same operation and enter the law (Law.2) below:
FormalReal.1 = 3* FormalReal.2*Relations\Law.1.Evaluate(FormalReal.2)
- In Generative Shape Design, create a line parallel to the line created in step 1. Specify the law
which is defined above in the Offset field.