ude modify definition

Modifies a User Defined Element (UDE) definition.

Format:

 
ude modify definition
definition_name =
an existing UDE definition
new_definition_name =
new UDE definition
isa =
an existing UDE defintion
comments =
string
objects =
existing entity/entities
parameters =
existing design variable(s)
input_parameters =
design variable(s) of type object
output_parameters =
design variable(s) of type object

Example:

 
ude modify definition &
definition_name =
.my_ude_lib.ude_def_A &
new_definition_name =
.my_ude_lib.ude_def_B &
isa =
.my_ude_lib.ude_def &
comments =
"this UDE represents a simple spring loaded actuator" &
objects =
.model_1.PART_2,.model_1.PART_3,.model_1.SFORCE_1, .sforce_1_force_graphic_1 &
parameters =
.model_1.cyl_rho,.model_1.pist_rho,.model_1.stiffness &
input_parameters =
.model_1.cyl_attach_frame,.model_1.pist_attach_frame &
output_parameters =
.model_1.acutator_ref

Description:

 
Parameter
Value Type
Description
definition_name
An existing UDE definition
Specifies the name of the UDE definition to be modified; note that the name must also include the parent library in which the UDE definition will reside (UDE definitions are not children of models)
new_definition_name
New UDE definition
Specifies new name of the UDE definition. You may use this name later to refer to this UDE definition.
isa
An existing UDE Definition
Specifies the name of an existing UDE definition in the same “class” as the UDE definition being modified here. That is, UDE instances can only be replaced with UDE definitions that are of the same “class” (a grouping defined by this “isa” argument). Note that both the input and output parameters must match to be able to replace between UDE definitions.
comments
string
Specifies comments for the UDE definition being created
objects
existing entity/entities
Specifies the set of objects that make up the UDE definition
parameters
existing design variable(s)
Design variables used to control the parameterization of the UDE (spring stiffness for example)
input_parameters
design variable(s) of type object
Entities outside the UDE referenced by the UDE (typically a reference marker). The parameter itself is an object variable containing the marker reference.
output_parameters
design variable(s) of type object
Entities inside the UDE that should be accessible outside the UDE (often a marker that can be used as reference for another UDE or other entities). This parameter is an object variable containing the object that should be referenced.