UF_SKET_add_conics (查看源代码)
 
定义在: uf_sket.h
 
概述
Adds conics to the current sketch.

The following restrictions applies:
1) UF_SKET_initialize_sketch must have been previously called.
2) The construction coordinate system of the conic you wish to add must be
parallel to the sketch plane.
3) Object has to be either a hyperbola, parabola, or a partial ellipse
with angular span smaller than 180 degree.

环境
Internal and External

参见
UF_SKET_initialize_sketch

历史
This function was originally released in V17.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_add_conics
(
tag_t sketch_tag,
int count,
tag_t * object
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
int (整数型)countInput(输入)Number of conics to be added.
tag_t * (tag_t型的指针)objectInput(输入)Array of conics to be added to the sketch

 


 
UF_SKET_add_extracted_objects (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine adds extracted objects to a sketch. New objects, extracted
from the input objects and become associative with the input objects, will
be added to the sketch.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
Internal and external.

参见
UF_SKET_initialize_sketch

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_add_extracted_objects
(
tag_t sketch_tag,
int count,
tag_t * objects,
int output_mode,
int * num_extracted_objs,
tag_t * * extracted_objs
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
int (整数型)countInput(输入)Number of objects to be extracted
tag_t * (tag_t型的指针)objectsInput(输入)Array of objects to be extracted
int (整数型)output_modeInput(输入)Output mode
UF_SKET_EXTR_ORIG_TYPE
UF_SKET_EXTR_MULTI_SPLINES
UF_SKET_EXTR_SINGLE_SPLINE
int * (整数型指针)num_extracted_objsOutput(输出)Number of extracted objects
tag_t * *extracted_objsOutput to be freed
输出并释放
Array of extracted objects.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_add_objects (查看源代码)
 
定义在: uf_sket.h
 
概述
Adds geometric objects to the current sketch.

The following restrictions applies:
1) UF_SKET_initialize_sketch must have been previously called.
2) The construction coordinate system of the arcs you wish to add must be
parallel to the sketch plane.

环境
Internal and External

参见
UF_SKET_initialize_sketch
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_add_objects
(
tag_t sketch_tag,
int count,
tag_t * object
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
int (整数型)countInput(输入)Number of objects to be added.
tag_t * (tag_t型的指针)objectInput(输入)Array of objects to be added to the sketch

 


 
UF_SKET_ask_active_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine returns the active sketch, or NULL_TAG if none active

环境
内部和外部

历史
This function was originally released in NX5.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_ask_active_sketch
(
tag_t * sketch_tag
)
tag_t * (tag_t型的指针)sketch_tagOutput(输出)Active sketch tag, NULL_TAG if none

 


 
UF_SKET_ask_con_is_inferred (查看源代码)
 
定义在: uf_sket.h
 
概述
This function determines whether a given constraint is inferred or not.

环境
内部和外部

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

 
int UF_SKET_ask_con_is_inferred
(
tag_t con_tag,
logical * inferred_con_fl
)
tag_t (tag_t类型)con_tagInput(输入)Constraint object tag.
logical *inferred_con_flOutput(输出)A flag that determines
whether a given con is
inferred or not.

 


 
UF_SKET_ask_constraint_class (查看源代码)
 
定义在: uf_sket.h
 
概述
This function returns the constaint class of the given constraint tag.

环境
内部和外部

历史
This function was originally released in V17.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_constraint_class
(
tag_t con_tag,
UF_SKET_con_class_t * con_class
)
tag_t (tag_t类型)con_tagInput(输入)Constraint tag
UF_SKET_con_class_t *con_classOutput(输出)Constraint class:
- UF_SKET_geo_cons
- UF_SKET_dim_cons

 


 
UF_SKET_ask_constraint_type (查看源代码)
 
定义在: uf_sket.h
 
概述
This function finds the constaint type

环境
内部和外部

历史
This function was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_constraint_type
(
tag_t con_tag,
UF_SKET_con_type_t * con_type
)
tag_t (tag_t类型)con_tagInput(输入)Constraint tag
UF_SKET_con_type_t *con_typeOutput(输出)The type of constraint

 


 
UF_SKET_ask_constraints_of_geometry (查看源代码)
 
定义在: uf_sket.h
 
概述
This function finds all the constraints, with the specified class, associated
with a geometry.

环境
内部和外部

参见
UF_SKET_ask_geo_cons_of_geometry

历史
V17 change: This function is new for V17.0. Although the
function's name is not new, the parameter list has changed.

Past callers of the UF_SKET_ask_constraints_of_geometry function
should replace their calls by UF_SKET_ask_geo_cons_of_geometry or
may use this function with additional parameter 'con_class' set to
SKET_geo_cons to get the same result as before.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_constraints_of_geometry
(
tag_t sketch_tag,
tag_t geom_tag,
UF_SKET_con_class_t con_class,
int * con_num,
tag_t * * con_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
tag_t (tag_t类型)geom_tagInput(输入)Tag of the geometry.
UF_SKET_con_class_tcon_classInput(输入)Constraint class:
- UF_SKET_all_cons
- UF_SKET_geo_cons
- UF_SKET_dim_cons
int * (整数型指针)con_numOutput(输出)Number of output constraints
tag_t * *con_tagsOutput to be freed
输出并释放
Array of constraints of the sketch.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_constraints_of_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Output constraints, with the specified class, of a given sketch.

环境
内部和外部

参见
UF_SKET_ask_geo_cons_of_sketch

历史
V17 change: This function is new for V17.0. Although the
function's name is not new, the parameter list has changed.

Past callers of the UF_SKET_ask_constraints_of_sketch function
should replace their calls by UF_SKET_ask_geo_cons_of_sketch or
may use this function with additional parameter 'con_class' set
to SKET_geo_cons to get the same result as before.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_constraints_of_sketch
(
tag_t sketch_tag,
UF_SKET_con_class_t con_class,
int * num_cons,
tag_t * * con_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
UF_SKET_con_class_tcon_classInput(输入)Constraint class:
- UF_SKET_all_cons
- UF_SKET_geo_cons
- UF_SKET_dim_cons
int * (整数型指针)num_consOutput(输出)Number of output constraints
tag_t * *con_tagsOutput to be freed
输出并释放
Array of constraints of the sketch.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_dim_status (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns status of a sketch dimension as well as its expression.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_dim_status
(
tag_t dim_tag,
tag_t * exp_tag,
char exp_string [ 256 ] ,
double * value,
int * status
)
tag_t (tag_t类型)dim_tagInput(输入)Dimension tag.
tag_t * (tag_t型的指针)exp_tagOutput(输出)Expression tag.
charexp_string [ 256 ] Output(输出)Expression string.
double * (实数型指针)valueOutput(输出)Value of expression.
int * (整数型指针)statusOutput(输出)Status:
1 = Reference
2 = Constrained(for pre-v13 sketches) or
Active(for v13+ sketches)
3 = Underconstrained(for pre-v13 sketches only)-
some variables associated with the dimension
are not constrained)

 


 
UF_SKET_ask_dimensions_of_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Output dimensions of a given sketch.

环境
内部和外部

历史
This function was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_dimensions_of_sketch
(
tag_t sketch_tag,
int * num_dims,
tag_t * * dim_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
int * (整数型指针)num_dimsOutput(输出)Number of output dimensions
tag_t * *dim_tagsOutput to be freed
输出并释放
Array of dimensions of the sketch.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_exps_of_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns the expressions for a sketch.

环境
内部和外部

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

 
int UF_SKET_ask_exps_of_sketch
(
tag_t sketch_tag,
int * num_exps,
tag_t * * expression_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
int * (整数型指针)num_expsOutput(输出)Number of expressions in sketch
tag_t * *expression_tagsOutput to be freed
输出并释放
Array of expressions from the sketch.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_face_sketches (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns all sketches associated with a face or datum plane.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_face_sketches
(
tag_t object,
uf_list_p_t * object_list
)
tag_t (tag_t类型)objectInput(输入)Solid face / datum plane tag.
uf_list_p_t *object_listOutput to be freed
输出并释放
List of sketches or NULL if none found.
This argument must be freed by calling
UF_MODL_delete_list

 


 
UF_SKET_ask_feature_sketches (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns all sketches associated with a feature.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_feature_sketches
(
tag_t feature,
uf_list_p_t * object_list
)
tag_t (tag_t类型)featureInput(输入)Feature tag.
uf_list_p_t *object_listOutput to be freed
输出并释放
List of sketches or NULL if none found.
This argument must be freed by calling
UF_MODL_delete_list

 


 
UF_SKET_ask_geo_cons_of_geometry (查看源代码)
 
定义在: uf_sket.h
 
概述
This function finds all the geometric constraints associated with a geometry.

环境
内部和外部

参见
UF_SKET_ask_constraints_of_geometry

历史
V17 change: This function was renamed from UF_SKET_ask_constraints_of_geometry,
which was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_geo_cons_of_geometry
(
tag_t sketch_tag,
tag_t geom_tag,
int * con_num,
tag_t * * con_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
tag_t (tag_t类型)geom_tagInput(输入)Tag of the geometry.
int * (整数型指针)con_numOutput(输出)Number of constraints.
tag_t * *con_tagsOutput to be freed
输出并释放
Array of constraints.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_geo_cons_of_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Output geometric constraints of a given sketch.

环境
内部和外部

参见
UF_SKET_ask_constraints_of_sketch

历史
V17 change: This function was renamed from UF_SKET_ask_constraints_of_sketch,
which was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_geo_cons_of_sketch
(
tag_t sketch_tag,
int * num_cons,
tag_t * * con_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
int * (整数型指针)num_consOutput(输出)Number of output constraints
tag_t * *con_tagsOutput to be freed
输出并释放
Array of constraints of the sketch.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_geoms_of_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Output geometries of a given sketch.

环境
内部和外部

历史
This function was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_geoms_of_sketch
(
tag_t sketch_tag,
int * num_geoms,
tag_t * * geom_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
int * (整数型指针)num_geomsOutput(输出)Number of output geometries
tag_t * *geom_tagsOutput to be freed
输出并释放
Array of geometries of the sketch.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_ask_inferred_cons_of_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
This function returns all inferred constraints of the given sketch.

环境
内部和外部

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

 
int UF_SKET_ask_inferred_cons_of_sketch
(
tag_t sketch_tag,
int * num_cons,
tag_t * * con_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch object tag.
int * (整数型指针)num_consOutput(输出)Number of inferred cons.
tag_t * *con_tagsOutput to be freed
输出并释放
Array of inferred cons.
Use UF_free to deallocate
the memory when done.

 


 
UF_SKET_ask_legacy_preferences (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns current sketch preference settings for sketches created prior to V13.0.

环境
内部和外部

参见
UF_SKET_ask_preferences
to query preferences for sketches created in V13.0 and beyond.
UF_SKET_set_legacy_preferences
UF_SKET_set_preferences

历史
V15.0 change: This function was renamed from
UF_SKET_ask_preferences to UF_SKET_ask_legacy_preferences.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_legacy_preferences
(
double * snap_angle,
double * cap_dist,
char * pt_name,
int auto_flag [ 2 ] ,
int show_flag [ 3 ] ,
double * char_size,
int * dec_places,
int * ext_lines,
int * dim_label
)
double * (实数型指针)snap_angleOutput(输出)Snap angle.
double * (实数型指针)cap_distOutput(输出)Capture distance.
char * (字符型指针)pt_nameOutput(输出)Point name variable.
int (整数型)auto_flag [ 2 ] Output(输出)Auto inferencing/constraint flag (1 = Off, 2 = On):
[0] = Auto inferencing
[1] = Auto constraint
int (整数型)show_flag [ 3 ] Output(输出)Show csys / datum / arrows flag (1 = Off, 2 = On):
[0] = CSYS
[1] = Datum
[2] = Arrows
double * (实数型指针)char_sizeOutput(输出)Character size.
int * (整数型指针)dec_placesOutput(输出)Decimal places.
int * (整数型指针)ext_linesOutput(输出)Extension lines:
1 = Both
2 = Line1
3 = Line2
4 = None
int * (整数型指针)dim_labelOutput(输出)Dimension label:
1 = Value
2 = Expression
3 = Name

 


 
UF_SKET_ask_preferences (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns the current values for each of the sketch preference
variables applicable for sketches created in V13.0 and beyond.
To determine if this function should be called instead of
UF_SKET_ask_legacy_preferences, use UF_OBJ_ask_type_and_subtype and check for
UF_v13_sketch_subtype.

环境
Internal and External

参见
UF_SKET_ask_legacy_preferences
UF_SKET_set_preferences
UF_SKET_set_legacy_preferences

历史
V15.0 change: This function is new for V15.0. Although the
function's name is not new, the parameter list has changed.

NX6 change: Sketches no longer have a 'character size' and 'decimal places'
preference. Each individual dimension will have these preferences.
The parameter list for this function will not change, but the values returned
for 'character size' and 'decimal places' will always be the global annotation
preferences.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_preferences
(
tag_t sketch_tag,
double * snap_angle,
char name_prefix [ UF_OBJ_NAME_LEN ] ,
char vertex_prefix [ UF_OBJ_NAME_LEN ] ,
char line_prefix [ UF_OBJ_NAME_LEN ] ,
char arc_prefix [ UF_OBJ_NAME_LEN ] ,
char conic_prefix [ UF_OBJ_NAME_LEN ] ,
char spline_prefix [ UF_OBJ_NAME_LEN ] ,
double * char_size,
int * dec_places,
int * dim_label
)
tag_t (tag_t类型)sketch_tagInput(输入)Tag of input sketch; May be set to
NULL_TAG if there is not a particular
sketch which the user wants to query.
double * (实数型指针)snap_angleOutput(输出)Snap angle preference
charname_prefix [ UF_OBJ_NAME_LEN ] Output(输出)Prefix for new sketch names
charvertex_prefix [ UF_OBJ_NAME_LEN ] Output(输出)Prefix for vertex names
charline_prefix [ UF_OBJ_NAME_LEN ] Output(输出)Prefix for line names
chararc_prefix [ UF_OBJ_NAME_LEN ] Output(输出)Prefix for arc names
charconic_prefix [ UF_OBJ_NAME_LEN ] Output(输出)Prefix for conic names
charspline_prefix [ UF_OBJ_NAME_LEN ] Output(输出)Prefix for spline names
double * (实数型指针)char_sizeOutput(输出)Character size is no longer a sketch preference. This parameter
will always return the global annotation preferences- dimension
character size
int * (整数型指针)dec_placesOutput(输出)Decimal places are no longer a sketch preference. This parameter
will always return the global annotation preferences- dimension
decimal places
int * (整数型指针)dim_labelOutput(输出)Dimension Label:
1 = value
2 = expression
3 = name

 


 
UF_SKET_ask_reference_status (查看源代码)
 
定义在: uf_sket.h
 
概述
This function returns the reference status - reference/active status
of a sketch curve or a dimension

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_set_reference_status

历史
This function was originally released in V17.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_reference_status
(
tag_t skt_tag,
tag_t member,
UF_SKET_reference_status_t * status
)
tag_t (tag_t类型)skt_tagInput(输入)Tag of the sketch to which the dim/curve belongs
tag_t (tag_t类型)memberInput(输入)Tag of the dim/curve whose state needs to be determined
UF_SKET_reference_status_t *statusOutput(输出)UF_SKET_active or UF_SKET_reference

 


 
UF_SKET_ask_sket_frec_eid (查看源代码)
 
定义在: uf_sket.h
 
概述
This function returns a sketch feature eid given a sketch curve eid.

环境
内部和外部

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

 
int UF_SKET_ask_sket_frec_eid
(
tag_t sket_eid,
tag_t * sket_frec_eid
)
tag_t (tag_t类型)sket_eidInput(输入)Sketch curve tag
tag_t * (tag_t型的指针)sket_frec_eidOutput(输出)Sketch feature tag

 


 
UF_SKET_ask_sketch_features (查看源代码)
 
定义在: uf_sket.h
 
概述
Returns all features associated with a sketch.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_sketch_features
(
tag_t sketch_tag,
uf_list_p_t * object_list
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
uf_list_p_t *object_listOutput to be freed
输出并释放
List of sketches or NULL if none found.
This argument must be freed by calling
UF_MODL_delete_list

 


 
UF_SKET_ask_sketch_info (查看源代码)
 
定义在: uf_sket.h
 
概述
Output general information about a given sketch.

环境
内部和外部

历史
This function was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_sketch_info
(
tag_t sketch_tag,
UF_SKET_info_t * sket_info
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
UF_SKET_info_t *sket_infoOutput(输出)Sketch information data structure.
(See type UF_SKET_info_t in uf_sket_types.h
for the structure members).

 


 
UF_SKET_ask_sketch_of_geom (查看源代码)
 
定义在: uf_sket.h
 
概述
Output sketch of a given geometric object

环境
内部和外部

历史
This function was originally released in NX 4.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_sketch_of_geom
(
tag_t geom_tag,
tag_t * sketch_tag
)
tag_t (tag_t类型)geom_tagInput(输入)Geometric object
tag_t * (tag_t型的指针)sketch_tagOutput(输出)Sketch tag of which object is member
NULL_TAG: if none

 


 
UF_SKET_ask_sketch_status (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine returns the given sketch's status and the degrees of freedom
needed to make the sketch full-constrained if it is currently
under-constrained.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch

历史
This function was originally released in V16.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_ask_sketch_status
(
tag_t sketch_tag,
UF_SKET_status_t * sket_status,
int * dof_needed
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
UF_SKET_status_t *sket_statusOutput(输出)Sketch's current status.
(See type UF_SKET_status_t in
uf_sket_types.h for valid values).
int * (整数型指针)dof_neededOutput(输出)Degrees of freedom needed to make the
sketch fully-constrained. This value
is meaningful only when sketch's status
is UF_SKET_under_constrained.

 


 
UF_SKET_attach_to_face (查看源代码)
 
定义在: uf_sket.h
 
概述
Attaches a non-feature sketch to a planar face or datum plane and returns the
resulting sketch feature tag. For reattaching sketch features to a different
face or datum plane, please use UF_MODL_reattach_target_face.

环境
内部和外部

参见
UF_MODL_reattach_target_face
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_attach_to_face
(
tag_t sketch_tag,
tag_t face_tag,
tag_t ref_tag,
int ref_info [ 2 ] ,
int plane_dir,
tag_t * sketch_feature_tag
)
tag_t (tag_t类型)sketch_tagInput(输入)Tag of the sketch to attach
tag_t (tag_t类型)face_tagInput(输入)Face or datum plane to attach the sketch to
tag_t (tag_t类型)ref_tagInput(输入)This defines a line which is the horizontal or vertical
reference used for positioning the sketch on the face or
datum plane. This object can be a linear edge, a datum
axis, a planar face, or a datum plane. The direction of
the line is specified in ref_info. A face or datum plane
constructs the line by intersecting itself with face_tag.
int (整数型)ref_info [ 2 ] Input(输入)Data required to fully define the reference.
ref_info[0] = reference orientation
use one of the following values:
UF_SKET_HORIZONTAL
UF_SKET_VERTICAL
ref_info[1] = direction along reference
use one of the following values:
UF_SKET_ALONG_CURVE (start to end)
UF_SKET_OPPOSITE_CURVE (end to start)
int (整数型)plane_dirInput(输入)Which side of plane or face to attach sketch.
use one of the following values:
UF_SKET_WITH_NORMAL (outwards from parent body)
UF_SKET_OPPOSITE_NORMAL (inwards from parent body)
tag_t * (tag_t型的指针)sketch_feature_tagOutput(输出)Sketch feature tag created

 


 
UF_SKET_create_dimension (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine creates sketch dimensions of the specified type.
Not all parameters are required based on the type of dimension
being created. Refer to the descriptions below to determine
which parameters are used for each type of sketch dimension.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch
UF_SKET_update_sketch
UF_SKET_read_dimension

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_create_dimension
(
tag_t sketch_tag,
UF_SKET_con_type_t dim_type,
UF_SKET_dim_object_p_t dim_object1,
UF_SKET_dim_object_p_t dim_object2,
double dim_origin [ 3 ] ,
tag_t * dim_tag
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
UF_SKET_con_type_tdim_typeInput(输入)Type of dimensions:
UF_SKET_horizontal_dim
UF_SKET_vertical_dim
UF_SKET_parallel_dim
UF_SKET_perpendicular_dim
UF_SKET_angular_dim
UF_SKET_radius_dim
UF_SKET_diameter_dim
UF_SKET_dim_object_p_tdim_object1Input(输入)Data of first object geometry tag.
UF_SKET_dim_object_p_tdim_object2Input(输入)Data of second object geometry tag.
Not used for UF_SKET_radius_dim or
UF_SKET_diameter_dim.
double (实数型)dim_origin [ 3 ] Input(输入)Dimension origin (X, Y, Z)
in model space
tag_t * (tag_t型的指针)dim_tagOutput(输出)Tag of created dimension

 


 
UF_SKET_create_dimensional_constraint (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine creates dimension constraint. This function differs from
that of UF_SKET_create_dimension for it will output the constraint tag
as opposed to the dimension tag and also the perimeter dimension creation is
supported by this routine.


The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch
UF_SKET_update_sketch
UF_SKET_create_dimension
UF_SKET_create_dimensional_constraint

历史
This function was originally released in V17.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_create_dimensional_constraint
(
tag_t sketch_tag,
UF_SKET_con_type_t dim_type,
int num_dim_obj,
UF_SKET_dim_object_p_t dim_objs,
double dim_origin [ 3 ] ,
tag_t * con_tag
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
UF_SKET_con_type_tdim_typeInput(输入)Type of dimensions:
UF_SKET_horizontal_dim
UF_SKET_vertical_dim
UF_SKET_parallel_dim
UF_SKET_perpendicular_dim
UF_SKET_angular_dim
UF_SKET_radius_dim
UF_SKET_diameter_dim
UF_SKET_perimeter_dim
int (整数型)num_dim_objInput(输入)Number of geometry tags in the
geoms array
UF_SKET_dim_object_p_tdim_objsInput(输入)Array of num_geom geometry tags
double (实数型)dim_origin [ 3 ] Input(输入)Dimension origin (X, Y, Z)
in model space
tag_t * (tag_t型的指针)con_tagOutput(输出)Tag of created dimensional constraint

 


 
UF_SKET_create_geometric_constraint (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine creates sketch geometry constraints of the specified type.
Not all parameters are required based on the type of constraint being
created. Refer to the descriptions below to determine which parameters
are used for each type of sketch constraints.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_delete_constraints
UF_SKET_initialize_sketch
UF_SKET_read_geometric_constraint
UF_SKET_update_sketch

历史
V17 change: This function was renamed from UF_SKET_create_constraint, which
was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_create_geometric_constraint
(
tag_t sketch_tag,
UF_SKET_con_type_t con_type,
int num_con_geoms,
UF_SKET_con_geom_t * con_geoms,
tag_t * con_tag
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
UF_SKET_con_type_tcon_typeInput(输入)Constraint type.
Valid types are:
UF_SKET_fixed
UF_SKET_horizontal
UF_SKET_vertical
UF_SKET_constant_length
UF_SKET_constant_angle
UF_SKET_uniform_scaled
UF_SKET_non_uniform_scaled
UF_SKET_parallel
UF_SKET_perpendicular
UF_SKET_collinear
UF_SKET_equal_length
UF_SKET_equal_radius
UF_SKET_coincident
UF_SKET_concentric
UF_SKET_midpoint
UF_SKET_slope
UF_SKET_tangent
UF_SKET_point_on_curve
UF_SKET_point_on_string
int (整数型)num_con_geomsInput(输入)Number of constraint geometries
UF_SKET_con_geom_t *con_geomsInput(输入)Array of constraint geometries
(See type UF_SKET_con_geom_t in
file uf_sket_types.h for the
structure members).
tag_t * (tag_t型的指针)con_tagOutput(输出)The tag of the created
geometric constraint.

 


 
UF_SKET_create_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Creates an empty sketch.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_create_sketch
(
char name [ 30 ] ,
int option,
double matrix [ 9 ] ,
tag_t object [ 2 ] ,
int reference [ 2 ] ,
int plane_dir,
tag_t * sketch_id
)
charname [ 30 ] Input(输入)Sketch name
int (整数型)optionInput(输入)Option.
1: Sketch on face/datum plane
2: Specify sketch CSYS
double (实数型)matrix [ 9 ] Input(输入)Sketch CSYS (for option = 2):
[0-5]: X-AXIS and Y-AXIS of matrix
[6-8]: Origin of CSYS
tag_t (tag_t类型)object [ 2 ] Input(输入)Objects (for option = 1):
[0]: Solid face/Datum plane object
[1]: Reference object
(edge, datum axis, solid face/datum
int (整数型)reference [ 2 ] Input(输入)Reference and direction (for option = 1):
[0]: Reference edge
1: Horizontal
2: Vertical
[1]: Direction
1: Start to end (from vertex1 to vertex2)
-1: End to start (from vertex2 to vertex1)
int (整数型)plane_dirInput(输入)Datum plane direction:
1: Outwards from parent body.
2: Inward.
tag_t * (tag_t型的指针)sketch_idOutput(输出)Tag of teh sketch created

 


 
UF_SKET_delete_constraints (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine deletes constaints given their tags. The constraint tags could
belong to different sketches.

环境
内部和外部

参见
UF_SKET_create_geometric_constraint
UF_SKET_read_geometric_constraint

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_delete_constraints
(
int num_cons,
tag_t * con_tags
)
int (整数型)num_consInput(输入)number of constraints to be deleted
tag_t * (tag_t型的指针)con_tagsInput(输入)Array of constraint tag.

 


 
UF_SKET_delete_dimensions (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine deletes dimensions given their tags. The dimension tags could
belong to different sketches.

环境
内部和外部

参见
UF_SKET_create_dimension

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_delete_dimensions
(
int num_dims,
tag_t * dim_tags
)
int (整数型)num_dimsInput(输入)Number of dimension tags to be deleted
tag_t * (tag_t型的指针)dim_tagsInput(输入)Array of dimension tags to be deleted

 


 
UF_SKET_delete_legacy_constraint (查看源代码)
 
定义在: uf_sket.h
 
概述
Deletes the specified geometric constraint from an old sketch.

环境
内部和外部

历史
V16.0 change: This function was renamed from
UF_SKET_delete_constraint to UF_SKET_delete_legacy_constraint.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_delete_legacy_constraint
(
int type,
tag_t obj_list [ 2 ] ,
int assoc_var_list [ 2 ] ,
int delete_all
)
int (整数型)typeInput(输入)The type of geometric constraint, one of the
following values:
UF_SKET_DATUM
UF_SKET_CONSTANT_OFFSETS
UF_SKET_POINT_ON_CURVE
UF_SKET_MIDPOINT_OF_CURVE
UF_SKET_HORIZONTAL_LINES
UF_SKET_VERTICAL_LINES
UF_SKET_CONSTANT_ANGLES
UF_SKET_CONSTANT_LENGTH_LINES
UF_SKET_COLLINEAR
UF_SKET_PARALLEL
UF_SKET_PERPENDICULAR
UF_SKET_EQUAL_LENGTH
UF_SKET_EQUAL_RADIUS
UF_SKET_TANGENT_CURVES
tag_t (tag_t类型)obj_list [ 2 ] Input(输入)When delete_all flag = 0, the tag of the object from
which the constraint is deleted.
int (整数型)assoc_var_list [ 2 ] Input(输入)When delete_all flag = 0, the variable index
associated with the object if type =
UF_SKET_DATUM
UF_SKET_CONSTANT_OFFSET
UF_SKET_POINT_ON_CURVE
UF_SKET_MIDPOINT_OF_CURVE
UF_SKET_CONSTANT_ANGLES
UF_SKET_CONSTANT_LENGTH_LINES
UF_SKET_TANGENT_CURVES
UF_SKET_CONSTANT_OFFSET
UF_SKET_TANGENT_CURVES
NOT USED for type =
UF_SKET_HORIZONTAL_LINES
UF_SKET_VERTICAL_LINES
UF_SKET_COLLINEAR
UF_SKET_PARALLEL
UF_SKET_PERPENDICULAR
UF_SKET_EQUAL_LENGTH
UF_SKET_EQUAL_RADIUS
int (整数型)delete_allInput(输入)Delete all flag, where 1 = yes (delete all constraints
of specified type)

 


 
UF_SKET_initialize_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Initializes the sketch environment.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_initialize_sketch
(
char name [ 30 ] ,
tag_t * object
)
charname [ 30 ] Input / OutputInput sketch name, returns updated sketch name.
tag_t * (tag_t型的指针)objectOutput(输出)Sketch tag, NULL_TAG means non-existent sketch.

 


 
UF_SKET_is_out_of_date (查看源代码)
 
定义在: uf_sket.h
 
概述
This function returns TRUE if the given sketch has any out of date references.
This function is valid only for modeling sketches created in V13.0 and later
versions of NX.

环境
内部和外部

历史
This function was originally released in V4.0.3.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_SKET_is_out_of_date
(
tag_t sket_eid,
logical * out_of_date
)
tag_t (tag_t类型)sket_eidInput(输入)Sketch tag
logical *out_of_dateOutput(输出)TRUE => The sketch has out-of-date references

 


 
UF_SKET_mirror_objects (查看源代码)
 
定义在: uf_sket.h
 
概述
This function mirrors the objects on a center line. New objects and "mirror"
constraints between the original objects and the new objects will be created.
Note that points on the center line and lines collinear to the center line
will not be mirrored. Therefore, the output number of mirrored objects will
not necessaily be the same as the input number of objects.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_mirror_objects
(
tag_t sketch_tag,
tag_t center_line_tag,
int num_objs,
tag_t * obj_tags,
int * num_new_objs,
tag_t * * new_obj_tags,
tag_t * * con_tags
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
tag_t (tag_t类型)center_line_tagInput(输入)Tag of the center line for mirror
int (整数型)num_objsInput(输入)Number of objects.
tag_t * (tag_t型的指针)obj_tagsInput(输入)Array of objects to be mirrored
int * (整数型指针)num_new_objsOutput(输出)Number of mirrored objects or
constraints created.
tag_t * *new_obj_tagsOutput to be freed
输出并释放
Array of mirrored objects.
Use UF_free to deallocate memory when done.
tag_t * *con_tagsOutput to be freed
输出并释放
Array of constraints.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_read_dimension (查看源代码)
 
定义在: uf_sket.h
 
概述
This function queries the dimension information.

环境
内部和外部

参见
UF_SKET_create_dimension

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_read_dimension
(
tag_t sketch_tag,
tag_t dim_tag,
UF_SKET_con_type_t * dim_type,
UF_SKET_dim_object_p_t dim_object1,
UF_SKET_dim_object_p_t dim_object2,
double dim_origin [ 3 ] ,
tag_t * dim_exp
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
tag_t (tag_t类型)dim_tagInput(输入)Dimension tag
UF_SKET_con_type_t *dim_typeOutput(输出)Type of dimensions:
UF_SKET_horizontal_dim
UF_SKET_vertical_dim
UF_SKET_parallel_dim
UF_SKET_perpendicular_dim
UF_SKET_angular_dim
UF_SKET_radius_dim
UF_SKET_diameter_dim
UF_SKET_dim_object_p_tdim_object1Output(输出)Data of first object geometry tag
UF_SKET_dim_object_p_tdim_object2Output(输出)Data of second object geometry tag.
Not used for UF_SKET_radius_dim or
UF_SKET_diameter_dim
double (实数型)dim_origin [ 3 ] Output(输出)Dimension origin in model space
tag_t * (tag_t型的指针)dim_expOutput(输出)Dimension expression tag
(NULL_TAG for Reference dimensions)

 


 
UF_SKET_read_dimensional_constraint (查看源代码)
 
定义在: uf_sket.h
 
概述
This routine reads dimension constraint given a constraint tag. This routine
differs from that of UF_SKET_read_dimension as it takes in the constraint tag
as opposed to the dimension tag.


The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch
UF_SKET_update_sketch
UF_SKET_read_dimension
UF_SKET_read_dimensional_constraint

历史
This function was originally released in V17.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_read_dimensional_constraint
(
tag_t sketch_tag,
tag_t con_tag,
UF_SKET_con_type_t * dim_type,
int * num_dim_obj,
UF_SKET_dim_object_p_t * dim_objs,
double dim_origin [ 3 ] ,
tag_t * dim_tag,
tag_t * exp_tag
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag
tag_t (tag_t类型)con_tagInput(输入)Tag of dimensional constraint to read.
UF_SKET_con_type_t *dim_typeOutput(输出)Dimension type
int * (整数型指针)num_dim_objOutput(输出)Number of geometry tags in the
geoms array
UF_SKET_dim_object_p_t *dim_objsOutput to be freed
输出并释放
Array of num_geom geometry tags
Use UF_free to deallocate memory when done.
double (实数型)dim_origin [ 3 ] Output(输出)Dimension origin (X, Y, Z)
in model space
tag_t * (tag_t型的指针)dim_tagOutput(输出)Tag of associated dimension object.
Could be a NULL_TAG for cases such as
perimeter dimensions.
tag_t * (tag_t型的指针)exp_tagOutput(输出)Tag of associated expression object

 


 
UF_SKET_read_geometric_constraint (查看源代码)
 
定义在: uf_sket.h
 
概述
This function queries the constraint information

环境
内部和外部

参见
UF_SKET_create_geometric_constraint

历史
V17 change: This function was renamed from UF_SKET_read_constraint,
which was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_read_geometric_constraint
(
tag_t sketch_tag,
tag_t con_tag,
UF_SKET_con_type_t * con_type,
int * geom_count,
UF_SKET_con_geom_p_t * con_geoms
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
tag_t (tag_t类型)con_tagInput(输入)Constraint tag.
UF_SKET_con_type_t *con_typeOutput(输出)Constraint type.
int * (整数型指针)geom_countOutput(输出)Number of geometries.
UF_SKET_con_geom_p_t *con_geomsOutput to be freed
输出并释放
Array of constraint geometries.
Use UF_free to deallocate memory when done.

 


 
UF_SKET_set_legacy_preferences (查看源代码)
 
定义在: uf_sket.h
 
概述
Modify the current sketch preference settings for sketches created
prior to V13.0.

环境
内部和外部

参见
UF_SKET_ask_preferences
UF_SKET_ask_legacy_preferences
UF_SKET_set_preferences

历史
V15.0 change: This function was renamed from
UF_SKET_set_preferences to UF_SKET_set_legacy_preferences.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_set_legacy_preferences
(
int values [ 9 ] ,
double snap_angle,
double cap_dist,
char * pt_name,
int auto_flag [ 2 ] ,
int show_flag [ 3 ] ,
double char_size,
int dec_places,
int ext_lines,
int dim_label
)
int (整数型)values [ 9 ] Input(输入)Array of flags to indicate which settings should be
modified (0 = leave at current value, 1 = change to
new value):
[0] = Snap angle
[1] = Capture distance
[2] = Point name variable
[3] = Auto inferencing/constraint flag
[4] = Show csys/datum/arrows flag
[5] = Character size
[6] = Decimal places
[7] = Extension lines
[8] = Dimension label
double (实数型)snap_angleInput(输入)Snap angle.
double (实数型)cap_distInput(输入)Capture distance.
char * (字符型指针)pt_nameInput(输入)Point name variable.
int (整数型)auto_flag [ 2 ] Input(输入)Auto inferencing/constraint flag (1= Off; 2= On):
[0] = Auto inferencing
[1] = Auto constraint
int (整数型)show_flag [ 3 ] Input(输入)Show csys / datum / arrows flag (1= Off; 2= On)
[0] = CSYS
[1] = Datum
[2] = Arrows
double (实数型)char_sizeInput(输入)Character size.
int (整数型)dec_placesInput(输入)Decimal places.
int (整数型)ext_linesInput(输入)Extension lines:
1 = Both
2 = Line1
3 = Line2
4 = None
int (整数型)dim_labelInput(输入)Dimension label:
1 = Value
2 = Expression
3 = Name

 


 
UF_SKET_set_preferences (查看源代码)
 
定义在: uf_sket.h
 
概述
Sets the sketch preferences for sketches created in V13 and beyond.
To determine if this function should be used instead of
UF_SKET_set_legacy_preferences, use UF_OBJ_ask_type_and_subtype
and check for subtype UF_v13_sketch_subtype.

环境
Internal and External.

参见
UF_SKET_ask_preferences
to set preferences for sketches created in V13.0 and beyond.
UF_SKET_ask_legacy_preferences
UF_SKET_set_legacy_preferences

历史
This function is new for V15.0. Although the function
name is not new, the parameter list has changed.

NX6 change: Sketches no longer have a 'character size' and 'decimal places'
preference. Each individual dimension will have these preferences.
The parameter list for this function has not changed. Calling this function
will result in the 'character size' and 'decimal places' being set on each
individual dimension in the sketch.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_set_preferences
(
tag_t sketch_tag,
int values [ 10 ] ,
double snap_angle,
char name_prefix [ UF_OBJ_NAME_LEN ] ,
char vertex_prefix [ UF_OBJ_NAME_LEN ] ,
char line_prefix [ UF_OBJ_NAME_LEN ] ,
char arc_prefix [ UF_OBJ_NAME_LEN ] ,
char conic_prefix [ UF_OBJ_NAME_LEN ] ,
char spline_prefix [ UF_OBJ_NAME_LEN ] ,
double char_size,
int dec_places,
int dim_label
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch tag.
May be NULL_TAG if there is no existing
sketch to which the preferences are to be
associated. The preferences will then
be applied to the sketches created
thereafter, with the exception of character size
and decimal places. These two will always come from
annotation preferences.
int (整数型)values [ 10 ] Input(输入)Array flag to indicate what action to
perform for which sketch preference
variable.
0: Do nothing
1: Action

[0]: Snap angle
[1]: Sketch name prefix
[2]: Vertex name prefix
[3]: Line name prefix
[4]: Arc name prefix
[5]: Conic name prefix
[6]: Spline name prefix
[7]: Character size
[8]: Decimal places
[9]: Dimension label
double (实数型)snap_angleInput(输入)Snap angle
charname_prefix [ UF_OBJ_NAME_LEN ] Input(输入)Sketch name prefix
charvertex_prefix [ UF_OBJ_NAME_LEN ] Input(输入)Vertex name prefix
charline_prefix [ UF_OBJ_NAME_LEN ] Input(输入)Line Iname prefix
chararc_prefix [ UF_OBJ_NAME_LEN ] Input(输入)Arc name prefix
charconic_prefix [ UF_OBJ_NAME_LEN ] Input(输入)Conic name prefix
charspline_prefix [ UF_OBJ_NAME_LEN ] Input(输入)Spline name prefix
double (实数型)char_sizeInput(输入)Character size is no longer a sketch preference. The
character size will be set for each individual dimension in
the sketch. If sketch_tag==NULL_TAG nothing will be done.
int (整数型)dec_placesInput(输入)Decimal places are no longer a sketch preference. The
decimal places will be set for each individual dimension in
the sketch. If sketch_tag==NULL_TAG nothing will be done.
int (整数型)dim_labelInput(输入)Dimension label
1 : Value
2 : Expression
3 : Name

 


 
UF_SKET_set_reference_status (查看源代码)
 
定义在: uf_sket.h
 
概述
This function sets the dimension/sketch curve to reference/active.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_ask_reference_status

历史
This function was originally released in V17.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_set_reference_status
(
tag_t skt_tag,
tag_t member,
UF_SKET_reference_status_t status
)
tag_t (tag_t类型)skt_tagInput(输入)Tag of the sketch to which the dim/curve belongs
tag_t (tag_t类型)memberInput(输入)Array of the dim/curve tags whose state has to be set
UF_SKET_reference_status_tstatusInput(输入)UF_SKET_active or UF_SKET_reference

 


 
UF_SKET_terminate_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
Terminate the current sketch.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch
UF_SKET_update_sketch
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_terminate_sketch
(
void
)

 


 
UF_SKET_update_sketch (查看源代码)
 
定义在: uf_sket.h
 
概述
This function updates the current sketch. If you had call to
UF_SKET_create_geometric_constraint, UF_SKET_create_dimension or
UF_SKET_mirror_objects to create constraints or dimensions in a sketch,
it is highly recommended that this routine should be called before calling
UF_SKET_terminate_sketch.

The following restrictions applies:
UF_SKET_initialize_sketch must have been previously called.

环境
内部和外部

参见
UF_SKET_initialize_sketch
UF_SKET_create_dimension
UF_SKET_create_geometric_constraint
UF_SKET_mirror_objects
UF_SKET_terminate_sketch

历史
This function was originally released in V16.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_SKET_update_sketch
(
tag_t sketch_tag
)
tag_t (tag_t类型)sketch_tagInput(输入)Sketch object tag.