UF_MOTION_ask_2D_contact (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the 2D contact structure for an input 2D contact tag.

环境
Internal and External

参见
UF_MOTION_set_2D_contact

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_2D_contact
(
const tag_t contact_tag,
UF_MOTION_2D_contact_t * contact_struct
)
const tag_tcontact_tagInput(输入)The tag of the 2D contact to return.
This tag is the one returned from
UF_MOTION_create_2D_contact.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_2D_contact_t *contact_structOutput(输出)The 2D contact structure
of the input tag.

 


 
UF_MOTION_ask_3D_contact (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the 3D contact structure for an input 3D contact tag.

环境
Internal and External

参见
UF_MOTION_set_3D_contact

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_3D_contact
(
const tag_t contact_tag,
UF_MOTION_3D_contact_t * contact_struct
)
const tag_tcontact_tagInput(输入)The tag of the 3D contact to return.
This tag is the one returned from
UF_MOTION_create_3D_contact.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_3D_contact_t *contact_structOutput(输出)The 3D contact structure
of the input tag.

 


 
UF_MOTION_ask_3D_contact_method (查看源代码)
 
定义在: uf_motion.h
 
概述
This function asks the 3D contact method to be used.

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_set_3D_contact_method

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_3D_contact_method
(
UF_MOTION_3d_contact_method_t * contact_method,
int * facet_contact_tolerance
)
UF_MOTION_3d_contact_method_t *contact_methodOutput(输出)the 3d contact method to be used
by Adams
int * (整数型指针)facet_contact_toleranceOutput(输出)ignored unless
contact_method == UF_MOTION_faceted_contact
Must be a value 1 to 100.
1 means Fast but may not be accurate
100 means Accurate but may not be Fast

 


 
UF_MOTION_ask_acceleration_results (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to get specific acceleration results from the analysis
results stored in the database. It can return both translational and
rotational accelerations. If this function is called when no results are in
the database, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file
UF_MOTION_ask_trans_displacement_results
UF_MOTION_ask_velocity_results

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_acceleration_results
(
const tag_t motion_object,
const UF_MOTION_motion_type_t type,
const UF_MOTION_vector_component_t component,
const UF_MOTION_reference_frame_t ref_frame,
int * number_of_results,
double * * results
)
const tag_tmotion_objectInput(输入)The tag of the object to get the results
for. This is usually a joint, constraint,
coupler, marker, or primitive.
const UF_MOTION_motion_type_ttypeInput(输入)The type of acceleration:
UF_MOTION_rotation or
UF_MOTION_translation.
const UF_MOTION_vector_component_tcomponentInput(输入)The desired component of
the acceleration (Example:
UF_MOTION_magnitude or
UF_MOTION_x_component).
const UF_MOTION_reference_frame_tref_frameInput(输入)The reference frame that
the results will be
resolved in.
int * (整数型指针)number_of_resultsOutput(输出)The number of results returned in the next
argument. This will equal the number of
steps in the solution.
double * *resultsOutput to be freed
输出并释放
The results requested. This array must be freed by
the calling function using UF_free().

 


 
UF_MOTION_ask_angular_units (查看源代码)
 
定义在: uf_motion.h
 
概述
This function return the angular units stored in this mechanism

环境
Internal and External

参见
UF_MOTION_set_angular_units

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_angular_units
(
UF_MOTION_angular_units_type_t * angle_units
)
UF_MOTION_angular_units_type_t *angle_unitsOutput(输出)The new units

 


 
UF_MOTION_ask_artic_step_size (查看源代码)
 
定义在: uf_motion.h
 
概述
All joints that have a joint motion input defined can be articulated even
though the motion input type might not be articulation. This function returns
the articulation step size for the input joint tag. The tag must belong to a
joint that has a motion input defined or else an error condition is returned.

环境
Internal and External

参见
UF_MOTION_edit_artic_step_size
UF_MOTION_step_articulation

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_artic_step_size
(
const tag_t joint_tag,
double * step_size
)
const tag_tjoint_tagInput(输入)The tag of the joint to return the step size
for. This tag is returned from the function
UF_MOTION_create_joint. It can also be found
using object cycle functions
(eg. UF_OBJ_cycle_objs_by_type).
double * (实数型指针)step_sizeOutput(输出)The size of the articulation joint step. The units
of the step are based on the units of the joint.

 


 
UF_MOTION_ask_articulation_stop_tolerance (查看源代码)
 
定义在: uf_motion.h
 
概述
This function asks the mechanism parameters of the current mechanism in the
scenario part.

环境
Internal and External

参见
UF_MOTION_set_articulation_stop_tolerance
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_articulation_stop_tolerance
(
double * stop_tolerance
)
double * (实数型指针)stop_toleranceOutput(输出)

 


 
UF_MOTION_ask_attachments_of_type (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the motion objects of a specified type that are
attached to the input motion object. This function will check the
type/subtype requests for validity of attachment. For example, asking
for contacts attached to a joint is not valid. Note also, that the
subtype input is only needed for certain motion types, and is not
required for other motion types. See following table:

type requested subtype needed
===================== ==============
UF_mdm_mechanism_type NO
UF_mdm_link_type NO
UF_mdm_joint_type OPTIONAL - If subtype not defined, all
entities of this type will be returned.
UF_mdm_marker_type NO - UF_mdm_user_defined_marker_subtype
will be only subtype returned.
UF_mdm_spring_type NO
UF_mdm_damper_type NO
UF_mdm_force_type NO
UF_mdm_torque_type NO
UF_mdm_genforce_type YES - Subtype must be defined.
UF_mdm_curve_curve_contact_type NO
UF_mdm_contact_type NO

环境
Internal and External

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_attachments_of_type
(
tag_t entity_tag,
int type,
int subtype,
int * num_attachments,
tag_p_t * attachments
)
tag_t (tag_t类型)entity_tagInput(输入)The motion entity to get attachments for.
int (整数型)typeInput(输入)The type of attachments to retrieve.
See uf_object_types.h for definition
of motion object types.
int (整数型)subtypeInput(输入)The subtype of attachments (if applicable)
to retrieve. See uf_object_types.h for
definition of motion object subtypes.
int * (整数型指针)num_attachmentsOutput(输出)The number of attachment objects.
tag_p_t *attachmentsOutput to be freed
输出并释放
The array of attached objects.

 


 
UF_MOTION_ask_crv_crv_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the curve curve structure for an input curve
curve constraint tag.

环境
Internal and External

参见
UF_MOTION_create_crv_crv_constraint

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_crv_crv_constraint
(
const tag_t crv_crv_tag,
UF_MOTION_curve_curve_constraint_t * crv_crv_struct
)
const tag_tcrv_crv_tagInput(输入)The tag of the constraint to return.
This tag is the one returned from
the UF_MOTION_create_crv_crv_constraint
function. It can also be found using
object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_curve_curve_constraint_t *crv_crv_structOutput(输出)The curve-curve structure for the input tag.

 


 
UF_MOTION_ask_cylindrical_bushing (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the cylindrical bushing structure for an input
bushing tag.

环境
Internal and External

参见
UF_MOTION_set_cylindrical_bushing

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_cylindrical_bushing
(
const tag_t bushing_tag,
UF_MOTION_cylindrical_bushing_t * bushing_struct
)
const tag_tbushing_tagInput(输入)The tag of the cylindrical bushing to
return information about. This tag is
the one returned from the
UF_MOTION_create_cylindrical_bushing
function. It can also be found using
object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_cylindrical_bushing_t *bushing_structOutput(输出)The cylindrical
bushing structure
for the input tag.

 


 
UF_MOTION_ask_damper (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the damper structure for an input damper tag.

环境
Internal and External

参见
UF_MOTION_set_damper

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_damper
(
const tag_t damper_tag,
UF_MOTION_spring_damper_t * damper_struct
)
const tag_tdamper_tagInput(输入)The tag of the damper to return information
about. This tag is the one returned from the
UF_MOTION_create_damper function. It can
also be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_spring_damper_t *damper_structOutput(输出)The damper structure
for the input tag.

 


 
UF_MOTION_ask_force_results (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to get specific force results from the analysis results
stored in the database. If this function is called when no results are in the
database, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file
UF_MOTION_ask_velocity_results
UF_MOTION_ask_torque_results

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_force_results
(
const tag_t motion_object,
const UF_MOTION_vector_component_t component,
const UF_MOTION_reference_frame_t ref_frame,
int * number_of_results,
double * * results
)
const tag_tmotion_objectInput(输入)The tag of the object to get the results
for. This is usually a joint, constraint,
coupler, marker, or primitive.
const UF_MOTION_vector_component_tcomponentInput(输入)The desired component of
the force (Example:
UF_MOTION_magnitude or
UF_MOTION_x_component).
const UF_MOTION_reference_frame_tref_frameInput(输入)The reference frame that
the results will be
resolved in.
int * (整数型指针)number_of_resultsOutput(输出)The number of results returned in the next
argument. This will equal the number of
steps in the solution.
double * *resultsOutput to be freed
输出并释放
The results requested. This array must be freed by
the calling function using UF_free().

 


 
UF_MOTION_ask_function (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the function structure for an input function tag.

环境
Internal and External

参见
UF_MOTION_set_function
UF_MOTION_find_all_functions
UF_MOTION_ask_function_tag_from_name

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_function
(
const tag_t function_tag,
UF_MOTION_function_t * function_struct
)
const tag_tfunction_tagInput(输入)The tag of the function to query.
This tag is the one returned from
UF_MOTION_create_function.
UF_MOTION_function_t *function_structOutput(输出)The function structure for the
input function tag.

 


 
UF_MOTION_ask_function_tag_from_name (查看源代码)
 
定义在: uf_motion.h
 
概述
This function finds the motion function tag for a given function name.

环境
Internal and External

参见
UF_MOTION_find_all_functions

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_function_tag_from_name
(
char * function_name,
tag_t * function_tag
)
char * (字符型指针)function_nameInput(输入)Name string of function object to find.
tag_t * (tag_t型的指针)function_tagOutput(输出)Tag of function object for input name.

 


 
UF_MOTION_ask_general_bushing (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the general bushing structure for an input bushing tag.

环境
Internal and External

参见
UF_MOTION_set_general_bushing

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_general_bushing
(
const tag_t bushing_tag,
UF_MOTION_general_bushing_t * bushing_struct
)
const tag_tbushing_tagInput(输入)The tag of the general bushing to return
information about. This tag is the one
returned from the
UF_MOTION_create_general_bushing function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_general_bushing_t *bushing_structOutput(输出)The general bushing
structure for the
input tag.

 


 
UF_MOTION_ask_gravitational_constants (查看源代码)
 
定义在: uf_motion.h
 
概述
This function return the graviational constants stored in this mechanism

环境
Internal and External

参见
sUF_MOTION_set_gravitational_constants

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_gravitational_constants
(
double gravitational_constants [ 3 ]
)
double (实数型)gravitational_constants [ 3 ] Output(输出)Vector defining gravitational
force

 


 
UF_MOTION_ask_gruebler_count (查看源代码)
 
定义在: uf_motion.h
 
概述
This function gets the total Gruebler count for the current mechanism.

环境
Internal and External

参见
UF_MOTION_ask_solver_dof_count

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_gruebler_count
(
int * gruebler_count
)
int * (整数型指针)gruebler_countOutput(输出)The total Gruebler count.

 


 
UF_MOTION_ask_icon_scale_factor (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the global icon scale.

环境
Internal and External

参见
UF_MOTION_set_icon_scale_factor

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_icon_scale_factor
(
double * scale
)
double * (实数型指针)scaleInput(输入)

 


 
UF_MOTION_ask_interference (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the interference structure for an input interference
tag.

环境
Internal and External

参见
UF_MOTION_edit_interference
UF_MOTION_create_interference
UF_MOTION_interference

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_interference
(
const tag_t interfere_tag,
UF_MOTION_interference_t * interference_struct
)
const tag_tinterfere_tagInput(输入)The tag of the interference to return.
This tag is the one returned from the
UF_MOTION_create_interference function.
It can also be found using object cycle
functions (eg. UF_OBJ_cycle_objs_by_type).
UF_MOTION_interference_t *interference_structOutput(输出)The interference structure
for the input tag.

 


 
UF_MOTION_ask_joint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the joint structure for an input joint tag.

环境
Internal and External

参见
UF_MOTION_set_joint
UF_MOTION_ask_joint_limits
UF_MOTION_ask_joint_motion_input

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_joint
(
const tag_t joint_tag,
UF_MOTION_joint_t * joint_struct
)
const tag_tjoint_tagInput(输入)The tag of the joint to return information
about. This tag is the one returned from the
UF_MOTION_create_joint function. It can also
be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_joint_t *joint_structOutput(输出)The joint structure for the input tag.

 


 
UF_MOTION_ask_joint_coupler (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the joint coupler structure for an input joint coupler
tag.

环境
Internal and External

参见
UF_MOTION_set_joint_coupler
UF_MOTION_ask_joint

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_joint_coupler
(
const tag_t joint_coupler_tag,
UF_MOTION_joint_coupler_t * coupler_struct
)
const tag_tjoint_coupler_tagInput(输入)The tag of the joint coupler to return.
This tag is the one returned from the
UF_MOTION_create_joint_coupler function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_joint_coupler_t *coupler_structOutput(输出)The joint coupler
structure for the
input joint coupler tag.

 


 
UF_MOTION_ask_joint_limits (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the joint limits structure for an input joint tag. If
joint limits are not defined for the input joint tag, an error condition is
returned.

环境
Internal and External

参见
UF_MOTION_ask_joint
UF_MOTION_set_joint_limits
UF_MOTION_ask_joint_motion_input

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_joint_limits
(
const tag_t joint_tag,
UF_MOTION_joint_limits_t * joint_limits_struct
)
const tag_tjoint_tagInput(输入)The tag of the joint to return the joint
limits of. This tag is the one returned
from the UF_MOTION_create_joint function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_joint_limits_t *joint_limits_structOutput(输出)The joint limits
structure for the
input tag. If joint
limits are not defined
for the input joint,
zeros will be returned
in the structure and
an error will be
returned from the
function.

 


 
UF_MOTION_ask_joint_motion_input (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the joint motion input structure for the input joint
tag. If motion input has not been defined for the joint, then an error
condition is returned.

环境
Internal and External

参见
UF_MOTION_ask_joint
UF_MOTION_ask_joint_limits
UF_MOTION_set_joint_motion_input

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_joint_motion_input
(
const tag_t joint_tag,
UF_MOTION_joint_motion_input_t * motion_input_struct
)
const tag_tjoint_tagInput(输入)The tag of the joint to return the
motion input info of. This tag is the
one returned from the UF_MOTION_create_joint
function. It can also be found using
object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_joint_motion_input_t *motion_input_structOutput(输出)The joint motion
input structure
for the input
joint tag.

 


 
UF_MOTION_ask_link (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the link structure for an input link tag.

环境
Internal and External

参见
UF_MOTION_set_link
UF_MOTION_ask_link_mass_properties
UF_MOTION_ask_link_initial_velocity

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_link
(
const tag_t link_tag,
UF_MOTION_link_t * link_struct
)
const tag_tlink_tagInput(输入)The tag of the link to return.
This tag is the one returned from
the UF_MOTION_create_link function.
It can also be found using object
cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_link_t *link_structOutput(输出)The link structure for the input tag.

 


 
UF_MOTION_ask_link_initial_velocity (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the link initial velocity for an input link tag.
All velocities are based on the work coordinate system of the model.

环境
Internal and External

参见
UF_MOTION_ask_link
UF_MOTION_ask_link_mass_properties
UF_MOTION_set_link_initial_velocity

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_link_initial_velocity
(
const tag_t link_tag,
UF_MOTION_link_initial_velocity_t * init_vel_struct
)
const tag_tlink_tagInput(输入)The tag of the link to return the initial
velocity of. This tag is the one returned
from the UF_MOTION_create_link function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_link_initial_velocity_t *init_vel_structOutput(输出)Data structure
containing the
initial velocities.

 


 
UF_MOTION_ask_link_mass_properties (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the link mass properties structure for an input link
tag. Default mass properties will be calculated for solid bodies if
UF_MOTION_set_link_mass_properties has been called previously. If the input
link tag has no solid bodies and no mass properties have been set on the link,
an error condition will be returned during solve.

环境
Internal and External

参见
UF_MOTION_ask_link
UF_MOTION_set_link_mass_properties
UF_MOTION_remove_link_mass_properties

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_link_mass_properties
(
const tag_t link_tag,
UF_MOTION_link_mass_properties_t * mass_prop_struct
)
const tag_tlink_tagInput(输入)The tag of the link to return mass properties.
This tag is the one returned from the
UF_MOTION_create_link function. It can also
be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_link_mass_properties_t *mass_prop_structOutput(输出)The link mass
property structure
for the input tag.
If the mass
properties have been
set by the user, or
default properties
were calculated,
they will be
returned here.

 


 
UF_MOTION_ask_marker (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the marker structure for an input marker tag.

环境
Internal and External

参见
UF_MOTION_set_marker
UF_MOTION_create_marker

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_marker
(
const tag_t marker_tag,
UF_MOTION_marker_t * marker_struct
)
const tag_tmarker_tagInput(输入)The tag of the marker to return. This tag is
the one returned from UF_MOTION_create_marker.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_marker_t *marker_structOutput(输出)The marker structure of the
input tag.

 


 
UF_MOTION_ask_measurement (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the measurement structure for an input measurement tag.

环境
Internal and External

参见
UF_MOTION_edit_measurement
UF_MOTION_create_measurement
UF_MOTION_measure

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_measurement
(
const tag_t meas_tag,
UF_MOTION_measurement_t * meas_struct
)
const tag_tmeas_tagInput(输入)The tag of the measurement to return. This tag
is the one returned from the creation function
(UF_MOTION_create_measurement). It can also be
found using object cycle functions
(eg. UF_OBJ_cycle_objs_by_type).
UF_MOTION_measurement_t *meas_structOutput(输出)The measurement structure
for the input tag.

 


 
UF_MOTION_ask_name_display (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the dislay of object names

环境
Internal and External

参见
UF_MOTION_set_name_display

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_name_display
(
logical * name_display
)
logical *name_displayOutput(输出)TRUE if names should be displayed.
FALSE if names should not be displayed.

 


 
UF_MOTION_ask_point_on_surface_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function asks the structures of point on surface constraint parameters
for a given point_on_surface_tag value.

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_init_point_on_surface_constraint
UF_MOTION_create_point_on_surface_constraint
UF_MOTION_set_point_on_surface_constraint

历史
Created in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_point_on_surface_constraint
(
tag_t point_on_surface_tag,
UF_MOTION_point_on_surface_data_p_t pt_on_surf_data
)
tag_t (tag_t类型)point_on_surface_tagInput(输入)tag of point on surface constraint
object to get the data for
UF_MOTION_point_on_surface_data_p_tpt_on_surf_dataOutput(输出)The structure corresponding to the
input point on surface constraint tag

 


 
UF_MOTION_ask_pt_crv_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the point curve structure for an input point
curve constraint tag.

环境
Internal and External

参见
UF_MOTION_set_pt_crv_constraint

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_pt_crv_constraint
(
const tag_t pt_crv_tag,
UF_MOTION_point_curve_constraint_t * pt_crv_struct
)
const tag_tpt_crv_tagInput(输入)The tag of the constraint to return.
This tag is the one returned from
the UF_MOTION_create_pt_crv_constraint
function. It can also be found using
object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_point_curve_constraint_t *pt_crv_structOutput(输出)The point-curve structure for the input tag.

 


 
UF_MOTION_ask_rot_displacement_results (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to get specific rotational displacement results from
the analysis results stored in the database. If this function is called when
no results are in the database, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file
UF_MOTION_ask_trans_displacement_results
UF_MOTION_ask_torque_results

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_rot_displacement_results
(
const tag_t motion_object,
const UF_MOTION_disp_angle_t component,
const UF_MOTION_reference_frame_t ref_frame,
int * number_of_results,
double * * results
)
const tag_tmotion_objectInput(输入)The tag of the object to get the results
for. This is usually a joint, constraint,
coupler, marker, or primitive.
const UF_MOTION_disp_angle_tcomponentInput(输入)The desired displacement angle.
This can be the Euler angles
that follow the body 3-1-3
convention. See the enum
definition for more information.
const UF_MOTION_reference_frame_tref_frameInput(输入)The reference frame that
the results will be
resolved in (Example:
UF_MOTION_absolute).
int * (整数型指针)number_of_resultsOutput(输出)The number of results returned in the next
argument. This will equal the number of
steps in the solution.
double * *resultsOutput to be freed
输出并释放
The results requested. This array must be freed by
the calling function using UF_free().

 


 
UF_MOTION_ask_scalar_force (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the scalar force structure for an input scalar force tag.

环境
Internal and External

参见
UF_MOTION_set_scalar_force

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_scalar_force
(
const tag_t force_tag,
UF_MOTION_scalar_force_torque_t * force_struct
)
const tag_tforce_tagInput(输入)The tag of the scalar force to return
information about. This tag is the one
returned from UF_MOTION_create_scalar_force.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_scalar_force_torque_t *force_structOutput(输出)The scalar force
structure for the
input tag.

 


 
UF_MOTION_ask_scalar_torque (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the scalar torque structure for an input scalar
torque tag.

环境
Internal and External

参见
UF_MOTION_set_scalar_torque

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_scalar_torque
(
const tag_t torque_tag,
UF_MOTION_scalar_force_torque_t * torque_struct
)
const tag_ttorque_tagInput(输入)The tag of the scalar torque to return
information about. This tag is the one
returned from UF_MOTION_create_scalar_torque.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_scalar_force_torque_t *torque_structOutput(输出)The scalar torque
structure for the
input tag.

 


 
UF_MOTION_ask_solver_dof_count (查看源代码)
 
定义在: uf_motion.h
 
概述
This function gets the total degree of freedom count as calculated by the
motion solver for the current mechanism.

环境
Internal and External

参见
UF_MOTION_ask_gruebler_count

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_solver_dof_count
(
int * dof_count
)
int * (整数型指针)dof_countOutput(输出)The total degree of freedom count.

 


 
UF_MOTION_ask_solver_parameters (查看源代码)
 
定义在: uf_motion.h
 
概述
This function gets the current solver parameters from Scenario for Motion+.

环境
Internal and External

参见
UF_MOTION_edit_solver_parameters

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_solver_parameters
(
UF_MOTION_solver_parameters_t * solver_params_struct
)
UF_MOTION_solver_parameters_t *solver_params_structOutput(输出)The current solver
parameters in
Scenario for Motion.

 


 
UF_MOTION_ask_spring (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the spring structure for an input spring tag.

环境
Internal and External

参见
UF_MOTION_set_spring

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_spring
(
const tag_t spring_tag,
UF_MOTION_spring_damper_t * spring_struct
)
const tag_tspring_tagInput(输入)The tag of the spring to return information
about. This tag is the one returned from the
UF_MOTION_create_spring function. It can
also be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_spring_damper_t *spring_structOutput(输出)The spring structure
for the input tag.

 


 
UF_MOTION_ask_torque_results (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to get specific torque results from the analysis results
in the database. If this function is called when no results are in the
database, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_torque_results
(
const tag_t motion_object,
const UF_MOTION_vector_component_t component,
const UF_MOTION_reference_frame_t ref_frame,
int * number_of_results,
double * * results
)
const tag_tmotion_objectInput(输入)The tag of the object to get the results
for. This is usually a joint, constraint,
coupler, marker, or primitive.
const UF_MOTION_vector_component_tcomponentInput(输入)The desired component of
the torque (Example:
UF_MOTION_magnitude or
UF_MOTION_x_component).
const UF_MOTION_reference_frame_tref_frameInput(输入)The reference frame that
the results will be
resolved in.
int * (整数型指针)number_of_resultsOutput(输出)The number of results returned in the next
argument. This will equal the number of
steps in the solution.
double * *resultsOutput to be freed
输出并释放
The results requested. This array must be freed by
the calling function using UF_free().

 


 
UF_MOTION_ask_trace (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the trace structure from an input trace tag.

环境
Internal and External

参见
UF_MOTION_edit_trace
UF_MOTION_create_trace
UF_MOTION_trace

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_trace
(
const tag_t trace_tag,
UF_MOTION_trace_t * trace_struct
)
const tag_ttrace_tagInput(输入)The tag of the trace to return. This tag is
the one returned from UF_MOTION_create_trace. It
can also be found using object cycle functions
(eg. UF_OBJ_cycle_objs_by_type).
UF_MOTION_trace_t *trace_structOutput(输出)The trace structure of the input tag.

 


 
UF_MOTION_ask_trace_explosion_to_master (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns whether trace/explosion objects will get exported to the
master

环境
Internal and External

参见
UF_MOTION_set_trace_explosion_to_master

历史
Released in NX3
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_trace_explosion_to_master
(
logical * to_master
)
logical *to_masterInput(输入)TRUE or FALSE

 


 
UF_MOTION_ask_trans_displacement_results (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to get specific translational displacement results from
the analysis results stored in the database. If this function is called when
no results are in the database, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file
UF_MOTION_ask_rot_displacement_results
UF_MOTION_ask_velocity_results

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_trans_displacement_results
(
const tag_t motion_object,
const UF_MOTION_vector_component_t component,
const UF_MOTION_reference_frame_t ref_frame,
int * number_of_results,
double * * results
)
const tag_tmotion_objectInput(输入)The tag of the object to get the results
for. This is usually a joint, constraint,
coupler, marker, or primitive.
const UF_MOTION_vector_component_tcomponentInput(输入)The desired component of
the displacement (Example:
UF_MOTION_magnitude or
UF_MOTION_x_component).
const UF_MOTION_reference_frame_tref_frameInput(输入)The reference frame that
the results will be
resolved in (Example:
UF_MOTION_absolute).
int * (整数型指针)number_of_resultsOutput(输出)The number of results returned in the next
argument. This will equal the number of
steps in the solution.
double * *resultsOutput to be freed
输出并释放
The results requested. This array must be freed by
the calling function using UF_free().

 


 
UF_MOTION_ask_vector_force_torque (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the vector force/torque structure for an input
vector force or torque tag.

环境
Internal and External

参见
UF_MOTION_set_vector_force_torque

历史
Created in NX2
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_vector_force_torque
(
const tag_t vobject_tag,
UF_MOTION_vector_force_torque_t * vector_struct
)
const tag_tvobject_tagInput(输入)The tag of the vector force or torque to
return information about. This tag is
the one returned from
UF_MOTION_create_vector_force_torque.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_vector_force_torque_t *vector_structOutput(输出)The vector force/
torque structure
for the input tag.

 


 
UF_MOTION_ask_velocity_results (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to get specific velocity results from the analysis
results stored in the database. Both translational and rotational velocities
can be returned from this function. If this function is called when no
results are in the database, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file
UF_MOTION_ask_trans_displacement_results
UF_MOTION_ask_acceleration_results

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_ask_velocity_results
(
const tag_t motion_object,
const UF_MOTION_motion_type_t type,
const UF_MOTION_vector_component_t component,
const UF_MOTION_reference_frame_t ref_frame,
int * number_of_results,
double * * results
)
const tag_tmotion_objectInput(输入)The tag of the object to get the results
for. This is usually a joint, constraint,
coupler, marker, or primitive.
const UF_MOTION_motion_type_ttypeInput(输入)The velocity type: UF_MOTION_rotation
or UF_MOTION_translation.
const UF_MOTION_vector_component_tcomponentInput(输入)The desired component of
the velocity (Example:
UF_MOTION_magnitude or
UF_MOTION_x_component).
const UF_MOTION_reference_frame_tref_frameInput(输入)The reference frame that
the results will be
resolved in.
int * (整数型指针)number_of_resultsOutput(输出)The number of results returned in the next
argument. This will equal the number of
steps in the solution.
double * *resultsOutput to be freed
输出并释放
The results requested. This array must be freed by
the calling function using UF_free().

 


 
UF_MOTION_calculate_static_equilibrium (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to calculate the static equilibrium of the motion model.
Following a successful completion of this function, there will be one results
step in the database. Similar to UF_MOTION_solve_model, these database results
can be accessed by the following:

1) Packaging options, including measure, trace, and interference.
2) Write the results to disk using UF_MOTION_export_adams_res_file.
3) Get specific results from a joint or marker.

环境
Internal and External

参见
UF_MOTION_step_articulation
UF_MOTION_solve_model
UF_MOTION_review_adams_res_file
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_calculate_static_equilibrium
(
int* static_result_steps
)
int*static_result_stepsOutput(输出)Total number of successful steps that are available in
the database.

 


 
UF_MOTION_create_2D_contact (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a 2D contact in the Scenario for Motion+ database
according to the parameters passed in through the 2D contact structure.
If successful, the tag of the new 2D contact is returned.

环境
Internal and External

参见
UF_MOTION_ask_2D_contact
UF_MOTION_set_2D_contact

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_2D_contact
(
UF_MOTION_2D_contact_t * contact_struct,
tag_t * contact_tag
)
UF_MOTION_2D_contact_t *contact_structInput(输入)The required parameters
to create the 2D contact.
tag_t * (tag_t型的指针)contact_tagOutput(输出)The new 2D contact tag. This tag identifies
the 2D contact in the database.

 


 
UF_MOTION_create_3D_contact (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a 3D contact in the Scenario for Motion+ database
according to the parameters passed in through the 3D contact structure.
If successful, the tag of the new 3D contact is returned.

环境
Internal and External

参见
UF_MOTION_ask_3D_contact
UF_MOTION_set_3D_contact

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_3D_contact
(
UF_MOTION_3D_contact_t * contact_struct,
tag_t * contact_tag
)
UF_MOTION_3D_contact_t *contact_structInput(输入)The required parameters
to create the 3D contact.
tag_t * (tag_t型的指针)contact_tagOutput(输出)The new 3D contact tag. This tag identifies
the 3D contact in the database.

 


 
UF_MOTION_create_crv_crv_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function create curve curve constraint

环境
Internal and External

参见
UF_MOTION_ask_crv_crv_constraint
UF_MOTION_create_crv_crv_constraint

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_crv_crv_constraint
(
UF_MOTION_curve_curve_constraint_t * crv_crv_data,
tag_t * crv_crv_tag
)
UF_MOTION_curve_curve_constraint_t *crv_crv_dataInput(输入)input data
tag_t * (tag_t型的指针)crv_crv_tagOutput(输出)created constraint

 


 
UF_MOTION_create_cylindrical_bushing (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a cylindrical bushing in the Scenario for Motion+
database according to the parameters passed in through the cylindrical
bushing structure. If successful, the tag of the new cylindrical bushing
is returned.

环境
Internal and External

参见
UF_MOTION_ask_cylindrical_bushing
UF_MOTION_set_cylindrical_bushing

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_cylindrical_bushing
(
UF_MOTION_cylindrical_bushing_t * bushing_struct,
tag_t * bushing_tag
)
UF_MOTION_cylindrical_bushing_t *bushing_structInput(输入)The required
parameters to
create the
cylindrical bushing.
tag_t * (tag_t型的指针)bushing_tagOutput(输出)The new bushing tag. This tag identifies
the cylindrical bushing in the database.

 


 
UF_MOTION_create_damper (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a damper in the Scenario for Motion+ database
according to the parameters passed in through the damper structure.
If successful, the tag of the new damper is returned.

环境
Internal and External

参见
UF_MOTION_ask_damper
UF_MOTION_set_damper

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_damper
(
UF_MOTION_spring_damper_t * damper_struct,
tag_t * damper_tag
)
UF_MOTION_spring_damper_t *damper_structInput(输入)The required parameters
to create the damper.
tag_t * (tag_t型的指针)damper_tagOutput(输出)The new damper tag. This tag identifies the
damper in the database.

 


 
UF_MOTION_create_function (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a function object in the Scenario for Motion+ database
according to the parameters passed in through the function structure.
If successful, the tag of the new function object is returned. It is highly
recommended that the function definition syntax is validated before
creating the function object.

环境
Internal and External

参见
UF_MOTION_ask_function
UF_MOTION_set_function
UF_MOTION_validate_function_syntax
UF_MOTION_get_object_derived_function

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_function
(
const UF_MOTION_function_t * function_struct,
tag_t * function_tag
)
const UF_MOTION_function_t *function_structInput(输入)The required parameters
to create the function.
tag_t * (tag_t型的指针)function_tagOutput(输出)The new function tag. This tag identifies
the function object in the database.

 


 
UF_MOTION_create_general_bushing (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a general bushing in the Scenario for Motion+ database
according to the parameters passed in through the general bushing structure.
If successful, the tag of the new general bushing is returned.

环境
Internal and External

参见
UF_MOTION_ask_general_bushing
UF_MOTION_set_general_bushing

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_general_bushing
(
UF_MOTION_general_bushing_t * bushing_struct,
tag_t * bushing_tag
)
UF_MOTION_general_bushing_t *bushing_structInput(输入)The required
parameters to create
the general bushing.
tag_t * (tag_t型的指针)bushing_tagOutput(输出)The new bushing tag. This tag identifies
the general bushing in the database.

 


 
UF_MOTION_create_interference (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates an interference object in the Scenario for Motion+
database according to the parameters passed in through the interference
structure. If successful, the tag of the new interference object is returned.
The interference object is used in the post processor to determine if two
solid bodies interfere with each other at a particular time step. The
interference object can then be used to create a new interference body of the
intersection volume.

环境
Internal and External

参见
UF_MOTION_ask_interference
UF_MOTION_interference
UF_MOTION_create_interference_body

历史
Released in V18.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_interference
(
const UF_MOTION_interference_t * interfere_struct,
tag_t * interference_tag
)
const UF_MOTION_interference_t *interfere_structInput(输入)The parameters
required to create the
interference object.
tag_t * (tag_t型的指针)interference_tagOutput(输出)The new interference tag. This tag identifies
the interference object in the database.

 


 
UF_MOTION_create_interference_body (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a new body from the intersection of two interference
bodies at the input step of the analysis results. The interference parameters
must be defined previously. Also there must be a valid set of analysis
results in the database.

环境
Internal and External

参见
UF_MOTION_trace
UF_MOTION_measure
UF_MOTION_solve_model
UF_MOTION_interference

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_interference_body
(
const tag_t interference_tag,
const int analysis_step_num,
const UF_MOTION_reference_frame_t frame,
int * num_interference_bodies,
tag_t * * interference_body_tags
)
const tag_tinterference_tagInput(输入)The tag of the interference object that
contains the required parameters to
perform the interference check. This
tag was created using the function
UF_MOTION_create_interference.
const intanalysis_step_numInput(输入)The step number to perform the
interference check for. It cannot be
negative and it cannot be greater than
the total number of steps available in
the analysis results stored in the
database.
const UF_MOTION_reference_frame_tframeInput(输入)The reference frame to place
the newly created body in. If
the frame is UF_MOTION_absolute,
the new body will remain in the
absolute position where it was
created. If the frame is
UF_MOTION_first_link or
UF_MOTION_second_link, the new
body will be attached to the
links of the first or second
interference solid bodies as
defined in the interference
tag. By attaching the new body
to a link, it is in a position
to be subtracted from the link
geometry after it moves back to
the design position.
int * (整数型指针)num_interference_bodiesOutput(输出)The number of interference bodies created.
tag_t * *interference_body_tagsOutput to be freed
输出并释放
The newly created bodies made from the
intersection of the two interference
bodies.
The memory for this array of tags
must be freed using UF_free().

 


 
UF_MOTION_create_joint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a joint in the Scenario for Motion+ database according
to the parameters passed in through the joint structure. If successful, the
tag of the new joint is returned. This function does not allow joint limits
or joint motion input to be created at this point. To add these things to a
joint, use UF_MOTION_set_joint_limits and UF_MOTION_set_joint_motion_input after
creating the joint with this function.

环境
Internal and External

参见
UF_MOTION_ask_joint
UF_MOTION_set_joint_limits
UF_MOTION_set_joint_motion_input

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_joint
(
UF_MOTION_joint_t * joint_struct,
tag_t * joint_tag
)
UF_MOTION_joint_t *joint_structInput(输入)The required parameters to
create the joint.
tag_t * (tag_t型的指针)joint_tagOutput(输出)The new joint tag. This tag identifies the
joint in the database.

 


 
UF_MOTION_create_joint_coupler (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a joint coupler in the Scenario for Motion+ database
according to the parameters passed in through the joint coupler structure.
If successful, the tag of the new joint coupler is returned.

环境
Internal and External

参见
UF_MOTION_ask_joint_coupler
UF_MOTION_set_joint_coupler

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_joint_coupler
(
UF_MOTION_joint_coupler_t * coupler_struct,
tag_t * joint_coupler_tag
)
UF_MOTION_joint_coupler_t *coupler_structInput(输入)The required
parameters to
create the
joint coupler.
tag_t * (tag_t型的指针)joint_coupler_tagOutput(输出)The new joint coupler tag. This tag
identifies the joint coupler in the database.

 


 
UF_MOTION_create_link (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a link in the Scenario for Motion+ database according to
the parameters passed in through the link structure. If successful, the tag
of the new link is returned. This function does not create initial velocities
or mass properties. To add initial velocities or mass properties to a link,
use UF_MOTION_set_link_initial_velocity and UF_MOTION_set_link_mass_properties
after creating the link with this function.

环境
Internal and External

参见
UF_MOTION_ask_link
UF_MOTION_set_link_mass_properties
UF_MOTION_set_link_initial_velocity

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_link
(
UF_MOTION_link_t * link_struct,
tag_t * link_tag
)
UF_MOTION_link_t *link_structInput(输入)The required parameters
to create the link.
tag_t * (tag_t型的指针)link_tagOutput(输出)The new link tag. This tag identifies the
link in the database.

 


 
UF_MOTION_create_marker (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a marker in the Scenario for Motion+ database according
to the parameters passed in through the marker structure. This function is
used only for the creation of user defined markers. If successful, the tag
of the new marker is returned.

环境
Internal and External

参见
UF_MOTION_ask_marker
UF_MOTION_set_marker

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_marker
(
UF_MOTION_marker_t * marker_struct,
tag_t * marker_tag
)
UF_MOTION_marker_t *marker_structInput(输入)The required parameters
to create the marker.
tag_t * (tag_t型的指针)marker_tagOutput(输出)The new marker tag. This tag identifies
the marker in the database.

 


 
UF_MOTION_create_measurement (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a measurement object in the Scenario for Motion+
database according to the parameters passed in through the measurement
structure. If successful, the tag of the new measurement object is returned.
The measurement object is used in the post processor to determine the distance
or angle between two objects at a particular time step.

环境
Internal and External

参见
UF_MOTION_ask_measurement
UF_MOTION_edit_measurement
UF_MOTION_measure

历史
Released in V18.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_measurement
(
const UF_MOTION_measurement_t * meas_struct,
tag_t * meas_tag
)
const UF_MOTION_measurement_t *meas_structInput(输入)The required parameters to
create the measurement.
tag_t * (tag_t型的指针)meas_tagOutput(输出)The new measurement tag. This tag identifies the
measurement in the database.

 


 
UF_MOTION_create_point_on_surface_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates the structure of point on surface constraint with provided
values and returns the corresponding tag_t pointer.

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_ask_point_on_surface_constraint
UF_MOTION_init_point_on_surface_constraint
UF_MOTION_set_point_on_surface_constraint

历史
Created in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_point_on_surface_constraint
(
UF_MOTION_point_on_surface_data_p_t pt_on_surf_data,
tag_p_t point_on_surface_tag
)
UF_MOTION_point_on_surface_data_p_tpt_on_surf_dataInput(输入)Input structures of point on surface
constraint data
tag_p_tpoint_on_surface_tagOutput(输出)tag of created point on surface
constraint

 


 
UF_MOTION_create_pt_crv_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function create point curve constraint

环境
Internal and External

参见
UF_MOTION_ask_pt_crv_constraint
UF_MOTION_set_pt_crv_constraint

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_pt_crv_constraint
(
UF_MOTION_point_curve_constraint_t * pt_crv_data,
tag_t * pt_crv_tag
)
UF_MOTION_point_curve_constraint_t *pt_crv_dataInput(输入)
tag_t * (tag_t型的指针)pt_crv_tagOutput(输出)created constraint

 


 
UF_MOTION_create_scalar_force (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a scalar force in the Scenario for Motion+ database
according to the parameters passed in through the scalar force/torque
structure. If successful, the tag of the new scalar force is returned.

环境
Internal and External

参见
UF_MOTION_ask_scalar_force
UF_MOTION_set_scalar_force

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_scalar_force
(
UF_MOTION_scalar_force_torque_t * force_struct,
tag_t * force_tag
)
UF_MOTION_scalar_force_torque_t *force_structInput(输入)The required
parameters to
create the scalar
force.
tag_t * (tag_t型的指针)force_tagOutput(输出)The new scalar force tag. This tag identifies
the scalar force in the database.

 


 
UF_MOTION_create_scalar_torque (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a scalar torque in the Scenario for Motion+ database
according to the parameters passed in through the scalar force/torque
structure. If successful, the tag of the new scalar torque is returned.

环境
Internal and External

参见
UF_MOTION_ask_scalar_torque
UF_MOTION_set_scalar_torque

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_scalar_torque
(
UF_MOTION_scalar_force_torque_t * torque_struct,
tag_t * torque_tag
)
UF_MOTION_scalar_force_torque_t *torque_structInput(输入)The required
parameters to
create the scalar
torque.
tag_t * (tag_t型的指针)torque_tagOutput(输出)The new scalar torque tag. This tag identifies
the scalar torque in the database.

 


 
UF_MOTION_create_spring (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a spring in the Scenario for Motion+ database
according to the parameters passed in through the spring structure.
If successful, the tag of the new spring is returned.

环境
Internal and External

参见
UF_MOTION_ask_spring
UF_MOTION_set_spring

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_spring
(
UF_MOTION_spring_damper_t * spring_struct,
tag_t * spring_tag
)
UF_MOTION_spring_damper_t *spring_structInput(输入)The required parameters
to create the spring.
tag_t * (tag_t型的指针)spring_tagOutput(输出)The new spring tag. This tag identifies the
spring in the database.

 


 
UF_MOTION_create_trace (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a trace object in the Scenario for Motion+ database
according to the parameters passed in through the trace structure. If
successful, the tag of the new trace object is returned. The trace object is
used in the post processor to create a copy of a solid body in its simulated
position at a particular time step.

环境
Internal and External

参见
UF_MOTION_ask_trace
UF_MOTION_edit_trace
UF_MOTION_trace

历史
Released in V18.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_trace
(
const UF_MOTION_trace_t * trace_struct,
tag_t * trace_tag
)
const UF_MOTION_trace_t *trace_structInput(输入)The required parameters to
create the trace.
tag_t * (tag_t型的指针)trace_tagOutput(输出)The new trace tag. This tag identifies the trace in
the database.

 


 
UF_MOTION_create_vector_force_torque (查看源代码)
 
定义在: uf_motion.h
 
概述
This function creates a vector force or torque in the Scenario for Motion+
database according to the parameters passed in through the vector
force/torque structure. If successful, the tag of the new vector force
or torque is returned.

环境
Internal and External

参见
UF_MOTION_ask_vector_force_torque
UF_MOTION_set_vector_force_torque

历史
Created in NX2.
 
需要许可证(S)
mechanisms

 
int UF_MOTION_create_vector_force_torque
(
UF_MOTION_vector_force_torque_t * vector_struct,
tag_t * vobject_tag
)
UF_MOTION_vector_force_torque_t *vector_structInput(输入)The required
parameters to
create the vector
force or torque.
tag_t * (tag_t型的指针)vobject_tagOutput(输出)The new vector force or torque tag.
This tag identifies the vector force
or torque in the database.

 


 
UF_MOTION_delete_function (查看源代码)
 
定义在: uf_motion.h
 
概述
This function deletes the motion function object from the database.
If the function object is still referenced by another motion object,
it will not be deleted and an error code will be returned.

环境
Internal and External

参见
UF_MOTION_ask_function_tag_from_name
UF_MOTION_find_all_functions

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_delete_function
(
const tag_t function_tag
)
const tag_tfunction_tagInput(输入)Tag of function object to delete.

 


 
UF_MOTION_delete_interference (查看源代码)
 
定义在: uf_motion.h
 
概述
This function deletes the input interference object.

环境
Internal and External

参见
UF_MOTION_ask_interference
UF_MOTION_create_interference
UF_MOTION_interference

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_delete_interference
(
const tag_t interfere_tag
)
const tag_tinterfere_tagInput(输入)The tag of the interference to delete. This
tag is returned from the function
UF_MOTION_create_interference. It can also
be found using object cycle functions
(eg. UF_OBJ_cycle_objs_by_type).

 


 
UF_MOTION_delete_measurement (查看源代码)
 
定义在: uf_motion.h
 
概述
This function deletes the input measurement object.

环境
Internal and External

参见
UF_MOTION_ask_measurement
UF_MOTION_create_measurement
UF_MOTION_measure

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_delete_measurement
(
const tag_t meas_tag
)
const tag_tmeas_tagInput(输入)The tag of the measurement to delete. This tag
is returned from UF_MOTION_create_measurement.
It can also be found using object cycle
functions (eg. UF_OBJ_cycle_objs_by_type).

 


 
UF_MOTION_delete_trace (查看源代码)
 
定义在: uf_motion.h
 
概述
This function deletes the input trace object.

环境
Internal and External

参见
UF_MOTION_ask_trace
UF_MOTION_create_trace
UF_MOTION_trace

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_delete_trace
(
const tag_t trace_tag
)
const tag_ttrace_tagInput(输入)The tag of the trace to delete. This tag
is returned from UF_MOTION_create_trace.
It can also be found using object cycle
functions (eg. UF_OBJ_cycle_objs_by_type).

 


 
UF_MOTION_edit_artic_step_size (查看源代码)
 
定义在: uf_motion.h
 
概述
All joints that have a joint motion input defined can be articulated even
though the motion input type might not be articulation. This function sets
the articulation step size for the input joint tag. The tag must belong to a
joint that has a motion input defined or else an error condition is returned.

环境
Internal and External

参见
UF_MOTION_ask_artic_step_size
UF_MOTION_step_articulation

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_edit_artic_step_size
(
const tag_t joint_tag,
const double step_size
)
const tag_tjoint_tagInput(输入)The tag of the joint to set the articulation
step size on. This tag must belong to a joint
that has a motion input defined or else an
error condition is returned. This tag is
returned from UF_MOTION_create_joint. It can
also be found using cycle functions
(eg. UF_OBJ_cycle_objs_by_type).
const doublestep_sizeInput(输入)The new size of the articulation joint step.
The units of the step are based on the units of
the joint.

 


 
UF_MOTION_edit_interference (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input interference parameters to the input interference
tag.

环境
Internal and External

参见
UF_MOTION_ask_interference
UF_MOTION_create_interference
UF_MOTION_interference

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_edit_interference
(
const tag_t interfere_tag,
const UF_MOTION_interference_t * interfere_struct
)
const tag_tinterfere_tagInput(输入)The tag of the interference to edit. This
tag is returned from the function
UF_MOTION_create_interference. It can also
be found using object cycle functions
(eg. UF_OBJ_cycle_objs_by_type).
const UF_MOTION_interference_t *interfere_structInput(输入)The interference
structure for the input
tag.

 


 
UF_MOTION_edit_measurement (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input measurement parameters to the input measurement
tag.

环境
Internal and External

参见
UF_MOTION_ask_measurement
UF_MOTION_create_measurement
UF_MOTION_measure

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_edit_measurement
(
const tag_t meas_tag,
const UF_MOTION_measurement_t * meas_struct
)
const tag_tmeas_tagInput(输入)The tag of the measurement to edit. This tag
is returned from UF_MOTION_create_measurement.
It can also be found using object cycle
functions (eg. UF_OBJ_cycle_objs_by_type).
const UF_MOTION_measurement_t *meas_structInput(输入)The measurement structure
for the input tag.

 


 
UF_MOTION_edit_solver_parameters (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets new solver parameters to Scenario for Motion+.

环境
Internal and External

参见
UF_MOTION_ask_solver_parameters

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_edit_solver_parameters
(
const UF_MOTION_solver_parameters_t * solver_params
)
const UF_MOTION_solver_parameters_t *solver_paramsInput(输入)The new solver
parameters for
Scenario for Motion.

 


 
UF_MOTION_edit_trace (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input trace parameters to the input trace tag.

环境
Internal and External

参见
UF_MOTION_ask_trace
UF_MOTION_create_trace
UF_MOTION_trace

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_edit_trace
(
const tag_t trace_tag,
const UF_MOTION_trace_t * trace_struct
)
const tag_ttrace_tagInput(输入)The tag of the trace to edit. This tag is the
one returned from UF_MOTION_create_trace. It can
also be found using object cycle functions
(eg. UF_OBJ_cycle_objs_by_type).
const UF_MOTION_trace_t *trace_structInput(输入)The trace structure for the input
tag.

 


 
UF_MOTION_export_adams_anl_file (查看源代码)
 
定义在: uf_motion.h
 
概述
Exports the current Motion model as an ANL file which can then be read
into Adams or any other application which reads Adams ANL files.

环境
Internal or External

参见
UF_MOTION_init_stl_parameters_struct
UF_MOTION_solve_model
UF_MOTION_calculate_static_equilibrium
UF_MOTION_step_articulation
UF_MOTION_export_adams_res_file

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_export_adams_anl_file
(
const char * file_name,
UF_MOTION_anl_geometry_format_t geometry_format,
UF_MOTION_stl_parameters_p_t stl_params
)
const char *file_nameInput(输入)The filename of the .anl file to write. It
should include the entire path to the file.
The filename should end with .anl followed by a
terminating NULL character.
UF_MOTION_anl_geometry_format_tgeometry_formatInput(输入)The format to export the geometry.
UF_MOTION_stl_parameters_p_tstl_paramsInput(输入)If geometry_format == UF_MOTION_stl, then
this arg contains the parameters to export
the geometry as STL data. Ignored if
geometry_format != UF_MOTION_stl.

 


 
UF_MOTION_export_adams_res_file (查看源代码)
 
定义在: uf_motion.h
 
概述
This function writes the ADAMS .res file to disk. This file contains the
results of the latest solve-static equilirium, articulation, or a full
simulation. This is the only way to save the solver results; the results are
not saved in the part file. However, the results file does not need to be
written for any other purpose. This file is only used to store results for
later use. If the model is not changed, these results can be read back in to
Scenario for Motion for further processing.

环境
Internal and External

参见
UF_MOTION_init_stl_parameters_struct
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_calculate_static_equilibrium
UF_MOTION_export_adams_anl_file
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_export_adams_res_file
(
char * file_name
)
char * (字符型指针)file_nameInput(输入)The filename of the .res file to write. It
should include the entire path to the file.
The filename should end with .res followed by a
terminating NULL character.

 


 
UF_MOTION_export_to_product_vision (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to export motion animation to product vision.
This function creates a VFM file which is the ProductVision format for
motion data.
If this function is called when no results are in the
database, an error condition will be returned.To populate the results
into the database the motion model has to be solved.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_export_to_product_vision
(
const char * full_file_name,
UF_MOTION_PV_export_type_t export_option
)
const char *full_file_nameInput(输入)The full name of the VFM file to be
exported. The name should include
the directory where the newly created file
needs to be placed.
(e.g., /users/test/file_name
note: On windows use '\' instead of '/' )
If the length of the string is zero then the
scenario directory will be the default directory
and the scenario name will be the default file
name
UF_MOTION_PV_export_type_texport_optionInput(输入)The option to export VFM and JT file or
only the VFM file

 


 
UF_MOTION_find_all_functions (查看源代码)
 
定义在: uf_motion.h
 
概述
This function finds all the motion function objects in the current part.

环境
Internal and External

参见
UF_MOTION_ask_function_tag_from_name

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_find_all_functions
(
tag_t * * function_tags,
int * num_functions
)
tag_t * *function_tagsOutput to be freed
输出并释放
Tag array of all function objects in
current part.
int * (整数型指针)num_functionsOutput(输出)Number of function tags.

 


 
UF_MOTION_get_object_derived_function (查看源代码)
 
定义在: uf_motion.h
 
概述
This function returns the string of a derived function. A derived function
references a motion object for a particular result type. All motion objects
other than links are allowed for reference in a derived function.

环境
Internal and External

参见
UF_MOTION_validate_function_syntax
UF_MOTION_create_function

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_get_object_derived_function
(
const tag_t motion_obj_tag,
UF_MOTION_func_result_type_t func_type,
UF_MOTION_func_component_type_t func_comp,
UF_MOTION_func_ref_frame_type_t ref_frame,
char * * derived_func_string
)
const tag_tmotion_obj_tagInput(输入)The motion object being referenced
for the derived function.
UF_MOTION_func_result_type_tfunc_typeInput(输入)The result type requested
for the derived function.
See uf_motion_types.h
UF_MOTION_func_component_type_tfunc_compInput(输入)The result component
requested for the
derived function.
See uf_motion_types.h
UF_MOTION_func_ref_frame_type_tref_frameInput(输入)The reference frame
for the derived function.
See uf_motion_types.h
char * *derived_func_stringOutput(输出)Formulated string of a derived function.

 


 
UF_MOTION_init_2D_contact_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input 2D contact structure with standard
default values. It is highly recommended that all 2D contact structures
get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_2D_contact_struct
(
UF_MOTION_2D_contact_t * contact_struct
)
UF_MOTION_2D_contact_t *contact_structOutput(输出)The 2D_contact structure to be
initialized.

 


 
UF_MOTION_init_3D_contact_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input 3D contact structure with standard
default values. It is highly recommended that all 3D contact structures
get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_3D_contact_struct
(
UF_MOTION_3D_contact_t * contact_struct
)
UF_MOTION_3D_contact_t *contact_structOutput(输出)The 3D_contact structure to be
initialized.

 


 
UF_MOTION_init_articulation (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the solver for an articulation run. It must be
called prior to any calls to UF_MOTION_step_articulation and it must be paired
with a call to UF_MOTION_terminate_articulation.

环境
Internal and External

参见
UF_MOTION_step_articulation
UF_MOTION_edit_artic_step_size
UF_MOTION_terminate_articulation
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Created in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_articulation
(
void
)

 


 
UF_MOTION_init_crv_crv_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input curve curve structure with standard
default values. It is highly recommended that all curve curve structures
get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_crv_crv_struct
(
UF_MOTION_curve_curve_constraint_t * crv_crv_struct
)
UF_MOTION_curve_curve_constraint_t *crv_crv_structInput / OutputThe curve curve structure to be initialized.

 


 
UF_MOTION_init_cylindrical_bushing_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input cylindrical bushing structure with
standard default values. It is highly recommended that all cylindrical
bushing structures get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_cylindrical_bushing_struct
(
UF_MOTION_cylindrical_bushing_t * bushing_struct
)
UF_MOTION_cylindrical_bushing_t *bushing_structOutput(输出)The bushing data
structure to be
initialized.

 


 
UF_MOTION_init_function_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input function structure with standard default
values. It is highly recommended that all function structures get initialized
with this function before they are used.

环境
Internal and External

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_function_struct
(
UF_MOTION_function_t * function_struct
)
UF_MOTION_function_t *function_structOutput(输出)The function structure to be
initialized.

 


 
UF_MOTION_init_general_bushing_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input general bushing structure with standard
default values. It is highly recommended that all general bushing structures
get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_general_bushing_struct
(
UF_MOTION_general_bushing_t * bushing_struct
)
UF_MOTION_general_bushing_t *bushing_structOutput(输出)The bushing data
structure to be
initialized.

 


 
UF_MOTION_init_interference_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input interference structure with standard
default values. It is highly recommended that all interference structures get
initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_trace_struct
UF_MOTION_init_measurement_struct

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_interference_struct
(
UF_MOTION_interference_t * interference_struct
)
UF_MOTION_interference_t *interference_structOutput(输出)The interference structure
to be initialized.

 


 
UF_MOTION_init_joint_coupler_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input coupler structure with standard default
values. It is highly recommended that all coupler structures get initialized
with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_link_struct
UF_MOTION_init_joint_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_joint_coupler_struct
(
UF_MOTION_joint_coupler_t * coupler_struct
)
UF_MOTION_joint_coupler_t *coupler_structOutput(输出)The coupler structure
to be initialized.

 


 
UF_MOTION_init_joint_limits_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input joint limits structure with standard
default values. It is highly recommended that all joint limits structures
get initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_joint_struct
UF_MOTION_init_joint_motion_input_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_joint_limits_struct
(
UF_MOTION_joint_limits_t * joint_limits_struct
)
UF_MOTION_joint_limits_t *joint_limits_structOutput(输出)The joint limits
structure to be
initialized.

 


 
UF_MOTION_init_joint_motion_input_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input joint motion input structure with standard
default values. It is highly recommended that all joint motion input
structures get initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_joint_struct
UF_MOTION_init_joint_limits_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_joint_motion_input_struct
(
UF_MOTION_joint_motion_input_t * motion_input_struct
)
UF_MOTION_joint_motion_input_t *motion_input_structOutput(输出)The joint motion
input structure
to be initialized.

 


 
UF_MOTION_init_joint_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input joint structure with standard default
values. It is highly recommended that all joint structures get initialized
with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_joint_limits_struct
UF_MOTION_init_joint_motion_input_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_joint_struct
(
UF_MOTION_joint_t * joint_struct
)
UF_MOTION_joint_t *joint_structOutput(输出)The joint structure to be initialized.

 


 
UF_MOTION_init_link_mass_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input link mass structure with standard default
values. It is highly recommended that all link mass structures get
initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_link_struct
UF_MOTION_init_link_velocity_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_link_mass_struct
(
UF_MOTION_link_mass_properties_t * link_mass_struct
)
UF_MOTION_link_mass_properties_t *link_mass_structOutput(输出)The link mass
structure to be
initialized.

 


 
UF_MOTION_init_link_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input link structure with standard default
values. It is highly recommended that all link structures get initialized
with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_link_mass_struct
UF_MOTION_init_link_velocity_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_link_struct
(
UF_MOTION_link_t * link_struct
)
UF_MOTION_link_t *link_structInput / OutputThe link structure to be initialized.

 


 
UF_MOTION_init_link_velocity_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input link initial velocity structure with
standard default values. It is highly recommended that all link initial
velocity structures get initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_link_struct
UF_MOTION_init_link_mass_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_link_velocity_struct
(
UF_MOTION_link_initial_velocity_t * link_velocity_struct
)
UF_MOTION_link_initial_velocity_t *link_velocity_structInput / OutputThe link
initial
velocity
structure
to be
initialized.

 


 
UF_MOTION_init_marker_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input marker structure with standard default
values. It is highly recommended that all marker structures get initialized
with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_link_struct
UF_MOTION_init_joint_struct

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_marker_struct
(
UF_MOTION_marker_t * marker_struct
)
UF_MOTION_marker_t *marker_structOutput(输出)The marker structure to be
initialized.

 


 
UF_MOTION_init_measurement_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input measurement structure with standard
default values. It is highly recommended that all measurement structures get
initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_trace_struct
UF_MOTION_init_interference_struct

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_measurement_struct
(
UF_MOTION_measurement_t * measurement_struct
)
UF_MOTION_measurement_t *measurement_structOutput(输出)The measurement structure to
be initialized.

 


 
UF_MOTION_init_point_on_surface_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the structures of point on surface constraint
parameters with standard default values. It is highly recommended that all
point on surface parameters structures get initialized with this function
before they are used.

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_ask_point_on_surface_constraint
UF_MOTION_create_point_on_surface_constraint
UF_MOTION_set_point_on_surface_constraint

历史
Created in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_point_on_surface_constraint
(
UF_MOTION_point_on_surface_data_p_t point_on_surf_data
)
UF_MOTION_point_on_surface_data_p_tpoint_on_surf_dataOutput(输出)The empty struct
to retrieve the
default Point on
surface
parameters.

 


 
UF_MOTION_init_pt_crv_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input point curve structure with standard
default values. It is highly recommended that all point curve structures
get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_pt_crv_struct
(
UF_MOTION_point_curve_constraint_t * pt_crv_struct
)
UF_MOTION_point_curve_constraint_t *pt_crv_structInput / OutputThe point curve structure to be initialized.

 


 
UF_MOTION_init_scalar_force_torque_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input scalar force/torque structure with
standard default values. It is highly recommended that all scalar force/
torque structures get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_scalar_force_torque_struct
(
UF_MOTION_scalar_force_torque_t * scalar_struct
)
UF_MOTION_scalar_force_torque_t *scalar_structOutput(输出)The scalar force/torque
data structure
to be initialized.

 


 
UF_MOTION_init_solver_parameters_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input solver parameters structure with standard
default values. It is highly recommended that all solver parameters
structures get initialized with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_trace_struct
UF_MOTION_init_interference_struct

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_solver_parameters_struct
(
UF_MOTION_solver_parameters_t * solver_params_struct
)
UF_MOTION_solver_parameters_t *solver_params_structOutput(输出)The solver
parameters structure
to be initialized.

 


 
UF_MOTION_init_spring_damper_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input spring/damper structure with
standard default values. It is highly recommended that all spring/damper
structures get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_spring_damper_struct
(
UF_MOTION_spring_damper_t * spring_damper_struct
)
UF_MOTION_spring_damper_t *spring_damper_structOutput(输出)The spring/damper
data structure
to be initialized.

 


 
UF_MOTION_init_stl_parameters_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
Initialize the UF_MOTION_stl_parameters_t structure with default values
in preparation to send to UF_MOTION_export_adams_anl_file.

环境
Internal or External

参见
UF_MOTION_export_adams_anl_file

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_stl_parameters_struct
(
UF_MOTION_stl_parameters_t * stl_params
)
UF_MOTION_stl_parameters_t *stl_paramsOutput(输出)The empty struct to retrieve the
default STL parameters.

 


 
UF_MOTION_init_trace_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input trace structure with standard default
values. It is highly recommended that all trace structures get initialized
with this function before they are used.

环境
Internal and External

参见
UF_MOTION_init_measurement_struct
UF_MOTION_init_interference_struct

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_trace_struct
(
UF_MOTION_trace_t * trace_struct
)
UF_MOTION_trace_t *trace_structOutput(输出)The trace structure to be initialized.

 


 
UF_MOTION_init_vector_force_torque_struct (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the input vector force/torque structure with
standard default values. It is highly recommended that all vector force/
torque structures get initialized with this function before they are used.

环境
Internal and External

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_init_vector_force_torque_struct
(
UF_MOTION_vector_force_torque_t * vector_struct
)
UF_MOTION_vector_force_torque_t *vector_structOutput(输出)The vector force/torque
data structure
to be initialized.

 


 
UF_MOTION_initialize (查看源代码)
 
定义在: uf_motion.h
 
概述
This function initializes the Scenario for Motion+ application by initializing
the internal databases and solvers. This function also performs the license
checking for Scenario for Motion+. The application cannot be used unless a
valid license is found.

环境
Internal and External

参见
UF_MOTION_terminate
UF_MOTION_is_initialized

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_initialize
(
void
)

 


 
UF_MOTION_interference (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to determine if two solid bodies interfere with each
other at a particular step of the analysis results. The interference
parameters must be defined previously. Also there must be a valid set of
analysis results in the database.

环境
Internal and External

参见
UF_MOTION_trace
UF_MOTION_measure
UF_MOTION_solve_model
UF_MOTION_create_interference_body

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_interference
(
const tag_t interference_tag,
const int step_num,
int * interference_result
)
const tag_tinterference_tagInput(输入)The tag of the interference object that
contains the required parameters to
perform the interference check. This
tag was created using the function
UF_MOTION_create_interference.
const intstep_numInput(输入)The step number to perform the interference
check for. It cannot be negative and it cannot
be greater than the total number of steps
available in the analysis results stored in the
database.
int * (整数型指针)interference_resultOutput(输出)The results of the interference check are
returned as a boolean. A value of TRUE means
the objects interfere while a value of false
means they do not interfere.

 


 
UF_MOTION_is_initialized (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to determine if the Scenario for Motion+ application has
been properly initialized.

环境
Internal and External

参见
UF_MOTION_initialize
UF_MOTION_terminate

历史
Released in V18
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_MOTION_is_initialized
(
logical * true_false
)
logical *true_falseOutput(输出)If Scenario for Motion is properly initialized,
this value will be non-zero. If Scenario for
Motion is not initialized, this value will be zero.

 


 
UF_MOTION_list_connections (查看源代码)
 
定义在: uf_motion.h
 
概述
Generate an ascii text file containing a listing of the Motion connections,
degrees of freedom, etc.

环境
Internal and External

参见
UF_MOTION_write_object_info

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_list_connections
(
const char * output_file_with_path
)
const char *output_file_with_pathInput(输入)The full path to the file that the
listing should be written to. If
this file already exists it will
be overwritten.

 


 
UF_MOTION_measure (查看源代码)
 
定义在: uf_motion.h
 
概述
This function performs a measurement between specific objects at a particular
step in the analysis results. The measurement parameters must be set in the
database prior to calling this function using UF_MOTION_create_measurement.
There must also be a valid set of analysis results in the database before this
function is called.

环境
Internal and External

参见
UF_MOTION_create_measurement
UF_MOTION_solve_model
UF_MOTION_trace
UF_MOTION_interference

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_measure
(
const tag_t measurement_tag,
const int animation_step,
double * measurement
)
const tag_tmeasurement_tagInput(输入)The tag of the measurement to be
performed. It was created using
UF_MOTION_create_measurement and stores all
of the parameters needed to complete the
measurement.
const intanimation_stepInput(输入)The step number of the analysis results
currently loaded in the database. It cannot
be negative and it cannot be greater than
the total number of steps in the analysis
results.
double * (实数型指针)measurementOutput(输出)The results of the measurement. The units of this
result depends on the type of measurement and the
system of units the model is currently in.

 


 
UF_MOTION_remove_joint_limits (查看源代码)
 
定义在: uf_motion.h
 
概述
This function removes the joint limits from the input joint tag. If the input
joint does not have joint limits defined, an error condition is returned.

环境
Internal and External

参见
UF_MOTION_set_joint_limits
UF_OBJ_delete_object

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_remove_joint_limits
(
const tag_t joint_tag
)
const tag_tjoint_tagInput(输入)The tag of the joint to remove the joint
limits from.

 


 
UF_MOTION_remove_joint_motion_input (查看源代码)
 
定义在: uf_motion.h
 
概述
This function removes the joint motion input from the input joint tag. If
the input joint tag does not have a joint input defined, an error condition
is returned.

环境
Internal and External

参见
UF_MOTION_set_joint_motion_input
UF_OBJ_delete_object

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_remove_joint_motion_input
(
const tag_t joint_tag
)
const tag_tjoint_tagInput(输入)The tag to remove the joint motion inputs from.

 


 
UF_MOTION_remove_link_initial_velocity (查看源代码)
 
定义在: uf_motion.h
 
概述
This function removes all initial velocities from the input link tag.

环境
Internal and External

参见
UF_MOTION_set_link_initial_velocity

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_remove_link_initial_velocity
(
const tag_t link_tag
)
const tag_tlink_tagInput(输入)The tag of the link to remove the initial
velocities from.

 


 
UF_MOTION_remove_link_mass_properties (查看源代码)
 
定义在: uf_motion.h
 
概述
This function removes mass properties from the input link tag,
To revert to the default calculated mass properties for solid bodies,
another call must be made to UF_MOTION_set_link_mass_properties.
All of the non-solid geometry will be massless. If there are no mass
properties defined on the input link, an error condition will be returned
during solve time. To treat solid bodies as massless, use the mass
property toggle in the solver parameters structure.

环境
Internal and External

参见
UF_MOTION_set_link_mass_properties
UF_OBJ_delete_object
UF_MOTION_edit_solver_parameters

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_remove_link_mass_properties
(
const tag_t link_tag
)
const tag_tlink_tagInput(输入)The tag of the link to remove the user
defined mass properties from.

 


 
UF_MOTION_review_adams_res_file (查看源代码)
 
定义在: uf_motion.h
 
概述
This function reviews the existing result file of the motion model. Prior to
calling this function the model must be analyzed atleast once.

Inputs: Result file name (without path)

Outputs: None

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_calculate_static_equilibrium
UF_MOTION_export_adams_res_file
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Created in NX4
 
需要许可证(S)
mechanisms

 
int UF_MOTION_review_adams_res_file
(
char * res_file
)
char * (字符型指针)res_fileInput(输入)The filename (only) of the .res file to write.
The filename should end with .res followed by a
terminating NULL character.

 


 
UF_MOTION_set_2D_contact (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets 2D contact properties for the input 2D contact tag.

环境
Internal and External

参见
UF_MOTION_ask_2D_contact

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_2D_contact
(
const tag_t contact_tag,
UF_MOTION_2D_contact_t * contact_struct
)
const tag_tcontact_tagInput(输入)The tag of the 2D contact to set. This tag
is the one returned from
UF_MOTION_create_2D_contact. It can also
be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_2D_contact_t *contact_structInput(输入)The 2D contact structure
for the input tag.

 


 
UF_MOTION_set_3D_contact (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets 3D contact properties for the input 3D contact tag.

环境
Internal and External

参见
UF_MOTION_ask_3D_contact

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_3D_contact
(
const tag_t contact_tag,
UF_MOTION_3D_contact_t * contact_struct
)
const tag_tcontact_tagInput(输入)The tag of the 3D contact to set. This tag
is the one returned from
UF_MOTION_create_3D_contact. It can also
be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_3D_contact_t *contact_structInput(输入)The 3D contact structure
for the input tag.

 


 
UF_MOTION_set_3D_contact_method (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the 3D contact method to be used.

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_ask_3D_contact_method

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_3D_contact_method
(
UF_MOTION_3d_contact_method_t contact_method,
int facet_contact_tolerance
)
UF_MOTION_3d_contact_method_tcontact_methodInput(输入)the 3d contact method to be used
by Adams
int (整数型)facet_contact_toleranceInput(输入)ignored unless
contact_method == UF_MOTION_faceted_contact
Must be a value 1 to 100.
1 means Fast but may not be accurate
100 means accurate but may not be fast

 


 
UF_MOTION_set_angular_units (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the angular units for this mechanism

环境
Internal and External

参见
UF_MOTION_ask_angular_units

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_angular_units
(
UF_MOTION_angular_units_type_t angle_units
)
UF_MOTION_angular_units_type_tangle_unitsInput(输入)The new units

 


 
UF_MOTION_set_articulation_stop_tolerance (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the articulation stop tolerance. This is used by Adams to
calculate the stop positions for stop events in Articulation.

环境
Internal and External

参见
UF_MOTION_ask_articulation_stop_tolerance
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_articulation_stop_tolerance
(
double stop_tolerance
)
double (实数型)stop_toleranceInput(输入)

 


 
UF_MOTION_set_cylindrical_bushing (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input cylindrical bushing parameters to the input
cylindrical bushing tag.

环境
Internal and External

参见
UF_MOTION_ask_cylindrical_bushing

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_cylindrical_bushing
(
const tag_t bushing_tag,
const UF_MOTION_cylindrical_bushing_t * bushing_struct
)
const tag_tbushing_tagInput(输入)The tag of the cylindrical bushing to set.
This tag is the one returned from the
UF_MOTION_create_cylindrical_bushing function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_cylindrical_bushing_t *bushing_structInput(输入)The cylindrical
bushing structure
for the input tag.

 


 
UF_MOTION_set_damper (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input damper parameters to the input damper tag.
The damper parameters that can be set are the damping rate and the
link attachment points.

环境
Internal and External

参见
UF_MOTION_ask_damper

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_damper
(
const tag_t damper_tag,
const UF_MOTION_spring_damper_t * damper_struct
)
const tag_tdamper_tagInput(输入)The tag of the damper to set. This tag is the
one returned from the UF_MOTION_create_damper
function. It can also be found using object
cycle functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_spring_damper_t *damper_structInput(输入)The damper structure
for the input tag.

 


 
UF_MOTION_set_function (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input function parameters to the input function tag.

环境
Internal and External

参见
UF_MOTION_ask_function
UF_MOTION_validate_function_syntax
UF_MOTION_get_object_derived_function

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_function
(
const tag_t function_tag,
const UF_MOTION_function_t * function_struct
)
const tag_tfunction_tagInput(输入)The tag of the function to set.
This tag is the one returned
from UF_MOTION_create_function.
const UF_MOTION_function_t *function_structInput(输入)The function structure
for the input tag.

 


 
UF_MOTION_set_general_bushing (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input general bushing parameters to the input
general bushing tag.

环境
Internal and External

参见
UF_MOTION_ask_general_bushing

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_general_bushing
(
const tag_t bushing_tag,
const UF_MOTION_general_bushing_t * bushing_struct
)
const tag_tbushing_tagInput(输入)The tag of the general bushing to set.
This tag is the one returned from the
UF_MOTION_create_general_bushing function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_general_bushing_t *bushing_structInput(输入)The general bushing
structure for the
input tag.

 


 
UF_MOTION_set_gravitational_constants (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the graviational constants in this mechanism

环境
Internal and External

参见
UF_MOTION_ask_gravitational_constants

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_gravitational_constants
(
double gravitational_constants [ 3 ]
)
double (实数型)gravitational_constants [ 3 ] Input(输入)Vector defining gravitational
force

 


 
UF_MOTION_set_icon_scale_factor (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the global icon scale.

环境
Internal and External

参见
UF_MOTION_ask_icon_scale_factor

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_icon_scale_factor
(
double scale
)
double (实数型)scaleInput(输入)

 


 
UF_MOTION_set_joint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input joint parameters to the input joint tag.

环境
Internal and External

参见
UF_MOTION_ask_joint
UF_MOTION_set_joint_limits
UF_MOTION_set_joint_motion_input

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_joint
(
const tag_t joint_tag,
const UF_MOTION_joint_t * joint_struct
)
const tag_tjoint_tagInput(输入)The tag of the joint to set. This tag is the
one returned from the UF_MOTION_create_joint
function. It can also be found using object
cycle functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_joint_t *joint_structInput(输入)The joint structure
for the input tag.

 


 
UF_MOTION_set_joint_coupler (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input joint coupler parameters to the input joint
coupler tag.

环境
Internal and External

参见
UF_MOTION_ask_joint_coupler
UF_MOTION_create_joint_coupler

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_joint_coupler
(
const tag_t joint_coupler_tag,
UF_MOTION_joint_coupler_t * coupler_struct
)
const tag_tjoint_coupler_tagInput(输入)The tag of the joint coupler to set.
This tag is the one returned from the
UF_MOTION_create_joint_coupler function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_joint_coupler_t *coupler_structInput(输入)The joint coupler structure
holding the parameters to
be set to the input tag.

 


 
UF_MOTION_set_joint_limits (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the joint limits for the input joint tag. By default,
joint limits are undefined for all joints. Joint limits can only be set for
revolute and slider joints. If the input tag is another type of joint, an
error condition is returned.

环境
Internal and External

参见
UF_MOTION_set_joint
UF_MOTION_ask_joint_limits
UF_MOTION_remove_joint_limits

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_joint_limits
(
const tag_t joint_tag,
const UF_MOTION_joint_limits_t * joint_limits_struct
)
const tag_tjoint_tagInput(输入)The tag of the joint to set the joint
limits on. This joint must be a revolute
or a slider. This tag is the one returned
from the UF_MOTION_create_joint function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_joint_limits_t *joint_limits_structInput(输入)The joint limits
structure for the
input tag. The
maximum joint limit
must be greater
than zero and the
minimum must be
less than zero.

 


 
UF_MOTION_set_joint_motion_input (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the joint motion input to the input joint tag. By default
all joints are created without joint motion input defined. Joint motion input
can only be defined for revolute and slider joints. If another type of joint
tag is used, an error condition will be returned.

环境
Internal and External

参见
UF_MOTION_ask_joint
UF_MOTION_ask_joint_motion_input
UF_MOTION_remove_joint_motion_input

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_joint_motion_input
(
const tag_t joint_tag,
const UF_MOTION_joint_motion_input_t * input_struct
)
const tag_tjoint_tagInput(输入)The tag of the joint to set the motion
input info to. This tag must belong to
either a revolute or a slider joint.
This tag is the one returned from the
UF_MOTION_create_joint function. It can
also be found using object cycle
functions (eg. UF_OBJ_cycle_objs_by_type).
const UF_MOTION_joint_motion_input_t *input_structInput(输入)The joint motion
input structure
to be set on the
input joint tag.

 


 
UF_MOTION_set_link (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input link parameters to the input link tag.

环境
Internal and External

参见
UF_MOTION_ask_link
UF_MOTION_set_link_mass_properties
UF_MOTION_set_link_initial_velocity

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_link
(
const tag_t link_tag,
const UF_MOTION_link_t * link_struct
)
const tag_tlink_tagInput(输入)The tag of the link to set.
This tag is the one returned from the
UF_MOTION_create_link function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_link_t *link_structInput(输入)The link structure for the input tag.

 


 
UF_MOTION_set_link_initial_velocity (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the link initial velocities for the input link tag.
All velocities are based on the work coordinate system of the model.
Do not define more velocities than what is necessary to define the system.
There should never be more initial velocities than degrees of freedom.

环境
Internal and External

参见
UF_MOTION_set_link
UF_MOTION_ask_link_initial_velocity
UF_MOTION_remove_link_initial_velocity

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_link_initial_velocity
(
const tag_t link_tag,
const UF_MOTION_link_initial_velocity_t * init_vel_struct
)
const tag_tlink_tagInput(输入)The tag of the link to set the initial
velocity. This tag is the one returned
from the UF_MOTION_create_link function.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_link_initial_velocity_t *init_vel_structOutput(输出)Data structure
containing the
initial velocities
to be defined.

 


 
UF_MOTION_set_link_mass_properties (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the link mass properties to the input link tag. If the
link contains solid bodies, default mass properties are calculated. If there
are no solid bodies in the link, then this function must be used to set
valid mass properties before any dynamic analyses can be performed.
Any user defined mass properties passed through this function will overwrite
the default or existing mass properties.

环境
Internal and External

参见
UF_MOTION_set_link
UF_MOTION_ask_link_mass_properties
UF_MOTION_remove_link_mass_properties

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_link_mass_properties
(
const tag_t link_tag,
const UF_MOTION_link_mass_properties_t * mass_prop_struct
)
const tag_tlink_tagInput(输入)The tag of the link to set mass properties.
This tag is the one returned from the
UF_MOTION_create_link function. It can also
be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_link_mass_properties_t *mass_prop_structInput(输入)The link mass
propertiy
structure for
the input tag.
These mass
properties will
overwrite the
mass properties
that may have
been created
automatically
for the link.

 


 
UF_MOTION_set_marker (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets a new marker origin and a new orientation matrix
to the input marker tag.

环境
Internal and External

参见
UF_MOTION_ask_marker
UF_MOTION_set_marker

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_marker
(
const tag_t marker_tag,
UF_MOTION_marker_t * marker_struct
)
const tag_tmarker_tagInput(输入)The tag of the marker to set. This tag is the
one returned from UF_MOTION_create_marker. It
can also be found using object cycle functions.
(eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_marker_t *marker_structInput(输入)The marker structure for the
input tag.

 


 
UF_MOTION_set_name_display (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the dislay of object names

环境
Internal and External

参见
UF_MOTION_ask_name_display

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_name_display
(
logical name_display
)
logicalname_displayInput(输入)TRUE if names should be displayed.
FALSE if names should not be displayed.

 


 
UF_MOTION_set_point_on_surface_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the structures represented by the tag_t with new point on
surface constraint values.

返回
Zero for success, non-zero is error code

环境
Internal and External

参见
UF_MOTION_init_point_on_surface_constraint
UF_MOTION_create_point_on_surface_constraint
UF_MOTION_ask_point_on_surface_constraint

历史
Created in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_point_on_surface_constraint
(
tag_t point_on_surface_tag,
UF_MOTION_point_on_surface_data_p_t pt_on_surf_data
)
tag_t (tag_t类型)point_on_surface_tagInput(输入)tag of point on surface constraint
object
UF_MOTION_point_on_surface_data_p_tpt_on_surf_dataInput(输入)Structures of point on surface
constraint data

 


 
UF_MOTION_set_pt_crv_constraint (查看源代码)
 
定义在: uf_motion.h
 
概述
This function edit point curve constraint

环境
Internal and External

参见
UF_MOTION_ask_pt_crv_constraint

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_pt_crv_constraint
(
tag_t pt_crv_tag,
UF_MOTION_point_curve_constraint_t * pt_crv_data
)
tag_t (tag_t类型)pt_crv_tagInput(输入)tag of the constraint
UF_MOTION_point_curve_constraint_t *pt_crv_dataInput(输入)point curve
constraint data

 


 
UF_MOTION_set_scalar_force (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input scalar force parameters to the input force tag.
The parameters that can be set are the origin locations and the force
function.

环境
Internal and External

参见
UF_MOTION_ask_scalar_force

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_scalar_force
(
const tag_t force_tag,
const UF_MOTION_scalar_force_torque_t * force_struct
)
const tag_tforce_tagInput(输入)The tag of the scalar force to set.
This tag is the one returned from
UF_MOTION_create_scalar_force.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_scalar_force_torque_t *force_structInput(输入)The scalar force
structure for
the input tag.

 


 
UF_MOTION_set_scalar_torque (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input scalar torque parameters to the input torque tag.
The only parameter that can be set is the torque function.

环境
Internal and External

参见
UF_MOTION_ask_scalar_torque

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_scalar_torque
(
const tag_t torque_tag,
const UF_MOTION_scalar_force_torque_t * torque_struct
)
const tag_ttorque_tagInput(输入)The tag of the scalar torque to set.
This tag is the one returned from
UF_MOTION_create_scalar_torque.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_scalar_force_torque_t *torque_structInput(输入)The scalar torque
structure for
the input tag.

 


 
UF_MOTION_set_spring (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input spring parameters to the input spring tag.
The spring parameters that can be set are the rate, the free length (linear)
or free angle (rotational), and the link attachment points.

环境
Internal and External

参见
UF_MOTION_ask_spring

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_spring
(
const tag_t spring_tag,
const UF_MOTION_spring_damper_t * spring_struct
)
const tag_tspring_tagInput(输入)The tag of the spring to set. This tag is the
one returned from the UF_MOTION_create_spring
function. It can also be found using object
cycle functions. (eg. UF_OBJ_cycle_objs_by_type)
const UF_MOTION_spring_damper_t *spring_structInput(输入)The spring structure
for the input tag.

 


 
UF_MOTION_set_trace_explosion_to_master (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets whether trace/explosion objects will get exported to the
master

环境
Internal and External

参见
UF_MOTION_ask_trace_explosion_to_master

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_trace_explosion_to_master
(
logical to_master
)
logicalto_masterInput(输入)TRUE or FALSE

 


 
UF_MOTION_set_vector_force_torque (查看源代码)
 
定义在: uf_motion.h
 
概述
This function sets the input vector force/torque parameters to the input
vector force or torque tag.

环境
Internal and External

参见
UF_MOTION_ask_vector_force_torque

历史
Created in NX2
 
需要许可证(S)
mechanisms

 
int UF_MOTION_set_vector_force_torque
(
const tag_t vobject_tag,
UF_MOTION_vector_force_torque_t * vector_struct
)
const tag_tvobject_tagInput(输入)The tag of the vector force or torque
to set. This tag is the one returned from
UF_MOTION_create_vector_force_torque.
It can also be found using object cycle
functions. (eg. UF_OBJ_cycle_objs_by_type)
UF_MOTION_vector_force_torque_t *vector_structInput(输入)The vector force/
torque structure
for the input tag.

 


 
UF_MOTION_solve_model (查看源代码)
 
定义在: uf_motion.h
 
概述
This function performs the analysis of the motion model. Prior to calling
this function the model must be completely ready to analyze. This function is
a time-based analysis. If the model has one or more degrees of freedom, this
function performs a dynamic analysis. If the model has no degrees of freedom
(including redundant constraints) this function performs a kinematic analysis.
The results of the analysis are stored in the internal database until another
analysis is performed or the model is changed. To access the results, use
any of the following:

1) Packaging options, including measure, trace, and interference.
2) Write the results to disk using UF_MOTION_export_adams_res_file.
3) Get specific results from a joint or marker.

环境
Internal and External

参见
UF_MOTION_step_articulation
UF_MOTION_measure
UF_MOTION_review_adams_res_file
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_solve_model
(
const double time,
int * num_steps
)
const doubletimeInput(输入)The total time for the analysis in the current time
units.
int * (整数型指针)num_stepsInput / OutputThe number of steps for the solver to take during the
analysis. This parameter is used with the time
parameter to determine the average step size for the
analysis. The total number of steps successfully saved
in the database is returned.

 


 
UF_MOTION_spreadsheet_run_from_file (查看源代码)
 
定义在: uf_motion_ugopenint.h
 
概述
This function runs animation using the motion data in the specified
spreadsheet. Last argument decides whether the animation will be run
interactively by bringing up the user interface or not.

环境
Internal and External

参见
UF_MOTION_spreadsheet_run_from_file

历史
Released in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_spreadsheet_run_from_file
(
char * spreadsheet_file,
int start_step,
int end_step,
logical invoke_ui
)
char * (字符型指针)spreadsheet_fileInput(输入)Full path and name of spreadsheet file
containing motion data
int (整数型)start_stepInput(输入)Step number in spreadsheet to start
animation at
int (整数型)end_stepInput(输入)Step number in spreasheet till which to
animate
logicalinvoke_uiInput(输入)TRUE if spreadsheet run should be
interactive FALSE if animation should be
run without the user interface

 


 
UF_MOTION_step_articulation (查看源代码)
 
定义在: uf_motion.h
 
概述
This function solves the motion model for the number of steps of the
articulation model. It is a position based analysis. Multiple calls to this
function will be appended together to form the full analysis. For example, if
this function is called seven times with a single step each time, the analysis
results in the database will have seven steps. However, it will not append
results onto the end of a time-based simulation. Instead, the first call to
this funcion following a time-based simulation or a static analysis will clear
the database of those results. Similar to UF_MOTION_solve_model, the database
results can be accessed by the following:

1) Packaging options, including measure, trace, and interference.
2) Write the results to disk using UF_MOTION_export_adams_res_file.
3) Get specific results from a joint or marker.

环境
Internal and External

参见
UF_MOTION_solve_model
UF_MOTION_edit_artic_step_size
UF_MOTION_ask_velocity_results
UF_MOTION_ask_force_results

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_step_articulation
(
const int num_steps,
int * total_steps
)
const intnum_stepsInput(输入)The number of steps to take for the step sizes
currently stored on the articulation joints.
int * (整数型指针)total_stepsOutput(输出)The number of successful steps that are available in
the database.

 


 
UF_MOTION_terminate (查看源代码)
 
定义在: uf_motion.h
 
概述
This function closes all internal databases and solvers for Scenario for
Motion and returns the memory to the system.

环境
Internal and External

参见
UF_MOTION_is_initialized
UF_MOTION_initialize

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_terminate
(
void
)

 


 
UF_MOTION_terminate_articulation (查看源代码)
 
定义在: uf_motion.h
 
概述
This function terminates the solver for an articulation run. It must be
called after all calls to UF_MOTION_step_articulation and it must be paired
with a call to UF_MOTION_init_articulation. Failure to terminate the solver
after an articulation run may corrupt the solver.

环境
Internal and External

参见
UF_MOTION_init_articulation
UF_MOTION_step_articulation

历史
Created in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_terminate_articulation
(
void
)

 


 
UF_MOTION_trace (查看源代码)
 
定义在: uf_motion.h
 
概述
This function performs a trace of a specific object. The object is copied at
its position in the analysis step and the tag of the copied object is
returned. The trace parameters must first be stored in the model using
UF_MOTION_create_trace or UF_MOTION_edit_trace. Before this function can be
called, valid analysis results must be present in the database.

环境
Internal and External

参见
UF_MOTION_create_trace
UF_MOTION_solve_model
UF_MOTION_measure
UF_MOTION_interference

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_trace
(
const tag_t trace_tag,
const int step_number,
tag_t * new_object_tag
)
const tag_ttrace_tagInput(输入)The tag of the trace object. This tag was
created using UF_MOTION_create_trace and contains
all of the parameters needed to perform the
trace.
const intstep_numberInput(输入)The step number of the analysis results that
are currently available in the database. It
cannot be negative and it cannot be greater
than the number of steps in the results.
tag_t * (tag_t型的指针)new_object_tagOutput(输出)The tag of the new object copied from the traced
object.

 


 
UF_MOTION_trace_model (查看源代码)
 
定义在: uf_motion.h
 
概述
This function is used to trace all of the links in the model at the input
solution step. This function cannot be called until after there is a valid
solution in the database. To create a solution, use UF_MOTION_solve_model,
UF_MOTION_step_articulation, or UF_MOTION_calculate_static_equilibrium. This
function will copy all of the geometry of each link in the model and return
the new geometry tags back.

环境
Internal and External

参见
UF_MOTION_trace
UF_MOTION_solve_model
UF_MOTION_step_articulation
UF_MOTION_calculate_static_equilibrium

历史
Released in V18
 
需要许可证(S)
mechanisms

 
int UF_MOTION_trace_model
(
const int step_num,
const int target_layer,
int * num_tags,
tag_t * * geom_tags
)
const intstep_numInput(输入)The step number of the current analysis solution
in the database. It cannot be negative and it
cannot exceed the number of valid steps in the
solution.
const inttarget_layerInput(输入)The layer to place the new objects on. It
must be a valid NX layer.
int * (整数型指针)num_tagsOutput(输出)The number of geometry tags copied and returned in the
next argument.
tag_t * *geom_tagsOutput to be freed
输出并释放
The tags of the copied geometry of all the links.
The memory for this array of tags must be freed
using UF_free().

 


 
UF_MOTION_validate_function_syntax (查看源代码)
 
定义在: uf_motion.h
 
概述
This function checks the syntax of a function definition string to verify
its validity.

环境
Internal and External

参见
UF_MOTION_get_object_derived_function
UF_MOTION_create_function

历史
Released in NX2.0.5 and NX3.0.1
 
需要许可证(S)
mechanisms

 
int UF_MOTION_validate_function_syntax
(
char * * function_string,
const int num_lines
)
char * *function_stringInput(输入)Full string for a function definition.
const intnum_linesInput(输入)Number of lines of function string.

 


 
UF_MOTION_write_object_info (查看源代码)
 
定义在: uf_motion.h
 
概述
This function gets the information of motion objects and writes it out
to a file.

环境
Internal and External

参见
UF_MOTION_list_connections

历史
Created in NX3
 
需要许可证(S)
mechanisms

 
int UF_MOTION_write_object_info
(
int num_objects,
tag_p_t object_tags,
const char * info_file_name
)
int (整数型)num_objectsInput(输入)The number of motion objects in the tag array.
tag_p_tobject_tagsInput(输入)Tag array of motion objects to get info for.
const char *info_file_nameInput(输入)Name string (including full path) of
output file that object information
will be written to. This file should
be new and not yet exist.