-
From the
Scenario section
of the
action bar, click Sketched-Law
Excitation
.
The Sketched-Law Excitation dialog box appears.
-
To define the sketched-law excitation:
-
Under the mechanism representation node in the tree, select the kinematics command to
drive with this excitation.
The name of the selected command appears in the
Piloted command box
-
Under the part representation node, select either a Generative Shape Design sketch-based law or a sketch
defining the excitation profile.
The name of the sketch-based law or sketch
appears in the Sketched-law/Sketch box. In this
case, the command generates the corresponding law and adds it to the
part including the initial sketch.
-
Under the Scenario node, select a scenario to
attach the excitation to it.
If no scenario exists, the Referenced scenario
option is grayed out, and you can select the
Time-scale option.
When a scenario exists, the option is selected by
default, and the excitation is time-scaled according to the duration of
the selected scenario. You can also enter a specific
Time-scale value.
-
Click OK.
Note:
The Sketched-Law Excitation command only creates
new sketched-law excitations. You cannot use it to modify an existing
sketched-law excitation. To do so, use the Formula
Editor.
The excitation law appears under the scenario node.
By default, the name is "Law Excitation.xx", where "xx" is the number of
existing law excitations plus one.
The command validation adds information to the resource table and generates a
knowledge formula. When a resource table is created, it is completed by a
new law resource referencing the selected sketched-law. It is named
"ExcitationName_LawResource", where "ExcitationName" is the name you have
chosen for their new law excitation.
A new knowledge formula based on this resource is then generated and
selected as the definition of the new law excitation.
When the Sketched-Law Excitation command is validated,
the excitation is created and appears in the excitation list. If you have
chosen the Referenced Scenario option, the excitation
also appears in the excitation list of the scenario.
-
To define the sketched-law excitation, do one of the following:
- Right-click the law excitation
and select Definition.
- Double-click the law
excitation.
- Under the
Relations node in the tree, click the scenario formula.
The Law Excitation dialog box
opens, displaying the name of the excitation, the number of commands
selected in the tree, and the length of the formula.
-
To visualize the new knowledge formula generated as the new definition of the
law excitation, click
or
double-click the scenario.
-
Click Preview to run the PLM Update.
-
Click
to run the kinematics
scenario.
The element moves along the curve, sketch or GSD law.
The Kinematics scenario
dialog box opens. Depending on the Referenced scenario
or Time-scale you selected, the Length
formula (start/end time) appears in the
Excitation Length box of the Formula
Editor:
Selection |
Description |
Formula |
Referenced scenario |
The sketched-law excitation is attached to a specific
scenario |
Excitations\ExcitationName\[Length/Angle] =
(AccessResource("ExcitationName_LawResource",
"Law"):Law).Evaluate(`Excitations\ ExcitationName
\Time`/((`ScenarioName\End time`-`ScenarioName\Start
time`)/1s))*1[mm/deg] |
Time-scale |
A time-scale factor is specified |
Excitations\ExcitationName\[Length/Angle] =
(AccessResource("ExcitationName_LawResource",
"Law"):Law).Evaluate(`Excitations\ ExcitationName
\Time`/TimeScaleFactor)*1[mm/deg] |
You can edit the length directly in this window. The new sketched-law
excitation becomes a usual law excitation and must be considered as such.
-
To define the excitation using a formula, right-click the Length
formula or Angle formula box, and select .For more information, see About Writing Formulas for Law Excitations.
-
To define the excitation using a design table, from the
Tools section of the action bar, click Design Table
.
The design table appears in the Length formula or
Angle formula box.
-
Once the appropriate excitation is defined, click OK
to save the kinematics excitation.
|