UF_ROUTE_add_segment_to_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Adds a segment to a given stock object; this is basically the operation
of assigning the stock to the segment.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_add_segment_to_stock
(
tag_t stock,
tag_t segment
)
tag_t (tag_t类型)stockInput(输入)Stock object to modify
tag_t (tag_t类型)segmentInput(输入)Segment to add to the stock

 


 
UF_ROUTE_add_terminal_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Add given terminal ports to the given port

环境
Internal and External

参见
UF_ROUTE_add_virtual_ports

历史
Originally released in V16.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_add_terminal_ports
(
tag_t multi,
int num_terms,
tag_t * terms
)
tag_t (tag_t类型)multiInput(输入)Tag of multiport
int (整数型)num_termsInput(输入)Number of terminal ports
tag_t * (tag_t型的指针)termsInput(输入)Array of terminal port tags

 


 
UF_ROUTE_add_virtual_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Add given virtual ports to the given port

环境
Internal and External

参见
UF_ROUTE_add_virtual_ports

历史
Originally released in V16.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_add_virtual_ports
(
tag_t multi,
int num_terms,
char * * terms
)
tag_t (tag_t类型)multiInput(输入)Tag of multiport
int (整数型)num_termsInput(输入)Number of virtual ports
char * *termsInput(输入)Array of virtual port
unique ids

 


 
UF_ROUTE_align_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Modifies the stock object rotation about the segment to point in the
direction of the given vector.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_align_stock
(
tag_t stock,
double rotate_vec [ 3 ]
)
tag_t (tag_t类型)stockInput(输入)Stock object to modify
double (实数型)rotate_vec [ 3 ] Input(输入)New vector for rotation

 


 
UF_ROUTE_are_ports_connectable (查看源代码)
 
定义在: uf_route.h
 
概述
Determines whether two ports would make a valid connection. Which
means they satisfy the following conditions: The port positions are
equivalent, the port alignment vectors are colinear and opposed, the
port rotation vectors (if defined) match, and neither port is interior to
a part.

返回
TRUE = Ports make a valid connection
FALSE = Ports make invalid connection

环境
内部和外部

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

 
logical UF_ROUTE_are_ports_connectable
(
tag_t port1,
tag_t port2
)
tag_t (tag_t类型)port1Input(输入)Port to test
tag_t (tag_t类型)port2Input(输入)Port to test

 


 
UF_ROUTE_are_segments_tangent (查看源代码)
 
定义在: uf_route.h
 
概述
Tests to see whether two segments are tangent to one another where
they both are connected at the given RCP.

返回
Return code:
TRUE = Segments are tangent
FALSE = Segments are not tangent

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

 
logical UF_ROUTE_are_segments_tangent
(
tag_t segment1,
tag_t segment,
tag_t rcp
)
tag_t (tag_t类型)segment1Input(输入)Segment to test
tag_t (tag_t类型)segmentInput(输入)Segment to test
tag_t (tag_t类型)rcpInput(输入)RCP common to both segments

 


 
UF_ROUTE_ask_anchor_position (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the position (in absolute coordinates) of an anchor. If the tag
is an occurrence of an anchor, then the position of the occurrence is
returned.

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

 
int UF_ROUTE_ask_anchor_position
(
tag_t anchor_tag,
double position [ 3 ]
)
tag_t (tag_t类型)anchor_tagInput(输入)Anchor to query
double (实数型)position [ 3 ] Output(输出)Position of anchor (ABS)

 


 
UF_ROUTE_ask_anchor_stock (查看源代码)
 
定义在: uf_route.h
 
概述
When stock is assigned to a segment, or segments, an anchor is chosen
for the placement of the stock on the centerline. This routine inquires,
for a given anchor, which stock is using this anchor for that position.

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

 
int UF_ROUTE_ask_anchor_stock
(
tag_t anchor_tag,
int * num_stocks,
tag_t * * stocks
)
tag_t (tag_t类型)anchor_tagInput(输入)Tag of anchor to query
int * (整数型指针)num_stocksOutput(输出)The number of stock objects using this anchor
(should be 1)
tag_t * *stocksOutput to be freed
输出并释放
The array of stock objects. Use UF_free to
deallocate memory when no longer required.

 


 
UF_ROUTE_ask_anchor_stock_data (查看源代码)
 
定义在: uf_route.h
 
概述
A stock data object has 0 or more anchor objects associated with it to
choose from when assigning it as stock. This routine allows you to
query an anchor object for any stock data objects which may reference it.

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

 
int UF_ROUTE_ask_anchor_stock_data
(
tag_t anchor_tag,
int * num_stock_data,
tag_t * * stock_datas
)
tag_t (tag_t类型)anchor_tagInput(输入)Tag of anchor to query
int * (整数型指针)num_stock_dataOutput(输出)Count of stock data objects returned
tag_t * *stock_datasOutput to be freed
输出并释放
Array of stock data objects. This must be freed
by calling UF_free.

 


 
UF_ROUTE_ask_app_view_corners (查看源代码)
 
定义在: uf_route.h
 
概述
Returns an integer value which is a bit mask indicating the allowable
corner types for the given Application View. The bits set in this value
can be tested using symbols defined in uf_route.h. These are:
UF_ROUTE_AV_CORNERS_BEND, UF_ROUTE_AV_CORNERS_COPE,
UF_ROUTE_AV_CORNERS_MITER and UF_ROUTE_AV_CORNERS_SBEND.

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

 
int UF_ROUTE_ask_app_view_corners
(
UF_ROUTE_application_view_t * app_view,
int * curves
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of the Application View
structure
int * (整数型指针)curvesOutput(输出)Flags indicating allowed corner
types

 


 
UF_ROUTE_ask_app_view_curves (查看源代码)
 
定义在: uf_route.h
 
概述
Returns an integer value which is a bit mask indicating the allowable
curve types for the given Application View. The bits set in this value
can be tested using symbols defined in uf_route.h. These are:
UF_ROUTE_AV_CURVES_LINES,
UF_ROUTE_AV_CURVES_ARCS, and
UF_ROUTE_AV_CURVES_SPLINES.

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

 
int UF_ROUTE_ask_app_view_curves
(
UF_ROUTE_application_view_t * app_view,
int * curves
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of the Application View
structure
int * (整数型指针)curvesOutput(输出)Flags indicating allowed curve
types

 


 
UF_ROUTE_ask_app_view_def_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the default stock and anchor of the application view. Either
or both may be returned as NULL. The default stock only makes
sense when the FILE_SELECTION type of part library is being used.

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

 
int UF_ROUTE_ask_app_view_def_stock
(
UF_ROUTE_application_view_t * app_view,
char * * stock,
char * * anchor
)
UF_ROUTE_application_view_t *app_viewInput(输入)Application View to query
char * *stockOutput to be freed
输出并释放
Name of default stock
char * *anchorOutput to be freed
输出并释放
Name of default anchor

 


 
UF_ROUTE_ask_app_view_def_style (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the default stock style defined in the application view. The
style could be one of
UF_ROUTE_STYLE_NONE,
UF_ROUTE_STYLE_SOLID, or
UF_ROUTE_STYLE_DETAIL.

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

 
int UF_ROUTE_ask_app_view_def_style
(
UF_ROUTE_application_view_t * app_view,
int * style
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of the Application View
structure
int * (整数型指针)styleOutput(输出)Default stock style

 


 
UF_ROUTE_ask_app_view_desc (查看源代码)
 
定义在: uf_route.h
 
概述
Returns a string containing the description of the Application View.

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

 
int UF_ROUTE_ask_app_view_desc
(
UF_ROUTE_application_view_t * app_view,
char * * description
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
char * *descriptionOutput(输出)Application View description.

 


 
UF_ROUTE_ask_app_view_ext_plib (查看源代码)
 
定义在: uf_route.h
 
概述
Returns strings containing the shared library path and the entry point
function in the shared library.

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

 
int UF_ROUTE_ask_app_view_ext_plib
(
UF_ROUTE_application_view_t * app_view,
char * * library,
char * * entry
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
char * *libraryOutput to be freed
输出并释放
Name of external library.
char * *entryOutput to be freed
输出并释放
Name of entry point within the
given external shared library

 


 
UF_ROUTE_ask_app_view_fab_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the number of fabrication characteristics and a structure
containing the characteristic types, values and titles. These
characteristics must be set for any fabrication created out of a Routing
assembly.

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

 
int UF_ROUTE_ask_app_view_fab_charx
(
UF_ROUTE_application_view_t * app_view,
int * num_charx,
UF_ROUTE_char_desc_p_t * entry
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
int * (整数型指针)num_charxOutput(输出)Number of fabrication
characteristics.
UF_ROUTE_char_desc_p_t *entryOutput to be freed
输出并释放
Structure containing the
characteristic types, titles and
values.

 


 
UF_ROUTE_ask_app_view_filename (查看源代码)
 
定义在: uf_route.h
 
概述
Returns a string containing the filename of the application view.

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

 
int UF_ROUTE_ask_app_view_filename
(
UF_ROUTE_application_view_t * app_view,
char * * filename
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
char * *filenameOutput(输出)Filename of the application view.

 


 
UF_ROUTE_ask_app_view_name (查看源代码)
 
定义在: uf_route.h
 
概述
Returns a string containing the name of the Application View.

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

 
int UF_ROUTE_ask_app_view_name
(
UF_ROUTE_application_view_t * app_view,
char * * name
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
char * *nameOutput(输出)Name of the Application View.

 


 
UF_ROUTE_ask_app_view_opt_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the intersection of the optional stock characteristics and optional
part characteristics for the current discipline of the application view.

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

 
int UF_ROUTE_ask_app_view_opt_charx
(
UF_ROUTE_application_view_t * app_view,
int * num_charx,
UF_ROUTE_char_desc_p_t * charx
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
int * (整数型指针)num_charxOutput(输出)Number of optional characteristics
UF_ROUTE_char_desc_p_t *charxOutput to be freed
输出并释放
Optional characteristics

 


 
UF_ROUTE_ask_app_view_plib_type (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the type of part library used by the given application view.

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

 
int UF_ROUTE_ask_app_view_plib_type
(
UF_ROUTE_application_view_t * app_view,
int * type
)
UF_ROUTE_application_view_t *app_viewInput(输入)Application view to query
int * (整数型指针)typeOutput(输出)Part library type:
UF_ROUTE_LIBRARY_TYPE_FILE_SELECT
UF_ROUTE_LIBRARY_TYPE_VIEW
UF_ROUTE_LIBRARY_TYPE_EXTERNAL

 


 
UF_ROUTE_ask_app_view_plib_view (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the part library view used by the given application view. This
should only be called if the part library type is
UF_ROUTE_LIBRARY_TYPE_VIEW.

环境
内部和外部

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

 
int UF_ROUTE_ask_app_view_plib_view
(
UF_ROUTE_application_view_t * app_view,
UF_EPLIB_part_library_view_p_t * part_lib_view
)
UF_ROUTE_application_view_t *app_viewInput(输入)Application view to query
UF_EPLIB_part_library_view_p_t *part_lib_viewOutput to be freed
输出并释放
Part library view used by
application view.

 


 
UF_ROUTE_ask_app_view_req_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the intersection of the required stock characteristics and required
part characteristics for the current discipline of the application view.

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

 
int UF_ROUTE_ask_app_view_req_charx
(
UF_ROUTE_application_view_t * app_view,
int * num_charx,
UF_ROUTE_char_desc_p_t * charx
)
UF_ROUTE_application_view_t *app_viewInput(输入)Address of Application View
structure
int * (整数型指针)num_charxOutput(输出)Number of required
characteristics
UF_ROUTE_char_desc_p_t *charxOutput to be freed
输出并释放
Required characteristics

 


 
UF_ROUTE_ask_bend_radius (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the radius of a bend.

环境
内部和外部

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

 
int UF_ROUTE_ask_bend_radius
(
tag_t bend_tag,
double * radius
)
tag_t (tag_t类型)bend_tagInput(输入)Tag of bend object to query
double * (实数型指针)radiusOutput(输出)Bend radius of bend

 


 
UF_ROUTE_ask_bend_rcp (查看源代码)
 
定义在: uf_route.h
 
概述
Inquire of a bend, which RCP it is associated with.

环境
内部和外部

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

 
int UF_ROUTE_ask_bend_rcp
(
tag_t bend_tag,
tag_t * rcp
)
tag_t (tag_t类型)bend_tagInput(输入)Tag of bend
tag_t * (tag_t型的指针)rcpOutput(输出)Tag of rcp which has bend corner assigned

 


 
UF_ROUTE_ask_bend_segment (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the Bend segment object identifier for a given Bend corner.
When a Bend Corner is created at the intersection of two Segments,
via the UF_ROUTE_create_bend_by_radius or
UF_ROUTE_create_bend_by_ratio routine, two new objects are
created. One is the Bend Corner object, which holds the information
about the corner, e.g., the radius, and the other is a Routing Segment
which models the bend or fillet between the two original Segments.
Returns the tag of this bend segment.

环境
内部和外部

参见
UF_ROUTE_create_bend_by_radius
UF_ROUTE_create_bend_by_ratio

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

 
int UF_ROUTE_ask_bend_segment
(
tag_t bend_obj,
tag_t * seg_id
)
tag_t (tag_t类型)bend_objInput(输入)Object identifier of the Bend corner object
tag_t * (tag_t型的指针)seg_idOutput(输出)Object identifier of the segment that corresponds to
the Bend.

 


 
UF_ROUTE_ask_built_in_path_objs (查看源代码)
 
定义在: uf_route.h
 
概述
Ask built-in path curves

环境
Internal and External

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

 
int UF_ROUTE_ask_built_in_path_objs
(
tag_t bip,
int * num_objs,
tag_t * * objects
)
tag_t (tag_t类型)bipInput(输入)Tag of built-in path object
int * (整数型指针)num_objsOutput(输出)Number of curves in path
tag_t * *objectsOutput to be freed
输出并释放
Array of curve tags
Free this array using UF_free

 


 
UF_ROUTE_ask_built_in_paths (查看源代码)
 
定义在: uf_route.h
 
概述
Ask all built-in paths in a routing part

环境
Internal and External

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

 
int UF_ROUTE_ask_built_in_paths
(
tag_t part,
int * num_paths,
tag_t * * paths,
char * * * bip_names
)
tag_t (tag_t类型)partInput(输入)Tag of part to be queried
int * (整数型指针)num_pathsOutput(输出)Number of built-in paths
tag_t * *pathsOutput to be freed
输出并释放
Array of built-in path tags
Free this array using UF_free
char * * *bip_namesOutput to be freed
输出并释放
Array of built-in path names
Free this array using UF_free_string_array

 


 
UF_ROUTE_ask_characteristics (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the characteristics data of a routing object.

环境
内部和外部

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

 
int UF_ROUTE_ask_characteristics
(
tag_t obj_id,
int c_type,
int * charx_count,
UF_ROUTE_charx_p_t * list
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of the routing object.
int (整数型)c_typeInput(输入)Type of characteristic desired. Valid values
are:
UF_ROUTE_CHARX_TYPE_INT
UF_ROUTE_CHARX_TYPE_REAL
UF_ROUTE_CHARX_TYPE_STR
UF_ROUTE_CHARX_TYPE_ANY
int * (整数型指针)charx_countOutput(输出)Count of the characteristics.
UF_ROUTE_charx_p_t *listOutput to be freed
输出并释放
List of all characteristics. The allocated list
must be freed by calling UF_ROUTE_free_charx_array.

 


 
UF_ROUTE_ask_charx_env (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the number of characteristics and the array containing
characteristic titles, values and types.

环境
内部和外部

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

 
int UF_ROUTE_ask_charx_env
(
int * num_charx,
UF_ROUTE_charx_p_t * charx
)
int * (整数型指针)num_charxOutput(输出)Number of the characteristics.
UF_ROUTE_charx_p_t *charxOutput to be freed
输出并释放
List of all characteristics.

 


 
UF_ROUTE_ask_connection_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Finds the tags of the two ports of a connection object.

环境
内部和外部

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

 
int UF_ROUTE_ask_connection_ports
(
tag_t conn_tag,
tag_t * ports
)
tag_t (tag_t类型)conn_tagInput(输入)Object identifier of the connection.
tag_t * (tag_t型的指针)portsOutput(输出)Array of the two port tags at this
connection.

 


 
UF_ROUTE_ask_cross_curves (查看源代码)
 
定义在: uf_route.h
 
概述
Inquire the curves associated with a cross section.

环境
内部和外部

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

 
int UF_ROUTE_ask_cross_curves
(
tag_t cross_tag,
int * num_curves,
tag_t * * curves
)
tag_t (tag_t类型)cross_tagInput(输入)Cross section object to query.
int * (整数型指针)num_curvesOutput(输出)Number of curves in the cross section.
tag_t * *curvesOutput to be freed
输出并释放
Array of cross section curves. Use UF_free to
deallocate memory when no longer required.

 


 
UF_ROUTE_ask_cross_offsets (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the cross section offset values. These are the values used to
thicken the cross section about the cross section curves.

环境
内部和外部

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

 
int UF_ROUTE_ask_cross_offsets
(
tag_t cross_tag,
double offsets [ 2 ]
)
tag_t (tag_t类型)cross_tagInput(输入)Tag of cross section to query.
double (实数型)offsets [ 2 ] Output(输出)Cross section offset values.

 


 
UF_ROUTE_ask_cross_stock_data (查看源代码)
 
定义在: uf_route.h
 
概述
Returns all stock data objects referencing the given cross section
object.

环境
内部和外部

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

 
int UF_ROUTE_ask_cross_stock_data
(
tag_t cross_tag,
int * num_stock_data,
tag_t * * stock_data_tags
)
tag_t (tag_t类型)cross_tagInput(输入)Cross section object to query
int * (整数型指针)num_stock_dataOutput(输出)Number of stock data objects
tag_t * *stock_data_tagsOutput to be freed
输出并释放
Array of stock data objects. Use UF_free to
deallocate memory when no longer required.

 


 
UF_ROUTE_ask_cross_style (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the stock style for the specified cross section.

环境
内部和外部

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

 
int UF_ROUTE_ask_cross_style
(
tag_t cross_tag,
int * style
)
tag_t (tag_t类型)cross_tagInput(输入)Cross section object to query
int * (整数型指针)styleOutput(输出)Style this cross section is associated with:
UF_ROUTE_STYLE_SIMPLE
UF_ROUTE_STYLE_DETAIL

 


 
UF_ROUTE_ask_current_app_view (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the current application view after
UF_ROUTE_set_current_app_view has been used to set the
application view.

返回
Returns the current application view which may be NULL.

环境
内部和外部

参见
UF_ROUTE_set_current_app_view
Please refer to the example

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

 
UF_ROUTE_application_view_t * UF_ROUTE_ask_current_app_view
(
void
)

 


 
UF_ROUTE_ask_current_level (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the current routing level. The routing level is a character string
which determines which stock and fittings may be connected to one another.
Only stock and fittings (components) with the same routing level are
connected to one another.

环境
Internal and External

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

 
int UF_ROUTE_ask_current_level
(
char * * level
)
char * *levelOutput to be freed
输出并释放
The current (default) routing level to be
assigned to newly created stock or parts
added to the assembly. Must be freed by the
caller using UF_free.

 


 
UF_ROUTE_ask_harness_comps (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the tags of the components in the given harness.

环境
内部和外部

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

 
int UF_ROUTE_ask_harness_comps
(
tag_t harness,
int * num_comps,
tag_t * * comps
)
tag_t (tag_t类型)harnessInput(输入), the harness to query
int * (整数型指针)num_compsOutput(输出), the number of components
tag_t * *compsOutput to be freed
输出并释放
,
the array of component tags, free with UF_free

 


 
UF_ROUTE_ask_harness_wires (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the wires in the given harness.

环境
内部和外部

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

 
int UF_ROUTE_ask_harness_wires
(
tag_t harness,
int * num_wires,
tag_t * * wires
)
tag_t (tag_t类型)harnessInput(输入), the harness to query
int * (整数型指针)num_wiresOutput(输出), the number of wires
tag_t * *wiresOutput to be freed
输出并释放
,
the array of wire tags, free with UF_free.

 


 
UF_ROUTE_ask_heal_pos (查看源代码)
 
定义在: uf_route.h
 
概述
Locates the rcp position coordinates in context to the work view
coordinate system for a standard heal path.

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

 
int UF_ROUTE_ask_heal_pos
(
int method,
double end_pos [ 2 ] [ 3 ] ,
double end_uvecs [ 2 ] [ 3 ] ,
double extensions [ 2 ] ,
int * num_pos,
double * heal_pos [ 3 ]
)
int (整数型)methodInput(输入)The type of standard heal path to be
created.
double (实数型)end_pos [ 2 ] [ 3 ] Input(输入)The position of the ends to be joined by
the heal path in work coordinates.
double (实数型)end_uvecs [ 2 ] [ 3 ] Input(输入)Unit vectors associated with the objects
being joined. Directed away from the
object.
double (实数型)extensions [ 2 ] Input(输入)The length of the extension segments
which will be created between end
positions and the standard heal path.
int * (整数型指针)num_posOutput(输出)The number of rcps created in the
standard heal path.
double * (实数型指针)heal_pos [ 3 ] Output to be freed
输出并释放
Array of positions of where the rcps are
created in the standard heal path. Must be
freed using UF_free.

 


 
UF_ROUTE_ask_length_tolerance (查看源代码)
 
定义在: uf_route.h
 
概述
Return the length tolerance used in the Routing module.

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

 
int UF_ROUTE_ask_length_tolerance
(
double * tol
)
double * (实数型指针)tolOutput(输出)Tolerance used for distance and length comparisons in Routing

 


 
UF_ROUTE_ask_loaded_bend_tables (查看源代码)
 
定义在: uf_route.h
 
概述
This function will provide a list of the names of all the currently loaded
bend radius tables. Use UF_free_string_array to free the array of names.
An error of UF_ROUTE_err_table_not_loaded means that there are no
tables loaded in the current application view.

环境
Internal and External

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

 
int UF_ROUTE_ask_loaded_bend_tables
(
int * num_tables,
char * * * tables
)
int * (整数型指针)num_tablesOutput(输出)number of entries
char * * *tablesOutput to be freed
输出并释放
array of table names. This must be
freed by calling UF_free_string_array

 


 
UF_ROUTE_ask_multiport_strings (查看源代码)
 
定义在: uf_route.h
 
概述
Queries the virtual port names of the given multiport .

环境
内部和外部

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

 
int UF_ROUTE_ask_multiport_strings
(
tag_t port_tag,
int * num_strings,
const char * * * strings
)
tag_t (tag_t类型)port_tagInput(输入)the tag of the port
int * (整数型指针)num_stringsOutput(输出)the number of strings
const char * * *stringsOutput to be freed
输出并释放
the array of names, don't free the
individual strings, just call UF_free(strings);

 


 
UF_ROUTE_ask_multiport_tags (查看源代码)
 
定义在: uf_route.h
 
概述
Gets the tags of the virtual ports associated with the multiport.

环境
内部和外部

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

 
int UF_ROUTE_ask_multiport_tags
(
tag_t port_tag,
int * num_tags,
tag_t * * tags
)
tag_t (tag_t类型)port_tagInput(输入), the tag of the port
int * (整数型指针)num_tagsOutput(输出), the number of tags
tag_t * *tagsOutput to be freed
输出并释放
,
the array of virtual ports,
use UF_free to free up the array.

 


 
UF_ROUTE_ask_multiport_terminals (查看源代码)
 
定义在: uf_route.h
 
概述
Query the terminal and virtual ports of the given multiport.

环境
Internal and External

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

 
int UF_ROUTE_ask_multiport_terminals
(
tag_t multi,
int * num_terms,
tag_t * * terms,
int * num_virts,
const char * * * virts
)
tag_t (tag_t类型)multiInput(输入)Multiport to query
int * (整数型指针)num_termsOutput(输出)Number of terminal ports
tag_t * *termsOutput to be freed
输出并释放
Array of terminal port tags. This must be freed
by calling UF_free.
int * (整数型指针)num_virtsOutput(输出)Number of virtual ports
const char * * *virtsOutput to be freed
输出并释放
Array of virtual port identifiers. This array
must be freed by calling UF_free.

 


 
UF_ROUTE_ask_multiport_termname (查看源代码)
 
定义在: uf_route.h
 
概述
Queries the name of the charx of which virtual port names are considered
values.

环境
内部和外部

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

 
int UF_ROUTE_ask_multiport_termname
(
tag_t port_tag,
char * * name
)
tag_t (tag_t类型)port_tagInput(输入)the tag of the port to query
char * *nameOutput to be freed
输出并释放
the name of the virtual port, free using UF_free

 


 
UF_ROUTE_ask_obj_bend_radius (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the "bend corner" radius when supplied with any one of the
following:
. The RCP at which the Bend was created.
. The Bend Corner object id obtained after calling one of the
UF_ROUTE_create_bend routines.
. The segment created as a result of the Bend Corner.

Returns
True = If the obj_id is a valid bend object.
False = invalid object.

环境
内部和外部

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

 
logical UF_ROUTE_ask_obj_bend_radius
(
tag_t obj_id,
double * radius
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier to interrogate. Can be a RCP,
a Bend segment, or a Corner (only bend
corner) object.
double * (实数型指针)radiusOutput(输出)Radius at the Bend Corner.

 


 
UF_ROUTE_ask_obj_corner_info (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the "corner" information such as type, RCP id and the Corner
object id when supplied with any one of the following:
The RCP at which the corner was created.
The Corner object id obtained after calling one of the
UF_ROUTE_create_bend or UF_ROUTE_create_miter routines.
The Segment created as a result of the Bend corner. Miter corner
does not create a segment. The input may be an existing RCP, a
Bend segment or a Corner object.

返回
TRUE object is some kind of corner
FALSE otherwise.

环境
内部和外部

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

 
logical UF_ROUTE_ask_obj_corner_info
(
tag_t obj_id,
int * crn_typ,
tag_t * crn_rcp,
tag_t * crn_obj
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier to interrogate. Can be an RCP,
a Bend Segment, or a Corner (Bend or Miter)
object .
int * (整数型指针)crn_typOutput(输出)Corner type such as
UF_ROUTE_CORNER_NONE
UF_ROUTE_CORNER_BEND
UF_ROUTE_CORNER_MITER
tag_t * (tag_t型的指针)crn_rcpOutput(输出)Object Identifier of the RCP at this Corner
only, else NULL_TAG
tag_t * (tag_t型的指针)crn_objOutput(输出)Object Identifier of the Corner object. This is
equal to obj_id if the input is a Corner. If the
input is an RCP or Bend Segment this is the
Corner object to that RCP or segment

 


 
UF_ROUTE_ask_object_level (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the routing level for the given object. The routing level is a
character string which determines which stock and fittings may be
connected to one another. Only stock and fittings (components) with the
same routing level are connected to one another.

环境
Internal and External

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

 
int UF_ROUTE_ask_object_level
(
tag_t obj,
char * * level
)
tag_t (tag_t类型)objInput(输入)Object identifier of the stock or fitting
whose routing level is returned
char * *levelOutput to be freed
输出并释放
Routing level - This is the address of the character
string representing the level and must be freed by
the caller using UF_free.

 


 
UF_ROUTE_ask_object_port (查看源代码)
 
定义在: uf_route.h
 
概述
Use this function to find the ports attached to an object. The object can
be a segment, stock, port, rcp, or part. Success is indicated by a non-zero
count of ports. The function always returns ERROR_OK. The array of ports must
be freed by the user with UF_free.

环境
Internal and External

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

 
int UF_ROUTE_ask_object_port
(
tag_t object,
int * num_ports,
tag_t * * ports
)
tag_t (tag_t类型)objectInput(输入)object
int * (整数型指针)num_portsOutput(输出)count of ports
tag_t * *portsOutput to be freed
输出并释放
array of ports, this must be freed by calling
UF_free

 


 
UF_ROUTE_ask_object_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the stock tag assigned to the Segment or attached to the
Stock Port or the stock associated with the Stock Solid feature. The
input may be a Port of a stock, a Segment, Stock Solid feature tag or a
Curve used to define the segment that is assigned the stock. If no
stock is assigned to the segment a NULL_TAG is returned.

环境
内部和外部

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

 
int UF_ROUTE_ask_object_stock
(
tag_t obj_id,
tag_t * stock
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier to interrogate. Can be a Port
of a Stock, a Segment, the Stock solid feature
or a Curve object.
tag_t * (tag_t型的指针)stockOutput(输出)Stock tag attached to the input object else
NULL_TAG.

 


 
UF_ROUTE_ask_part_duplicate_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Find all the duplicate RCPs occurring in a given part. If part tag is
a NULL_TAG, the current work part will be searched for duplicate RCPs. An
output flag will indicate if any duplicate RCPs were found in the part. If
duplicate RCPs are found, the output of lists of duplicate RCPs (at each
location) will be appropriately populated.
Returns an error code if any error occurs in the function.

E.g. Consider a part containing 10 unique RCPs with tags
10, 20, 30,..., 90, 100. If 10, 20, 30 were moved such that
10 & 60 now lie at the same location and 20 & 30 ended up
at the same location as 70, we would have the following
structure of the output from this function.

found_duplicates - TRUE
num_part_dup_rcp_lists - 2
part_dup_rcp_lists - [ 10 60
20 30 70 ]

环境
Internal and External

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

 
int UF_ROUTE_ask_part_duplicate_rcps
(
tag_t part,
double tolerance,
logical * found_duplicates,
int * num_part_dup_rcp_lists,
UF_ROUTE_tag_list_p_t * * part_dup_rcp_lists
)
tag_t (tag_t类型)partInput(输入)Part tag
double (实数型)toleranceInput(输入)Tolerance to be used to determine
duplicates. Defaults to Internal
tolerance limits if <= 0
logical *found_duplicatesOutput(输出)Indicates if duplicate
RCPs were found
int * (整数型指针)num_part_dup_rcp_listsOutput(输出)Number of locations
where duplicate RCPs
were found
UF_ROUTE_tag_list_p_t * *part_dup_rcp_listsOutput to be freed
输出并释放
Function_to_free = UF_ROUTE_free_array_of_tag_lists
Lists of duplicate RCP
tags found at each of
the above locations.
Free using
UF_ROUTE_free_array_of_tag_lists.

 


 
UF_ROUTE_ask_part_duplicate_segs (查看源代码)
 
定义在: uf_route.h
 
概述
Find all the duplicate segments originating in duplicate RCPs that
occur in a given part. This routine cannot find duplicate segments that have
the same two end rcps. If part tag is a NULL_TAG, the current work part
will be searched for duplicate segments.
An output flag will indicate if any duplicate segments were found in the
part. If duplicate segments are found, the output of lists of duplicate
segments (at each location) will be appropriately populated.
Returns an error code if any error occurs in the function.

E.g. Consider a part containing 10 unique segments with tags
10, 20, 30,..., 90, 100. If 10, 20, 30 were moved such that
10 & 60 now lie at the same location and 20 & 30 ended up
at the same location as 70, we would have the following
structure of the output from this function.

found_duplicates - TRUE
num_part_dup_seg_lists - 2
part_dup_seg_lists - [ 10 60
20 30 70 ]

环境
Internal and External

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

 
int UF_ROUTE_ask_part_duplicate_segs
(
tag_t part,
double tolerance,
logical * found_duplicates,
int * num_part_dup_seg_lists,
UF_ROUTE_tag_list_p_t * * part_dup_seg_lists
)
tag_t (tag_t类型)partInput(输入)Part tag
double (实数型)toleranceInput(输入)Tolerance to be used to determine
duplicates. Defaults to Internal
tolerance limits if <= 0
logical *found_duplicatesOutput(输出)Indicates if duplicate
segments were found
int * (整数型指针)num_part_dup_seg_listsOutput(输出)Number of locations
where duplicate
segments were found
UF_ROUTE_tag_list_p_t * *part_dup_seg_listsOutput to be freed
输出并释放
Function_to_free = UF_ROUTE_free_array_of_tag_lists
Lists of duplicate
segment tags
found at each of
the above locations.
Free using
UF_ROUTE_free_array_of_tag_lists.

 


 
UF_ROUTE_ask_part_num_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Find the number of RCPs occurring in a given part. If the part tag is
a NULL_TAG , the current work part will taken as the default.
Returns an error code if any error occurs in the function.

环境
Internal and External

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

 
int UF_ROUTE_ask_part_num_rcps
(
tag_t part,
int * num_part_rcps
)
tag_t (tag_t类型)partInput(输入)Part tag, can be a NULL_TAG
int * (整数型指针)num_part_rcpsOutput(输出)Number of RCPs in the part

 


 
UF_ROUTE_ask_part_num_segs (查看源代码)
 
定义在: uf_route.h
 
概述
Find the number of segments occurring in a given part. If the part tag is
a NULL_TAG , the current work part will taken as the default.
Returns an error code if any error occurs in the function.

环境
Internal and External

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

 
int UF_ROUTE_ask_part_num_segs
(
tag_t part,
int * num_part_segs
)
tag_t (tag_t类型)partInput(输入)Part tag, can be a NULL_TAG
int * (整数型指针)num_part_segsOutput(输出)Number of segments in the part

 


 
UF_ROUTE_ask_part_occ_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Returns all the port occurrences on the given part occurrence.

环境
内部和外部

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

 
int UF_ROUTE_ask_part_occ_ports
(
tag_t part_tag,
int * num_ports,
tag_t * * ports
)
tag_t (tag_t类型)part_tagInput(输入)Object identifier of a part occurrence.
int * (整数型指针)num_portsOutput(输出)Number of port occurrences in the given part
occurrence.
tag_t * *portsOutput to be freed
输出并释放
Tags of port occurrences of the part occurrence
else NULL_TAG. Allocated array must be
freed with UF_free.

 


 
UF_ROUTE_ask_part_part_type (查看源代码)
 
定义在: uf_route.h
 
概述
Determines the Routing type of the given part. The type returned will
be one of:
UF_ROUTE_PART_TYPE_PART
UF_ROUTE_PART_TYPE_STOCK
UF_ROUTE_PART_TYPE_FABRICATION,
or UF_ROUTE_PART_TYPE_UNKNOWN if the part is not a
Routing part or if the part is not loaded.

环境
内部和外部

参见
UF_ROUTE_is_part_fabrication

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

 
int UF_ROUTE_ask_part_part_type
(
tag_t r_part,
int * type
)
tag_t (tag_t类型)r_partInput(输入)The tag of part or part occurrence to be inquired.
int * (整数型指针)typeOutput(输出)The type of Routing part

 


 
UF_ROUTE_ask_part_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Find the tags of all RCPs occurring in a given part. If the part tag is
a NULL_TAG , the current work part will taken as the default.
Returns an error code if any error occurs in the function.

环境
Internal and External

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

 
int UF_ROUTE_ask_part_rcps
(
tag_t part,
int * num_part_rcps,
tag_t * * part_rcps
)
tag_t (tag_t类型)partInput(输入)Part tag, can be a NULL_TAG
int * (整数型指针)num_part_rcpsOutput(输出)Number of RCPs in the part, 0 if there are none.
tag_t * *part_rcpsOutput to be freed
输出并释放
Array of part RCP tags, NULL if there are none.
Free using UF_free.

 


 
UF_ROUTE_ask_part_search_path (查看源代码)
 
定义在: uf_route.h
 
概述
Retrieves the tag of a search path.

环境
内部和外部

参见
UF_DIRPATH_ask_dirs
UF_DIRPATH_ask_dir_count
UF_DIRPATH_ask_dir_index
UF_DIRPATH_ask_nth_dir
UF_DIRPATH_ask_prev_dir
UF_DIRPATH_ask_curr_dir
UF_DIRPATH_ask_next_dir

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

 
int UF_ROUTE_ask_part_search_path
(
tag_t * path
)
tag_t * (tag_t型的指针)pathOutput(输出)tag of search path or NULL_tag

 


 
UF_ROUTE_ask_part_segs (查看源代码)
 
定义在: uf_route.h
 
概述
Find the tags of all segments occurring in a given part. If the part tag is
a NULL_TAG , the current work part will taken as the default.
Returns an error code if any error occurs in the function.

环境
Internal and External

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

 
int UF_ROUTE_ask_part_segs
(
tag_t part,
int * num_part_segs,
tag_t * * part_segs
)
tag_t (tag_t类型)partInput(输入)Part tag, can be a NULL_TAG
int * (整数型指针)num_part_segsOutput(输出)Number of segments in the part, 0 if there are none.
tag_t * *part_segsOutput to be freed
输出并释放
Array of part segment tags, NULL if there are none.
Free using UF_free.

 


 
UF_ROUTE_ask_places_transform (查看源代码)
 
定义在: uf_route.h
 
概述
This routine returns the origin and CSYS matrix data
associated with a Routing "placement" solution returned by
UF_ROUTE_solve_places.

First use UF_ROUTE_solve_places to get solutions, then call this
routine to obtain the origin and csys arrays that should be
applied to the part instance with UF_ASSEM_reposition_instance.

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

 
int UF_ROUTE_ask_places_transform
(
UF_ROUTE_place_solution_p_t places,
double origin [ 3 ] ,
double csys_matrix [ 6 ]
)
UF_ROUTE_place_solution_p_tplacesInput(输入)UF_ROUTE_place_solution_p_t pointer
returned by UF_ROUTE_solve_places
double (实数型)origin [ 3 ] Output(输出)Origin data for
UF_ASSEM_reposition_instance
double (实数型)csys_matrix [ 6 ] Output(输出)CSYS data for
UF_ASSEM_reposition_instance

 


 
UF_ROUTE_ask_port_align_flag (查看源代码)
 
定义在: uf_route.h
 
概述
Inquire whether the given port uses an alignment vector.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_align_flag
(
tag_t port_tag,
logical * flag
)
tag_t (tag_t类型)port_tagInput(输入)Port to query
logical *flagOutput(输出)Port alignment flag:
TRUE = Port uses an alignment vector.
FALSE = Port does not use an alignment vector.

 


 
UF_ROUTE_ask_port_align_vector (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the alignment vector of a port.

环境
内部和外部

参见
UF_ROUTE_ask_port_align_flag

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

 
int UF_ROUTE_ask_port_align_vector
(
tag_t port_tag,
double vector [ 3 ]
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port to query
double (实数型)vector [ 3 ] Output(输出)Alignment vector of port

 


 
UF_ROUTE_ask_port_back_extension (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns the back extension value for a port.

环境
Internal and External

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

 
int UF_ROUTE_ask_port_back_extension
(
tag_t port,
double* ext
)
tag_t (tag_t类型)portInput(输入), the port
double*extOutput(输出), the port back extension

 


 
UF_ROUTE_ask_port_back_extension_obj (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns the back extension object for a port.
The returned object is a UF_scalar_type.

环境
Internal and External

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

 
int UF_ROUTE_ask_port_back_extension_obj
(
tag_t port,
tag_t* ext
)
tag_t (tag_t类型)portInput(输入), the port
tag_t*extOutput(输出), the port back extension object

 


 
UF_ROUTE_ask_port_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Ask a specific charx value from a port. If the information is not found
attached to the port, the part is queried.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_charx
(
char * charx_name,
int expected_type,
tag_t port_tag,
UF_ROUTE_charx_p_t desired_charx
)
char * (字符型指针)charx_nameInput(输入), the name of the charx to get
int (整数型)expected_typeInput(输入), the expected type of the charx
tag_t (tag_t类型)port_tagInput(输入), the tag of the port to query
UF_ROUTE_charx_p_tdesired_charxOutput(输出), the charx value returned

 


 
UF_ROUTE_ask_port_clock_increment (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns the clock angle increment value for a port.
The clocking increment value on a port is used to determine the valid clocking
angle values. The valid clocking angles are the angle values that can
be used for setting the angle between the rotation vectors of two
ports that are connected to each other.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_clock_increment
(
tag_t port,
double * increment
)
tag_t (tag_t类型)portInput(输入)The port to query.
double * (实数型指针)incrementOutput(输出)The increment of the clock angle.

 


 
UF_ROUTE_ask_port_conn_port (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the port to which a given port is connected.

返回
Return code:
TRUE = curr_port is connected
FALSE = curr_port is not connected

环境
内部和外部

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

 
logical UF_ROUTE_ask_port_conn_port
(
tag_t curr_port,
tag_t * connected_port
)
tag_t (tag_t类型)curr_portInput(输入)Port to query.
tag_t * (tag_t型的指针)connected_portOutput(输出)Tag of connected port or NULL_TAG.

 


 
UF_ROUTE_ask_port_connected_port (查看源代码)
 
定义在: uf_route.h
 
概述
Finds the port connected to a given port within the work part.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_connected_port
(
tag_t curr_port,
tag_t * connected_port,
logical * connected
)
tag_t (tag_t类型)curr_portInput(输入)the current port or port occ
tag_t * (tag_t型的指针)connected_portOutput(输出)the connected port or NULL_TAG
logical *connectedOutput(输出)true if current port is connected

 


 
UF_ROUTE_ask_port_connection (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the tag of the connection object of the port. If this port is not
connected, NULL_TAG is returned.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_connection
(
tag_t port_tag,
tag_t * connection
)
tag_t (tag_t类型)port_tagInput(输入)Object identifier of the port.
tag_t * (tag_t型的指针)connectionOutput(输出)Connection tag at this port else if the port is
not connected then NULL_TAG.

 


 
UF_ROUTE_ask_port_cut_back_length (查看源代码)
 
定义在: uf_route.h
 
概述
Looks at characteristics of given port to determine
the cut back length. If cut back length is not found, look at component of
the port for same characteristic.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_cut_back_length
(
tag_t port,
double * cut_back_length
)
tag_t (tag_t类型)portInput(输入)Tag of port beings asked
double * (实数型指针)cut_back_lengthOutput(输出)Cut back length

 


 
UF_ROUTE_ask_port_engage_obj (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the associative scalar object which defines the engagement
distance of a port.

环境
内部和外部

参见
UF_SO_ask_double_of_scalar
UF_SO_set_double_of_scalar

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

 
int UF_ROUTE_ask_port_engage_obj
(
tag_t port_tag,
tag_t * engage_obj
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port
tag_t * (tag_t型的指针)engage_objOutput(输出)Tag of scalar object defining the engagement
distance.

 


 
UF_ROUTE_ask_port_engaged_pos (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the position of the port taking into account the engagement
distance.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_engaged_pos
(
tag_t port,
double position [ 3 ]
)
tag_t (tag_t类型)portInput(输入)Tag of port to query.
double (实数型)position [ 3 ] Output(输出)The engaged position of the port.

 


 
UF_ROUTE_ask_port_engagement (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the engagement distance of a port, i.e. the distance behind the
port that another fitting or stock may engage.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_engagement
(
tag_t port_tag,
double * distance
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port to query.
double * (实数型指针)distanceOutput(输出)Engagement distance

 


 
UF_ROUTE_ask_port_extension (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns the extension value for a port.

环境
Internal and External

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

 
int UF_ROUTE_ask_port_extension
(
tag_t port,
double* ext
)
tag_t (tag_t类型)portInput(输入), the port
double*extOutput(输出), the port extension

 


 
UF_ROUTE_ask_port_extension_obj (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns the extension object for a port.
The returned object is a UF_scalar_type.

环境
Internal and External

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

 
int UF_ROUTE_ask_port_extension_obj
(
tag_t port,
tag_t* ext
)
tag_t (tag_t类型)portInput(输入), the port
tag_t*extOutput(输出), the port extension object

 


 
UF_ROUTE_ask_port_lock_info (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns information about a lock on a part occurrence
given the from or to (child or parent) port occurrence that was used
to create the lock.

If an error occurs, UF_ROUTE_err_invalid_port_mate will be returned.

环境
Internal and External

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

 
int UF_ROUTE_ask_port_lock_info
(
tag_t port_occ,
logical * is_locked,
logical * is_rotation_locked,
logical * is_from_port
)
tag_t (tag_t类型)port_occInput(输入)The FROM or TO port occurrence
logical *is_lockedOutput(输出)TRUE if given port participates in a lock
logical *is_rotation_lockedOutput(输出)TRUE if rotation is locked
logical *is_from_portOutput(输出)TRUE if given port is the FROM port

 


 
UF_ROUTE_ask_port_multiport (查看源代码)
 
定义在: uf_route.h
 
概述
Find the multiport associated with the given port.
If given port is a multiport, return itself. If its
a terminal port, return its multiport.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_multiport
(
tag_t port,
tag_t * multi
)
tag_t (tag_t类型)portInput(输入), the port to query
tag_t * (tag_t型的指针)multiOutput(输出), the tag of the multiport associated with the port

 


 
UF_ROUTE_ask_port_occ_of_port (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the tag of the port occurrence of given extract port
If the port tag given is an occurrence, NULL_TAG is returned

环境
内部和外部

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

 
int UF_ROUTE_ask_port_occ_of_port
(
tag_t port_tag,
tag_t * port_occ
)
tag_t (tag_t类型)port_tagInput(输入)Object identifier of the port.
tag_t * (tag_t型的指针)port_occOutput(输出)Corresponding Occurrence tag of this port

 


 
UF_ROUTE_ask_port_on_segment (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the port derived by the segment and the given end index.

环境
内部和外部

参见
UF_ROUTE_ask_segment_end_idx

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

 
int UF_ROUTE_ask_port_on_segment
(
tag_t segment,
int segend,
tag_t * port
)
tag_t (tag_t类型)segmentInput(输入)Segment to query.
int (整数型)segendInput(输入)Segment end index.
tag_t * (tag_t型的指针)portOutput(输出)Port derived by the segment at the given end.

 


 
UF_ROUTE_ask_port_part_occ (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the tag of the part_occurrence containing the given port
occurrence. If the port tag given is not an occurrence, NULL_TAG is
returned.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_part_occ
(
tag_t port_tag,
tag_t * part_occ
)
tag_t (tag_t类型)port_tagInput(输入)Object identifier of the port.
tag_t * (tag_t型的指针)part_occOutput(输出)Occurrence tag of the part to which this port
belongs.

 


 
UF_ROUTE_ask_port_position (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the position of a port.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_position
(
tag_t port_tag,
double position [ 3 ]
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port to query.
double (实数型)position [ 3 ] Output(输出)Position of port.

 


 
UF_ROUTE_ask_port_rotate_flag (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires whether the given port uses a rotation vector.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_rotate_flag
(
tag_t port_tag,
logical * flag
)
tag_t (tag_t类型)port_tagInput(输入)Port to query.
logical *flagOutput(输出)Port rotation flag.

 


 
UF_ROUTE_ask_port_rotate_vector (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the rotation vector of a port.

环境
内部和外部

参见
UF_ROUTE_ask_port_rotate_flag

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

 
int UF_ROUTE_ask_port_rotate_vector
(
tag_t port_tag,
double vector [ 3 ]
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port to query.
double (实数型)vector [ 3 ] Output(输出)rotation vector of port.

 


 
UF_ROUTE_ask_port_segment (查看源代码)
 
定义在: uf_route.h
 
概述
If the port position and alignment are derived from a segment, return
that segment.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_segment
(
tag_t port_tag,
tag_t * segment
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port to query.
tag_t * (tag_t型的指针)segmentOutput(输出)Tag of segment.

 


 
UF_ROUTE_ask_port_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the tag of the stock object to which the port is attached. If the
port does not belong to a stock, NULL_TAG is returned. Only connection
ports are considered, not fixture ports.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_stock
(
tag_t port_tag,
tag_t * stock_tag
)
tag_t (tag_t类型)port_tagInput(输入)Object identifier of the port.
tag_t * (tag_t型的指针)stock_tagOutput(输出)Tag of the stock object.

 


 
UF_ROUTE_ask_port_terminal_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Find terminal ports associated with the given port.
If given port is a multiport, return all terminal
ports. If its a terminal port, return itself. If the
input port is an occurrence, return occurrences of
terminal ports in given ports part occurrence tree.

环境
内部和外部

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

 
int UF_ROUTE_ask_port_terminal_ports
(
tag_t port,
int * num_terms,
tag_t * * terms
)
tag_t (tag_t类型)portInput(输入), the port to query
int * (整数型指针)num_termsOutput(输出), the number of associated terminal ports
tag_t * *termsOutput to be freed
输出并释放
the array of terminal ports,
use UF_free to free up the array.

 


 
UF_ROUTE_ask_rcp_at_term_port (查看源代码)
 
定义在: uf_route.h
 
概述
This function will query a terminal port to find out
the tag of the rcp located at its position.
Three methods are used. First the direct derivation
is checked. Second, the method to identify terminal
wires is used (Smart Point -> BCURVE -> ROUTE_segment
-> segment_ends ). Last, if the terminal port is at
the same location of a multiport, the multiport is
queried through the use of ES_ROUTE_ask_rcp_on_port

环境
内部和外部

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

 
int UF_ROUTE_ask_rcp_at_term_port
(
tag_t port,
tag_t * rcp,
logical* at
)
tag_t (tag_t类型)portInput(输入)the terminal port to query
tag_t * (tag_t型的指针)rcpOutput(输出)the rcp at the terminal port
logical*atOutput(输出)true if there is an rcp at the term port

 


 
UF_ROUTE_ask_rcp_corner (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the corner assigned to the RCP. If no corner is assigned, then
NULL_TAG is returned.

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

 
int UF_ROUTE_ask_rcp_corner
(
tag_t rcp_tag,
tag_p_t corner
)
tag_t (tag_t类型)rcp_tagInput(输入)Tag of Route Control Point.
tag_p_tcornerOutput(输出)Tag of corner assigned to the RCP (or
NULL_TAG).

 


 
UF_ROUTE_ask_rcp_on_port (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires about any RCP that is associated with the port. This can be
either from one of the segment ends of the segment from which the
port is derived, or from an RCP that is derived from this port.

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

 
int UF_ROUTE_ask_rcp_on_port
(
tag_t port_tag,
tag_t * rcp_tag
)
tag_t (tag_t类型)port_tagInput(输入)Tag of port to query.
tag_t * (tag_t型的指针)rcp_tagOutput(输出)Tag of RCP (or NULL_TAG).

 


 
UF_ROUTE_ask_rcp_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Finds all the ports connected to a given RCP.

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

 
int UF_ROUTE_ask_rcp_ports
(
tag_t rcp,
int * num_ports,
tag_t * * ports
)
tag_t (tag_t类型)rcpInput(输入)Tag of Route Control Point to query.
int * (整数型指针)num_portsOutput(输出)Number of ports returned.
tag_t * *portsOutput to be freed
输出并释放
Array of ports. Use UF_free to deallocate memory
when no longer required.

 


 
UF_ROUTE_ask_rcp_position (查看源代码)
 
定义在: uf_route.h
 
概述
Obtains the position of the RCP in absolute coordinate system.

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

 
int UF_ROUTE_ask_rcp_position
(
tag_t rcp_id,
double rcp_pos [ 3 ]
)
tag_t (tag_t类型)rcp_idInput(输入)Object Identifier of the RCP to inquire
double (实数型)rcp_pos [ 3 ] Output(输出)Position of the RCP in absolute csys.

 


 
UF_ROUTE_ask_rcp_segments (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the segments attached to a given RCP.

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

 
int UF_ROUTE_ask_rcp_segments
(
tag_t rcp_tag,
int * num_segs,
tag_t * * segments
)
tag_t (tag_t类型)rcp_tagInput(输入)Tag of Route Control Point to query
int * (整数型指针)num_segsOutput(输出)Number of segments returned
tag_t * *segmentsOutput to be freed
输出并释放
Array of segments. Use UF_free to deallocate
memory when no longer required.

 


 
UF_ROUTE_ask_rcp_segs (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the number of segments and their tags attached to a given
RCP.

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

 
int UF_ROUTE_ask_rcp_segs
(
tag_t rcp_id,
int * num_segs,
tag_t * * segments
)
tag_t (tag_t类型)rcp_idInput(输入)Object identifier of the RCP.
int * (整数型指针)num_segsOutput(输出)Number of segments at this RCP
tag_t * *segmentsOutput to be freed
输出并释放
Pointer to an allocated array of segments.
This must be freed using UF_free.

 


 
UF_ROUTE_ask_route_end (查看源代码)
 
定义在: uf_route.h
 
概述
Asks end object of route.

环境
内部和外部

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

 
int UF_ROUTE_ask_route_end
(
tag_t route,
tag_t * end
)
tag_t (tag_t类型)routeInput(输入), the route to query
tag_t * (tag_t型的指针)endOutput(输出), the end object

 


 
UF_ROUTE_ask_route_objs (查看源代码)
 
定义在: uf_route.h
 
概述
Asks route objects of an existing route.

环境
内部和外部

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

 
int UF_ROUTE_ask_route_objs
(
tag_t route,
int * num_objs,
tag_t * * objs
)
tag_t (tag_t类型)routeInput(输入), the route to query
int * (整数型指针)num_objsOutput(输出), the number objects that make up the route
tag_t * *objsOutput to be freed
输出并释放
, the array of objects in the route.
Use UF_free to free up returned array.

 


 
UF_ROUTE_ask_route_start (查看源代码)
 
定义在: uf_route.h
 
概述
Asks start object of route.

环境
内部和外部

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

 
int UF_ROUTE_ask_route_start
(
tag_t route,
tag_t * start
)
tag_t (tag_t类型)routeInput(输入), the route to query
tag_t * (tag_t型的指针)startOutput(输出), the start object

 


 
UF_ROUTE_ask_seg_curve (查看源代码)
 
定义在: uf_route.h
 
概述
Finds the curve which a segment is "following"

环境
内部和外部

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

 
int UF_ROUTE_ask_seg_curve
(
tag_t segment,
tag_t * curve
)
tag_t (tag_t类型)segmentInput(输入)Object identifier of the segment.
tag_t * (tag_t型的指针)curveOutput(输出)Object identifier of the follow curve. If the given
segment does not follow a curve, NULL_TAG is
returned.

 


 
UF_ROUTE_ask_seg_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the tags of the end RCPs for a given segment.

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

 
int UF_ROUTE_ask_seg_rcps
(
tag_t segment,
tag_t rcp [ 2 ]
)
tag_t (tag_t类型)segmentInput(输入)Object identifier of the segment.
tag_t (tag_t类型)rcp [ 2 ] Output(输出)Object identifiers of the end RCPs.

 


 
UF_ROUTE_ask_segment_bend_crnr (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the bend corner that this segment represents. The corner is
NULL_TAG if segment is not a bend segment.

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_bend_crnr
(
tag_t segment,
tag_p_t corner
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment to query.
tag_p_tcornerOutput(输出)Tag of bend corner (or NULL_TAG).

 


 
UF_ROUTE_ask_segment_branch_angle (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the passed segment its branch angle attribute.

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_branch_angle
(
tag_t segment,
double * branch_angle
)
tag_t (tag_t类型)segmentInput(输入), the segment to query
double * (实数型指针)branch_angleOutput(输出), the branch angle.

 


 
UF_ROUTE_ask_segment_bundle_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Ask any stock on a given segment that belongs to specified wire harness.

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_bundle_stock
(
tag_t segment,
tag_t harness,
tag_t * stock
)
tag_t (tag_t类型)segmentInput(输入)the segment to query
tag_t (tag_t类型)harnessInput(输入)the harness to query
tag_t * (tag_t型的指针)stockOutput(输出)the stock tag

 


 
UF_ROUTE_ask_segment_end_idx (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires whether the given RCP is segment end 0 or segment end 1.
This index is used by some other UF_ROUTE functions.

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_end_idx
(
tag_t segment,
tag_t end_object,
int * index
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment to query.
tag_t (tag_t类型)end_objectInput(输入)Tag of RCP at segment end.
int * (整数型指针)indexOutput(输出)End index of RCP on segment (0 or 1).

 


 
UF_ROUTE_ask_segment_end_pnts (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the start and end positions of a segment.

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

 
int UF_ROUTE_ask_segment_end_pnts
(
tag_t segment,
double start [ 3 ] ,
double end [ 3 ]
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment to query.
double (实数型)start [ 3 ] Output(输出)Position of start of segment.
double (实数型)end [ 3 ] Output(输出)Position of end of segment.

 


 
UF_ROUTE_ask_segment_end_props (查看源代码)
 
定义在: uf_route.h
 
概述
Returns curve parameters of segment at given end index.

环境
内部和外部

参见
UF_ROUTE_ask_segment_end_idx

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

 
int UF_ROUTE_ask_segment_end_props
(
tag_t segment,
int end,
double * parameter,
double * norm_parameter,
double point [ 3 ] ,
double tangent [ 3 ]
)
tag_t (tag_t类型)segmentInput(输入)Segment to query
int (整数型)endInput(输入)End of segment to query
double * (实数型指针)parameterOutput(输出)Curve parameter at end
double * (实数型指针)norm_parameterOutput(输出)Normalized parameter at end
double (实数型)point [ 3 ] Output(输出)Position of end
double (实数型)tangent [ 3 ] Output(输出)Tangent vector at end

 


 
UF_ROUTE_ask_segment_int_part (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the part (fitting) to which the segment is interior.

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

 
int UF_ROUTE_ask_segment_int_part
(
tag_t segment,
tag_p_t part
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment to query.
tag_p_tpartOutput(输出)Tag of part occurrence

 


 
UF_ROUTE_ask_segment_int_parts (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the parts (fittings) to which the segment is interior.

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

 
int UF_ROUTE_ask_segment_int_parts
(
tag_t segment,
int * num_parts,
tag_p_t * parts
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment to query.
int * (整数型指针)num_partsOutput(输出)Number of part_occurrences
tag_p_t *partsOutput to be freed
输出并释放
Array of part occurrences

 


 
UF_ROUTE_ask_segment_length (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the length of the Segment.

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

 
int UF_ROUTE_ask_segment_length
(
tag_t segment,
double * length
)
tag_t (tag_t类型)segmentInput(输入)Object identifier of the Segment.
double * (实数型指针)lengthOutput(输出)Length of the segment

 


 
UF_ROUTE_ask_segment_paths (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the paths that the segment belongs to.

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_paths
(
tag_t segment,
int * number_of_paths,
tag_p_t * paths
)
tag_t (tag_t类型)segmentInput(输入), the segment to query
int * (整数型指针)number_of_pathsOutput(输出), the number of paths
tag_p_t *pathsOutput to be freed
输出并释放
,
the array of paths

 


 
UF_ROUTE_ask_segment_routes (查看源代码)
 
定义在: uf_route.h
 
概述
Inquire as to the ROUTE_route object(s) associated with the
specified Segment. (An empty list can be returned,
indicating that no Routes had been assigned to the Segment.)

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_routes
(
tag_t segment,
int * num_routes,
tag_t * * routes
)
tag_t (tag_t类型)segmentInput(输入), segment to query
int * (整数型指针)num_routesOutput(输出), the number of routes
tag_t * *routesOutput to be freed
输出并释放
,
the array of routes,
use UF_free to free up the array

 


 
UF_ROUTE_ask_segment_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the Stock object(s) associated with the specified Segment.
Can return an empty list, which indicates that no Stock was assigned
to the Segment.

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

 
int UF_ROUTE_ask_segment_stock
(
tag_t segment,
int * num_stock,
tag_t * * stock
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment to query.
int * (整数型指针)num_stockOutput(输出)Number of stock objects returned.
tag_t * *stockOutput to be freed
输出并释放
Array of stock objects. Use UF_free to deallocate
memory when no longer required.

 


 
UF_ROUTE_ask_segment_wires (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the tags of the wires that are associated with the given segment.

环境
内部和外部

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

 
int UF_ROUTE_ask_segment_wires
(
tag_t segment,
int * num_wires,
tag_t * * wires
)
tag_t (tag_t类型)segmentInput(输入), the segment to query
int * (整数型指针)num_wiresOutput(输出), the number of wires
tag_t * *wiresOutput to be freed
输出并释放
,
the array of wires, free with UF_free.

 


 
UF_ROUTE_ask_segments_is_path (查看源代码)
 
定义在: uf_route.h
 
概述
Given a set of segments, this function
determines if they comprise a single unique
path object. For this to be the case, there
must be a 1 to 1 mapping between the segments
passed in and the segments in the path.

Each segment will be asked its path. If any of
the segments don't belong to a path, the
segments cannot be an offset path object. The
offset path object that is common to all of the
segments is then checked to determine if the
number of segments passed in and the number of
segments in the path match. If they do not,
the set of segments is not a path. Only in the
case that all the segments belong to a common
offset path object and the number of segments
match is the set of segments that path object.

环境
内部和外部

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

 
int UF_ROUTE_ask_segments_is_path
(
int number_of_segments,
tag_t * segments,
tag_t path,
logical * is_path
)
int (整数型)number_of_segmentsInput(输入), the number of segs to eval
tag_t * (tag_t型的指针)segmentsInput(输入),
the array of segs to eval
tag_t (tag_t类型)pathInput(输入), the path tag
logical *is_pathOutput(输出), true if the segments are a path

 


 
UF_ROUTE_ask_segments_paths (查看源代码)
 
定义在: uf_route.h
 
概述
Given a set of segments, this function
finds the path objects that are defined entirely using the given
set of segments.

Eg: Multiple Master path objects may be defined using the same
set of segments, but with different creation options. In this case
this routine may be used to make sure we are not duplicating
master paths at the time of creation.

环境
内部和外部

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

 
int UF_ROUTE_ask_segments_paths
(
int num_segments,
tag_t * segments,
int * num_paths,
tag_t * * paths,
logical * share_path
)
int (整数型)num_segmentsInput(输入), the number of segs in this path
tag_t * (tag_t型的指针)segmentsInput(输入),
the array of segments
int * (整数型指针)num_pathsOutput(输出), the number of paths for these segs
tag_t * *pathsOutput to be freed
输出并释放
,
the array of paths,
use UF_free to free up the array.
logical *share_pathOutput(输出), true if all segs share at least one path

 


 
UF_ROUTE_ask_stock_anchor (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the current anchor being used by the stock object.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_anchor
(
tag_t stock_tag,
tag_t * anchor
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock to query
tag_t * (tag_t型的指针)anchorOutput(输出)Tag of anchor object

 


 
UF_ROUTE_ask_stock_body (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the solid body which represents the stock object. There may
be no stock object (NULL_TAG) if the stock style is assigned as
simple.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_body
(
tag_t stock_tag,
tag_t * body
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock object to query
tag_t * (tag_t型的指针)bodyOutput(输出)Tag of body representing stock object. May be
NULL_TAG.

 


 
UF_ROUTE_ask_stock_cross_sect (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the current cross section object being referenced from the
stock data, which is being used to determine the swept body of the
stock.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_cross_sect
(
tag_t stock_tag,
tag_t * cross_section
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock object
tag_t * (tag_t型的指针)cross_sectionOutput(输出)Tag of cross section object being used by the stock.
NULL_TAG if no cross section is being used.

 


 
UF_ROUTE_ask_stock_data_anchors (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the anchors which are associated with a particular stock data.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_data_anchors
(
tag_t stock_data_tag,
int * num_anchors,
tag_t * * anchors
)
tag_t (tag_t类型)stock_data_tagInput(输入)Tag of stock data object
int * (整数型指针)num_anchorsOutput(输出)Count of anchors returned.
tag_t * *anchorsOutput to be freed
输出并释放
Array of anchors. Use UF_free to deallocate
memory when no longer required.

 


 
UF_ROUTE_ask_stock_data_cross (查看源代码)
 
定义在: uf_route.h
 
概述
Returns all the cross section objects associated with a stock data
object.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_data_cross
(
tag_t stock_data_tag,
int * num_cross_sections,
tag_t * * cross_sections
)
tag_t (tag_t类型)stock_data_tagInput(输入)Tag of stock data object to query.
int * (整数型指针)num_cross_sectionsOutput(输出)Count of cross sections returned.
tag_t * *cross_sectionsOutput to be freed
输出并释放
Array of cross section objects. Use UF_free to
deallocate memory when no longer required.

 


 
UF_ROUTE_ask_stock_data_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Returns all the stock objects referencing the given stock data object.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_data_stock
(
tag_t stock_data_tag,
int * num_stock,
tag_t * * stock
)
tag_t (tag_t类型)stock_data_tagInput(输入)Tag of stock data object to query.
int * (整数型指针)num_stockOutput(输出)Count of stock objects returned.
tag_t * *stockOutput to be freed
输出并释放
Array of stock objects. Use UF_free to deallocate
memory when no longer required.

 


 
UF_ROUTE_ask_stock_diameter (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the diameter of the Stock. Routing determines the
diameter associated with Stock by reading the DIAMETER
characteristic assigned to the Stock_Data object referenced by the
Stock object. If no such characteristic exists, 0.0 is returned as the
diameter.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_diameter
(
tag_t stock,
double * diameter
)
tag_t (tag_t类型)stockInput(输入)Object identifier of the Stock.
double * (实数型指针)diameterOutput(输出)Diameter of the Stock.

 


 
UF_ROUTE_ask_stock_feature (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the feature which represents the stock object.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_feature
(
tag_t stock_tag,
tag_t * feature
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock object
tag_t * (tag_t型的指针)featureOutput(输出)Tag of feature

 


 
UF_ROUTE_ask_stock_harness (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the harness associated with the stock tag.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_harness
(
tag_t stock,
int * num_harness,
tag_t * * harness
)
tag_t (tag_t类型)stockInput(输入), the stock tag to query
int * (整数型指针)num_harnessOutput(输出), the number of harnesses
tag_t * *harnessOutput to be freed
输出并释放
,
the array of harness tags, free array with UF_free.

 


 
UF_ROUTE_ask_stock_part_occ (查看源代码)
 
定义在: uf_route.h
 
概述
This function is used to get the part occurrence tag associated with a
piece of stock.

环境
Internal and External

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

 
int UF_ROUTE_ask_stock_part_occ
(
tag_t stock,
tag_t* stock_component
)
tag_t (tag_t类型)stockInput(输入)Tag of the stock object.
tag_t*stock_componentOutput(输出)Tag of the stock component

 


 
UF_ROUTE_ask_stock_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the two end ports of the Stock.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_ports
(
tag_t stock,
tag_t ports [ 2 ]
)
tag_t (tag_t类型)stockInput(输入)Object identifier of the Stock.
tag_t (tag_t类型)ports [ 2 ] Output(输出)Two end ports of the Stock.

 


 
UF_ROUTE_ask_stock_profile_port (查看源代码)
 
定义在: uf_route.h
 
概述
Inquire which end of the stock the profile curves are placed to create
the stock feature. The index is 0 or 1 as would be returned by
UF_ROUTE_ask_stock_ports.

环境
内部和外部

参见
UF_ROUTE_ask_stock_ports

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

 
int UF_ROUTE_ask_stock_profile_port
(
tag_t stock_tag,
int * profile_port
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock to query
int * (整数型指针)profile_portOutput(输出)Index of stock port at which the profile curves are
placed: 0 or 1.

 


 
UF_ROUTE_ask_stock_rotation (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires the current rotation of the stock object.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_rotation
(
tag_t stock_tag,
double * rotation
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock to query
double * (实数型指针)rotationOutput(输出)Stock rotation (radians)

 


 
UF_ROUTE_ask_stock_segments (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the number and tags of the Routing segments to which the
given stock object has been assigned.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_segments
(
tag_t stock,
int * num_segments,
tag_t * * segments
)
tag_t (tag_t类型)stockInput(输入)Object identifier of the Stock.
int * (整数型指针)num_segmentsOutput(输出)Number of segments for which this Stock
is applied.
tag_t * *segmentsOutput to be freed
输出并释放
Array of segments to which this Stock
applies. Use UF_free to free this
allocated array.

 


 
UF_ROUTE_ask_stock_stock_data (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the Stock Data object of the Stock. This function can be used
to retrieve all the characteristics related to a Stock object. Use
UF_ROUTE_ask_characteristics on the Stock object followed by
UF_ROUTE_ask_characteristics on the Stock Data object to read all
the specific as well as the common characteristics of a Stock.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_stock_data
(
tag_t stock,
tag_t * stock_data
)
tag_t (tag_t类型)stockInput(输入)Object identifier of the Stock.
tag_t * (tag_t型的指针)stock_dataOutput(输出)Stock Data object of the Stock.

 


 
UF_ROUTE_ask_stock_style (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the stock style assigned to the stock object.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_style
(
tag_t stock_tag,
int * style
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock object to query.
int * (整数型指针)styleOutput(输出)Stock style:
UF_ROUTE_STYLE_NONE
UF_ROUTE_STYLE_SOLID
UF_ROUTE_STYLE_DETAIL

 


 
UF_ROUTE_ask_stock_units (查看源代码)
 
定义在: uf_route.h
 
概述
Returns the units associated with the supplied stock. Routing
allows stock of a particular unit, e.g., millimeters, to be assigned to
the segments of a part of different units, e.g., inches.
Routing stock created prior to V14.0.1 does not have
the units information and any such stock returns 0 as its units value.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_units
(
tag_t stock_tag,
int * units
)
tag_t (tag_t类型)stock_tagInput(输入)Tag of stock object to query
int * (整数型指针)unitsOutput(输出)Units of the stock. This value will be either:
UF_METRIC, UF_ENGLISH, or 0

 


 
UF_ROUTE_ask_stock_wires (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the tags of the wires associated with the given stock.

环境
内部和外部

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

 
int UF_ROUTE_ask_stock_wires
(
tag_t stock,
int * num_wires,
tag_t * * wires
)
tag_t (tag_t类型)stockInput(输入), the stock to query
int * (整数型指针)num_wiresOutput(输出), the number of wires
tag_t * *wiresOutput to be freed
输出并释放
,
the array of wires, free with UF_free

 


 
UF_ROUTE_ask_terminal_multiport (查看源代码)
 
定义在: uf_route.h
 
概述
Queries the multiport of the given terminal port

环境
Internal and External

参见
UF_ROUTE_remove_virtual_ports

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

 
int UF_ROUTE_ask_terminal_multiport
(
tag_t terminal,
tag_t * multi
)
tag_t (tag_t类型)terminalInput(输入)Terminal port to query
tag_t * (tag_t型的指针)multiOutput(输出)Multiport

 


 
UF_ROUTE_ask_terminal_port_uid (查看源代码)
 
定义在: uf_route.h
 
概述
Find the "uid" value for the characteristic
ROUTE_PORT_ID_CHARX_TITLE of given terminal port. If not
found on the terminal, look for it on its prototype if it
is an occurrence.

环境
内部和外部

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

 
int UF_ROUTE_ask_terminal_port_uid
(
tag_t terminal,
char * * uid
)
tag_t (tag_t类型)terminalInput(输入)the terminal port being asked
char * *uidOutput to be freed
输出并释放
the uid of the terminal port. Use UF_free to free.

 


 
UF_ROUTE_ask_user_preferences (查看源代码)
 
定义在: uf_route.h
 
概述
Fills in an array of preference structures. The key and type fields must
be set in each structure and the function returns the value for each
preference. If the preference is not found, the key value is set to
UF_ROUTE_USER_PREF_TYPE_ANY and the integer value set to 0.

环境
内部和外部

参见
UF_ROUTE_set_user_preferences

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

 
int UF_ROUTE_ask_user_preferences
(
int n_pref,
UF_ROUTE_user_preference_t * prefs
)
int (整数型)n_prefInput(输入)Number of preferences to query.
UF_ROUTE_user_preference_t *prefsOutput to be freed
输出并释放
Array of preference structures. The key
and type fields must be set in each
structure for the query.
UF_ROUTE_free_user_prefs_data must be
called to free the data allocated inside
of the prefs array after this function call.

 


 
UF_ROUTE_ask_wire_harness (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the harnesses associated with a wire.

环境
内部和外部

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

 
int UF_ROUTE_ask_wire_harness
(
tag_t wire,
int * num_harness,
tag_t * * harness
)
tag_t (tag_t类型)wireInput(输入), the wire to query
int * (整数型指针)num_harnessOutput(输出), the number of harnesses
tag_t * *harnessOutput to be freed
输出并释放
,
the array of harnesses, free with UF_free.

 


 
UF_ROUTE_ask_wire_segments (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the segments in the given wire.

环境
内部和外部

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

 
int UF_ROUTE_ask_wire_segments
(
tag_t wire,
int * num_segments,
tag_t * * segments
)
tag_t (tag_t类型)wireInput(输入), the wire to query
int * (整数型指针)num_segmentsOutput(输出), the number of segments
tag_t * *segmentsOutput to be freed
输出并释放
,
the array of segments, free array with UF_free

 


 
UF_ROUTE_ask_wire_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the stock tags associated with the wire.

环境
内部和外部

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

 
int UF_ROUTE_ask_wire_stock
(
tag_t wire,
int * num_stock,
tag_t * * stock
)
tag_t (tag_t类型)wireInput(输入), the wire to query
int * (整数型指针)num_stockOutput(输出), the number of stock tags
tag_t * *stockOutput to be freed
输出并释放
,
the array of stock tags, free with UF_free.

 


 
UF_ROUTE_assign_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Assigns stock to a set of segments. The segments need not belong to
the same path. This function uses the Stock Data, Anchor, and Cross
Section objects returned by "loading" the stock. Once the stock has
been "loaded", using UF_ROUTE_load_stock_data, several calls to
UF_ROUTE_assign_stock may be made (for various sets of segments)
without the need to "load" another. Stock will be created on the current
routing level. In order to create stock on other routing levels, use
UF_ROUTE_assign_stock_on_level.

环境
内部和外部

参见
UF_ROUTE_load_stock_data
UF_ROUTE_assign_stock_on_level
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_assign_stock
(
tag_t stock_data_tag,
tag_t anchor_tag,
tag_t cross_tag,
int seg_count,
tag_t * segments
)
tag_t (tag_t类型)stock_data_tagInput(输入)Object identifier of the stock data
obtained after loading the stock by
UF_ROUTE_load_stock_data( ).
tag_t (tag_t类型)anchor_tagInput(输入)Object identifier of the stock anchor
obtained after loading the stock.
tag_t (tag_t类型)cross_tagInput(输入)Object Identifier of the cross section tag
obtained after loading stock.
int (整数型)seg_countInput(输入)Number of segments to assign this stock.
tag_t * (tag_t型的指针)segmentsInput(输入)Array of segments tags to assign stock.

 


 
UF_ROUTE_assign_stock_on_level (查看源代码)
 
定义在: uf_route.h
 
概述
Assigns stock to a set of segments. The segments need not belong to
the same path. This function uses the Stock Data, Anchor, and Cross
Section objects returned by "loading" the stock. Once the stock has
been "loaded", using UF_ROUTE_load_stock_data, several calls to
UF_ROUTE_assign_stock_on_level may be made (for various sets of segments)
without the need to "load" another. Stock will be created on the specified
routing level.

环境
内部和外部

参见
UF_ROUTE_load_stock_data

历史
Original release was in V17.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_assign_stock_on_level
(
tag_t stock_data_tag,
tag_t anchor_tag,
tag_t cross_tag,
int seg_count,
tag_t * segments,
char * level
)
tag_t (tag_t类型)stock_data_tagInput(输入)Object identifier of the stock data
obtained after loading the stock by
UF_ROUTE_load_stock_data( ).
tag_t (tag_t类型)anchor_tagInput(输入)Object identifier of the stock anchor
obtained after loading the stock.
tag_t (tag_t类型)cross_tagInput(输入)Object Identifier of the cross section tag
obtained after loading stock.
int (整数型)seg_countInput(输入)Number of segments to assign this stock.
tag_t * (tag_t型的指针)segmentsInput(输入)Array of segments tags to assign stock.
char * (字符型指针)levelInput(输入)Routing level for the stock to be created
or UF_ROUTE_DEFAULT_LEVEL

 


 
UF_ROUTE_assign_stock_style (查看源代码)
 
定义在: uf_route.h
 
概述
Sets the stock style of the given stock objects.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_assign_stock_style
(
int new_style,
int num_stocks,
tag_p_t stock_tags
)
int (整数型)new_styleInput(输入)Style to assign
int (整数型)num_stocksInput(输入)Count of stock objects being passed in
tag_p_tstock_tagsInput(输入)Array of stock objects

 


 
UF_ROUTE_bend_report_ask_number_of_bends (查看源代码)
 
定义在: uf_route.h
 
概述
This function returns the number of bend segments in the given stock bend info.

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

 
int UF_ROUTE_bend_report_ask_number_of_bends
(
UF_ROUTE_bend_segment_info_p_t bend_segs,
int* num_bends
)
UF_ROUTE_bend_segment_info_p_tbend_segsInput(输入)Stock bend info
int*num_bendsOutput(输出)Number of bends

 


 
UF_ROUTE_bend_report_free_mil98_report (查看源代码)
 
定义在: uf_route.h
 
概述
This function frees a mil98 bend report structure that is returned from
a call to UF_ROUTE_bend_report_generate_mil98_report.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_free_mil98_report
(
UF_ROUTE_bend_report_mil98_p_t mil98_data
)
UF_ROUTE_bend_report_mil98_p_tmil98_dataInput(输入)MIL98 bend report

 


 
UF_ROUTE_bend_report_free_segment_info (查看源代码)
 
定义在: uf_route.h
 
概述
This function frees a bend segment info structure that is returned from
a call to UF_ROUTE_bend_report_get_segment_info.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_free_segment_info
(
UF_ROUTE_bend_segment_info_p_t bend_segs
)
UF_ROUTE_bend_segment_info_p_tbend_segsInput(输入)Stock bend info.

 


 
UF_ROUTE_bend_report_free_xyz_report (查看源代码)
 
定义在: uf_route.h
 
概述
This function frees a xyz bend report structure that is returned from
a call to UF_ROUTE_bend_report_generate_xyz_report.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_free_xyz_report
(
UF_ROUTE_bend_report_xyz_p_t xyz_data
)
UF_ROUTE_bend_report_xyz_p_txyz_dataInput(输入)XYZ bend report

 


 
UF_ROUTE_bend_report_free_ybc_report (查看源代码)
 
定义在: uf_route.h
 
概述
This function frees a ybc bend report structure that is returned from
a call to UF_ROUTE_bend_report_generate_ybc_report.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_free_ybc_report
(
UF_ROUTE_bend_report_ybc_p_t ybc_data
)
UF_ROUTE_bend_report_ybc_p_tybc_dataInput(输入)YBC bend report

 


 
UF_ROUTE_bend_report_generate_mil98_report (查看源代码)
 
定义在: uf_route.h
 
概述
This function takes the data returned from a call to
UF_ROUTE_bend_report_get_segment_info, and returns a data structure containing
the bend report information in the MIL98 format.
Call UF_ROUTE_bend_report_free_mil98_report to free up the returned data.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_generate_mil98_report
(
UF_ROUTE_bend_segment_info_p_t bend_segs,
UF_ROUTE_bend_report_mil98_p_t * mil98_data
)
UF_ROUTE_bend_segment_info_p_tbend_segsInput(输入)Stock bend info
UF_ROUTE_bend_report_mil98_p_t *mil98_dataOutput to be freed
输出并释放
MIL98 bend report

 


 
UF_ROUTE_bend_report_generate_xyz_report (查看源代码)
 
定义在: uf_route.h
 
概述
This function takes the data returned from a call to
UF_ROUTE_bend_report_get_segment_info, and returns a data structure containing
the bend report information in the XYZ format.
Call UF_ROUTE_bend_report_free_xyz_report to free up the returned data.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_generate_xyz_report
(
UF_ROUTE_bend_segment_info_p_t bend_segs,
UF_ROUTE_bend_report_xyz_p_t * xyz_data
)
UF_ROUTE_bend_segment_info_p_tbend_segsInput(输入)Stock bend info.
UF_ROUTE_bend_report_xyz_p_t *xyz_dataOutput to be freed
输出并释放
XYZ bend report

 


 
UF_ROUTE_bend_report_generate_ybc_report (查看源代码)
 
定义在: uf_route.h
 
概述
This function takes the data returned from a call to
UF_ROUTE_bend_report_get_segment_info, and returns a data structure containing
the bend report information in the YBC format.
Call UF_ROUTE_bend_report_free_ybc_report to free up the returned data.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_generate_ybc_report
(
UF_ROUTE_bend_segment_info_p_t bend_segs,
UF_ROUTE_bend_report_ybc_p_t * ybc_data
)
UF_ROUTE_bend_segment_info_p_tbend_segsInput(输入)Stock bend info.
UF_ROUTE_bend_report_ybc_p_t *ybc_dataOutput to be freed
输出并释放
YBC bend report

 


 
UF_ROUTE_bend_report_get_segment_info (查看源代码)
 
定义在: uf_route.h
 
概述
This function initializes a bend segment info structure with the
bend data from a given solid body, segment or stock tag.
Call UF_ROUTE_bend_report_free_segment_info to free up the bend_segs structure.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_get_segment_info
(
tag_t pipe_tag,
UF_ROUTE_bend_segment_info_p_t * bend_segs
)
tag_t (tag_t类型)pipe_tagInput(输入)Segment, solid body, or stock tag
UF_ROUTE_bend_segment_info_p_t *bend_segsOutput to be freed
输出并释放
Stock bend info.

 


 
UF_ROUTE_bend_report_reverse_direction (查看源代码)
 
定义在: uf_route.h
 
概述
This function reverses the order of bends in a stock bend info structure.
Call UF_ROUTE_bend_report_free_segment_info to free up the
reversed_bend_segs structure.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_bend_report_reverse_direction
(
UF_ROUTE_bend_segment_info_p_t bend_segs,
UF_ROUTE_bend_segment_info_p_t * reversed_bend_segs
)
UF_ROUTE_bend_segment_info_p_tbend_segsInput(输入)Stock bend info
UF_ROUTE_bend_segment_info_p_t *reversed_bend_segsOutput to be freed
输出并释放
Stock bend info in reverse order

 


 
UF_ROUTE_calc_abs_minmax_box (查看源代码)
 
定义在: uf_route.h
 
概述
Return the absolute min-max box that contains all the entities
in the view.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_calc_abs_minmax_box
(
tag_t dwg_view,
double box [ 6 ]
)
tag_t (tag_t类型)dwg_viewInput(输入)View tag
double (实数型)box [ 6 ] Output(输出)Absolute coordinates of the min_x,
max_x, min_y, max_y, min_z, max_z

 


 
UF_ROUTE_check_design_rules (查看源代码)
 
定义在: uf_route.h
 
概述
Executes design rules based upon the given mode and reason.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_check_design_rules
(
int mode,
int reason,
int num_objects,
tag_t * objects,
int * num_violations,
tag_t * * violations
)
int (整数型)modeInput(输入)Design rule mode
int (整数型)reasonInput(输入)Design rule reason.
int (整数型)num_objectsInput(输入)Number of objects to check (can be 0)
tag_t * (tag_t型的指针)objectsInput(输入)Tags of objects to check
int * (整数型指针)num_violationsOutput(输出)The number of violations generated by the
check.
tag_t * *violationsOutput to be freed
输出并释放
The tags of the violations. To be freed
using UF_free.

 


 
UF_ROUTE_check_min_bend_radius (查看源代码)
 
定义在: uf_route.h
 
概述
Executes the Routing minimum bend radius design rule.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_check_min_bend_radius
(
tag_t rule,
char * coefficient,
UF_ROUTE_design_rule_data_p_t rule_data
)
tag_t (tag_t类型)ruleInput(输入)Tag of the rule to be checked
char * (字符型指针)coefficientInput(输入)Name of the user preference which
specifies the minimum bend ratio
UF_ROUTE_design_rule_data_p_trule_dataInput(输入)Design Rule data

 


 
UF_ROUTE_check_min_str_length (查看源代码)
 
定义在: uf_route.h
 
概述
Executes the Routing minimum straight length design rule.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_check_min_str_length
(
tag_t rule,
char * coefficient,
UF_ROUTE_design_rule_data_p_t rule_data
)
tag_t (tag_t类型)ruleInput(输入)Tag of the rule to be checked
char * (字符型指针)coefficientInput(输入)Name of the user preference which
specifies the minimum straight length
coefficient
UF_ROUTE_design_rule_data_p_trule_dataInput(输入)Design Rule data

 


 
UF_ROUTE_compute_stock_length (查看源代码)
 
定义在: uf_route.h
 
概述
Computes the length of the stock object.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_compute_stock_length
(
tag_t stock,
double * total_path_length
)
tag_t (tag_t类型)stockInput(输入)Tag of stock object
double * (实数型指针)total_path_lengthOutput(输出)Length of stock

 


 
UF_ROUTE_connect_port (查看源代码)
 
定义在: uf_route.h
 
概述
Attempts to connect a port to other available ports.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_connect_port
(
tag_t port,
tag_t * connection
)
tag_t (tag_t类型)portInput(输入)Tag of port
tag_t * (tag_t型的指针)connectionOutput(输出)Tag of connection (or NULL_TAG)

 


 
UF_ROUTE_convert_to_stock_as_components (查看源代码)
 
定义在: uf_route.h
 
概述
This function is used to convert the work part from a old-style stock part
(stock in the work part) to a new-style stock as components part (stock
created in components).

The part specified is the part to convert, if a NULL_TAG is passed in then
the work part is converted. The convert_subcomponents argument causes
the conversion function to be called recursively on all
subcomponents of the part being converted. The permanent_stock argument
causes the all stock components that were created by the conversion to
have the STOCK_COMPONENT_NAME user exit applied to each one, and the
name of the stock component changed. The reuse_stock argument causes
all stock components to have the the UF_ROUTE_reuse_stock_part call
applied to each of them.

环境
Internal and External

历史
Released in V19.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_convert_to_stock_as_components
(
tag_t part,
logical convert_subcomponents,
logical permanent_stock,
logical reuse_stock
)
tag_t (tag_t类型)partInput(输入)Part to convert
logicalconvert_subcomponentsInput(输入)TRUE - convert all sub-assemblies of part,
FALSE - convert only the given part
logicalpermanent_stockInput(输入)TRUE - call STOCK_COMPONENT_NAME plugin on each stock
FALSE - only call STOCK_COMPONENT_TEMP_NAME plugin
logicalreuse_stockInput(输入)TRUE - call STOCK_COMPONENT_LOOKUP plugin on each stock,
FALSE - dont attempt to reuse stocks

 


 
UF_ROUTE_create_anchor_from_pnt (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a new anchor associative to the position of an existing point.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_anchor_from_pnt
(
tag_t object_in_part,
tag_t ref_point,
tag_t * anchor
)
tag_t (tag_t类型)object_in_partInput(输入)Object in part to create new anchor
NULL_TAG = work part
tag_t (tag_t类型)ref_pointInput(输入)Tag of point object
tag_t * (tag_t型的指针)anchorOutput(输出)Tag of new anchor

 


 
UF_ROUTE_create_anchor_from_pos (查看源代码)
 
定义在: uf_route.h
 
概述
Creates an anchor given a set of coordinates.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_anchor_from_pos
(
tag_t object_in_part,
double point_pos [ 3 ] ,
tag_t * anchor
)
tag_t (tag_t类型)object_in_partInput(输入)Tag of object in part to create new object
NULL_TAG = work part
double (实数型)point_pos [ 3 ] Input(输入)Absolute position to create anchor
tag_t * (tag_t型的指针)anchorOutput(输出)Tag of created anchor

 


 
UF_ROUTE_create_bend_by_radius (查看源代码)
 
定义在: uf_route.h
 
概述
Assigns a Bend corner with the given radius to the input object. If the
input object is the RCP, corner, or Segment associated with an existing
bend corner, the corner and associated Segment is updated with the
new radius. If the assignment is to an RCP or Corner of a Miter
corner, the old corner is removed and a new Bend corner is created.

环境
内部和外部

参见
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_bend_by_radius
(
tag_t obj_id,
double radius,
tag_t * corner,
tag_t * seg
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of an existing RCP, or a
Bend segment or a Corner.
double (实数型)radiusInput(输入)Radius of the Bend Corner.
tag_t * (tag_t型的指针)cornerOutput(输出)Object identifier of the newly created
Corner.
tag_t * (tag_t型的指针)segOutput(输出)Object identifier of the Bend corner
segment.

 


 
UF_ROUTE_create_bend_by_ratio (查看源代码)
 
定义在: uf_route.h
 
概述
Assigns a Bend corner. The radius for the bend is determined by
multiplying the given ratio times the diameter of the stock. The
stock's diameter is determined from a characteristic assigned to the
Stock Data object associated with the stock. The characteristic title
should be that returned by routine UF_ROUTE_ask_app_view_diameter.

If the input object is the RCP, corner, or Segment associated with an
existing bend corner, the corner and associated Segment is updated
with the new radius. If the assignment is to an RCP or Corner of a
Miter corner, the old corner is removed and a new Bend corner is
created.

环境
内部和外部

参见
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_bend_by_ratio
(
tag_t obj_id,
double ratio,
tag_t * corner,
tag_t * seg
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of an existing RCP, or a
Bend segment or a Corner.
double (实数型)ratioInput(输入)Ratio of stock diameter to bend radius
assigned to the Bend corner.
tag_t * (tag_t型的指针)cornerOutput(输出)Object identifier of the newly created
Corner.
tag_t * (tag_t型的指针)segOutput(输出)Object identifier of the Bend corner
segment.

 


 
UF_ROUTE_create_bend_by_table (查看源代码)
 
定义在: uf_route.h
 
概述
This function will create a bend corner at the given junction. The parameters
of the corner are gotten from the given table name and the (largest)
diameter stock at the junction. If a corner already exists, it will be removed/
modified to the new type.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_bend_by_table
(
tag_t obj_id,
char * table,
tag_t * corner,
tag_t * seg
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of an existing RCP, or a
Bend segment or a Corner.
char * (字符型指针)tableInput(输入)Table name to pull radius from.
tag_t * (tag_t型的指针)cornerOutput(输出)Object identifier of the newly created
Corner.
tag_t * (tag_t型的指针)segOutput(输出)Object identifier of the Bend corner
segment.

 


 
UF_ROUTE_create_built_in_path (查看源代码)
 
定义在: uf_route.h
 
概述
Create a new built-in path in a routing part.

环境
Internal and External

历史
New in V17
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_built_in_path
(
tag_t part,
int num_objs,
tag_t * objs,
char * name,
tag_t * bip_tag
)
tag_t (tag_t类型)partInput(输入)Tag of part containing curves. When a NULL_TAG is passed,
built-in path will be created in current work part
int (整数型)num_objsInput(输入)Number of curves in path
tag_t * (tag_t型的指针)objsInput(输入)Array of curve tags
char * (字符型指针)nameInput(输入)Built-in path name. This can be NULL.
tag_t * (tag_t型的指针)bip_tagOutput(输出)Tag of built-in path created

 


 
UF_ROUTE_create_cross_section (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a Routing Cross Section object

A Cross Section object defines the set of "profile" curves that
are swept along a Routing path to represent the "stock", i.e.,
pipe, wire, tube, etc. These curves should be defined to be
in the XY plane, centered about the origin. A copy of the curves
is transformed to the start of the set of segments for a stock
and then swept along the segments to model the stock.

环境
内部和外部

历史
Original release was in V18.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_cross_section
(
tag_t object_in_part,
int style,
tag_t exprs [ ] ,
int num_curves,
tag_t curves [ ] ,
tag_t * cross
)
tag_t (tag_t类型)object_in_partInput(输入)Tag of an existing object which defines which
part the cross section will be created in
int (整数型)styleInput(输入)Routing stock style - one of
UF_ROUTE_STYLE_SIMPLE
UF_ROUTE_STYLE_DETAIL
tag_t (tag_t类型)exprs [ ] Input(输入)Tags of 2 expressions which define the offsets
to be applied to the curves when sweeping the
curves along the path. Positive offset is "away"
from the origin. Negative offset is "toward"
the origin.
int (整数型)num_curvesInput(输入)The number of curves in the "profile" or
"cross section"
tag_t (tag_t类型)curves [ ] Input(输入)Tags of the curves
tag_t * (tag_t型的指针)crossOutput(输出)Tag of the created cross section object

 


 
UF_ROUTE_create_design_rule_vio (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a design rule violation. This rule is most likely to be called
from a design rule checking function.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_design_rule_vio
(
tag_t rule,
char * short_description,
char * long_description,
int num_objects,
tag_t * objects,
tag_t * violation
)
tag_t (tag_t类型)ruleInput(输入)Tag of rule which has been violated.
char * (字符型指针)short_descriptionInput(输入)Terse description of the violation.
char * (字符型指针)long_descriptionInput(输入)Verbose description of the violation.
int (整数型)num_objectsInput(输入)Number of objects in violation
tag_t * (tag_t型的指针)objectsInput(输入)Array of objects in violation.
tag_t * (tag_t型的指针)violationOutput(输出)New violation object.

 


 
UF_ROUTE_create_iso_drawing (查看源代码)
 
定义在: uf_route.h
 
概述
Create an Isometric Drawing for the selected part

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_iso_drawing
(
tag_t part_tag
)
tag_t (tag_t类型)part_tagInput(输入)Tag of the part to be represented in the isometric
drawing.

 


 
UF_ROUTE_create_miter_corner (查看源代码)
 
定义在: uf_route.h
 
概述
Assigns a Miter corner to the input object. The assignment can
involve the removal of an existing Corner and the creation of a new
Corner.

环境
内部和外部

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_miter_corner
(
tag_t obj_id,
tag_t * corner
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of an existing RCP, or Bend
segment or a Miter Corner.
tag_t * (tag_t型的指针)cornerOutput(输出)Object identifier of the newly created Corner.

 


 
UF_ROUTE_create_multiport_from_position (查看源代码)
 
定义在: uf_route.h
 
概述
Function Name: UF_ROUTE_mig_create_multi_port

Function Description:
Create a multiport in the specified part.

环境
Internal

历史
Released in V20
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_multiport_from_position
(
tag_t part,
double position [ 3 ] ,
logical align_flag,
double align_vector [ 3 ] ,
logical fixture_port,
char * term_id,
tag_t * port_tag
)
tag_t (tag_t类型)partInput(输入)Tag of part to create port. When a NULL_TAG is passed,
port will be created in current work part
double (实数型)position [ 3 ] Input(输入)Position of port in absolute csys
logicalalign_flagInput(输入)Port alignment flag:
TRUE = Port uses an alignment vector.
FALSE = Port does not use an alignment vector.
double (实数型)align_vector [ 3 ] Input(输入)Alignment vector of port
logicalfixture_portInput(输入)Is the port a fixture port?
TRUE = Port is a fixture port.
FALSE = Port is not a fixture port.
char * (字符型指针)term_idInput(输入)Terminal Id
tag_t * (tag_t型的指针)port_tagOutput(输出)Tag of created port

 


 
UF_ROUTE_create_port_at_segend (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a port at the specified end of a segment. The position of the
port is associated with the end RCP. The alignment direction of the
port is associated with the slope of the segment at the end.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_port_at_segend
(
tag_t segment,
int segend,
logical rotate_flag,
tag_t * port
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment
int (整数型)segendInput(输入)End index (0 or 1)
logicalrotate_flagInput(输入)Does the port have a rotation vector?
tag_t * (tag_t型的指针)portOutput(输出)Tag of created port

 


 
UF_ROUTE_create_port_from_axis (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a port associative to an existing axis object. The port origin
corresponds to the AXIS origin, and the alignment vector corresponds
to the AXIS direction. The port is assumed to have no rotation
vector.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_port_from_axis
(
tag_t ref_axis,
tag_t * port
)
tag_t (tag_t类型)ref_axisInput(输入)Tag of reference AXIS
tag_t * (tag_t型的指针)portOutput(输出)Tag of created port

 


 
UF_ROUTE_create_port_from_csys (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a port using a coordinate system. The position of the
coordinate system defines the position of the port. The Z direction of
the coordinate system defines the alignment vector of the port, and
the Y direction of the coordinate system defines the rotation vector (if
rotate_flag == TRUE) of the port.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_port_from_csys
(
logical rotate_flag,
logical fixture_flag,
tag_t ref_csys,
tag_t * port
)
logicalrotate_flagInput(输入)Does the port have a rotation vector?
TRUE = Has a rotation vector
FALSE = Does not have a rotation vector.
logicalfixture_flagInput(输入)Is the port a fixture port?
TRUE = Port is a fixture port.
FALSE = Port is not a fixture port.
tag_t (tag_t类型)ref_csysInput(输入)Reference coordinate system
tag_t * (tag_t型的指针)portOutput(输出)Tag of created port

 


 
UF_ROUTE_create_port_lock (查看源代码)
 
定义在: uf_route.h
 
概述
This function locks two components together using mating conditions.
The given port occurrence is a port that is connected to a port that
is part of another component. The component of the passed in port
is the from (or child) of the mating condition. The lock rotation
flag indicates whether or not the child component will be able to
rotate.

If an error occurs, UF_ROUTE_err_invalid_port_mate will be returned.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_port_lock
(
tag_t from_port_occ,
logical lock_rotation
)
tag_t (tag_t类型)from_port_occInput(输入)From (child) port occurrence tag.
logicallock_rotationInput(输入)Lock rotation.

 


 
UF_ROUTE_create_rcp_arc_center (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a new RCP at the center of the given arc or circular edge.
This RCP is derived from the given curve and moves if the curve is
moved. If a previously created RCP exists at this location, it is
returned.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_arc_center
(
tag_t arc,
tag_t * new_rcp
)
tag_t (tag_t类型)arcInput(输入)Object identifier of an existing arc or circular edge.
tag_t * (tag_t型的指针)new_rcpOutput(输出)Object identifier of the newly created RCP. In case
an RCP exists at this location then the object
identifier of this RCP is returned.

 


 
UF_ROUTE_create_rcp_at_port (查看源代码)
 
定义在: uf_route.h
 
概述
Creates an RCP whose position is associatively defined by an existing
port.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_at_port
(
tag_t port,
tag_t * new_rcp,
logical check_existing_rcp,
logical * found_existing_rcp
)
tag_t (tag_t类型)portInput(输入)Tag of reference port
tag_t * (tag_t型的指针)new_rcpOutput(输出)tag of created/found RCP
logicalcheck_existing_rcpInput(输入)TRUE = use existing RCP at specified position
FALSE = always create a new RCP
logical *found_existing_rcpOutput(输出)TRUE = existing RCP found and used
FALSE = new RCP was created

 


 
UF_ROUTE_create_rcp_by_wcs_off (查看源代码)
 
定义在: uf_route.h
 
概述
Creates (or finds) and RCP at the position derived by specifying an
existing RCP or port plus a wcs offset from that port.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_by_wcs_off
(
tag_t object,
double offset [ 3 ] ,
tag_t * new_rcp,
logical check_existing_rcp,
logical * found_existing_rcp
)
tag_t (tag_t类型)objectInput(输入)Reference RCP or port( in the work part )
double (实数型)offset [ 3 ] Input(输入)Offset in absolute WCS
tag_t * (tag_t型的指针)new_rcpOutput(输出)Tag of new or found RCP
logicalcheck_existing_rcpInput(输入)TRUE = use existing RCP at specified position
FALSE = always create a new RCP
logical *found_existing_rcpOutput(输出)TRUE = existing RCP found and used
FALSE = new RCP was created

 


 
UF_ROUTE_create_rcp_by_work_pos (查看源代码)
 
定义在: uf_route.h
 
概述
Creates (or finds) an RCP at a work position in the WCS.

环境
内部和外部

参见
UF_ROUTE_create_rcp_position
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_by_work_pos
(
double work_pos [ 3 ] ,
tag_t * new_rcp,
logical check_existing_rcp,
logical * found_existing_rcp
)
double (实数型)work_pos [ 3 ] Input(输入)Position in absolute work part coords
tag_t * (tag_t型的指针)new_rcpOutput(输出)Tag of created RCP
logicalcheck_existing_rcpInput(输入)TRUE = use existing RCP at specified position
FALSE = always create a new RCP
logical *found_existing_rcpOutput(输出)TRUE = existing RCP found and used
FALSE = new RCP was created

 


 
UF_ROUTE_create_rcp_curve_parm (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a new RCP at a point corresponding to the given parameter
value along the given curve. If a previously created RCP exists at this
location, it is returned.

This routine should be used to create the RCPs at the ends of any
Segment which you create using UF_ROUTE_create_seg_on_curve.
This is to insure that if the curve is transformed or moved, both the
Segment and its RCPs also move with the curve.

环境
内部和外部

参见
UF_ROUTE_create_seg_on_curve
Refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_curve_parm
(
tag_t curve,
double parm,
tag_t * new_rcp
)
tag_t (tag_t类型)curveInput(输入)Object identifier of an existing curve.
double (实数型)parmInput(输入)Normalized curve parameter at which to create the
RCP. The value should be between 0 and 1,
inclusive.
tag_t * (tag_t型的指针)new_rcpOutput(输出)Object identifier of the newly created RCP. The
RCP location is derived from the given curve and
parameter and the RCP's position updates if the
curve is moved. In case an RCP exists at this
location then the object identifier of this RCP is
returned.

 


 
UF_ROUTE_create_rcp_on_rcp (查看源代码)
 
定义在: uf_route.h
 
概述
Creates an RCP in the work part whose position is associative to an
occurrence of an RCP.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_on_rcp
(
tag_t occ_rcp,
tag_t * new_rcp,
logical check_existing_rcp,
logical * found_existing_rcp
)
tag_t (tag_t类型)occ_rcpInput(输入)Tag of reference rcp occurrence
tag_t * (tag_t型的指针)new_rcpOutput(输出)Tag of created/found RCP
logicalcheck_existing_rcpInput(输入)TRUE = use existing RCP at specified position
FALSE = always create a new RCP
logical *found_existing_rcpOutput(输出)TRUE = existing RCP found and used
FALSE = new RCP was created

 


 
UF_ROUTE_create_rcp_point (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a new RCP attached to the existing point if no previous RCP
exists at this location. Else it returns the previously created RCP.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_point
(
tag_t point,
tag_t * new_rcp
)
tag_t (tag_t类型)pointInput(输入)Object identifier of an existing point.
tag_t * (tag_t型的指针)new_rcpOutput(输出)Object identifier of the newly created RCP at this
point. The RCP location is derived from this point
at each update. In case an RCP exists at this
location then the object identifier of this RCP is
returned.

 


 
UF_ROUTE_create_rcp_position (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a new RCP at the given location if no previous RCP exists.
If an RCP already exists it returns the previously created RCP.

环境
内部和外部

参见
UF_ROUTE_create_rcp_by_work_pos
Refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_rcp_position
(
double pos [ 3 ] ,
tag_t * new_rcp
)
double (实数型)pos [ 3 ] Input(输入)Location of RCP in absolute display coords.
tag_t * (tag_t型的指针)new_rcpOutput(输出)Object identifier of the newly created RCP
at this location. In case an RCP exists at
this location then the object identifier of
this RCP is returned

 


 
UF_ROUTE_create_round_cross_section (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a Round Routing Cross Section object

This is a simplified version of the UF_ROUTE_create_cross_section routine
which will create a cross section consisting of a single curve (a circle
of the specified diameter).

环境
内部和外部

历史
Original release was in V18.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_round_cross_section
(
tag_t object_in_part,
int style,
double diameter,
char * offsets [ 2 ] ,
tag_t * cross
)
tag_t (tag_t类型)object_in_partInput(输入)Tag of an existing object which defines which
part the cross section will be created in
int (整数型)styleInput(输入)Routing stock style - one of
UF_ROUTE_STYLE_SIMPLE
UF_ROUTE_STYLE_DETAIL
double (实数型)diameterInput(输入)The diameter of the circle created
char * (字符型指针)offsets [ 2 ] Input(输入)Array of 2 strings which define the offsets
to be applied to the curves when sweeping the
curves along the path. Positive offset is "away"
from the origin. Negative offset is "toward"
the origin. Example, ".25" or "-.35". These are
used to create expressions and as such may be
any string that is valid for the right hand side
of an expression, e.g., "radius ( 3 / 16 )".
tag_t * (tag_t型的指针)crossOutput(输出)Tag of the created cross section object

 


 
UF_ROUTE_create_seg_on_curve (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a segment between two RCPs on the curve and follows its
profile. The RCPs supplied to this routine should be created with the
UF_ROUTE_create_rcp_curve_parm.

环境
内部和外部

参见
UF_ROUTE_create_rcp_curve_parm
Please refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_seg_on_curve
(
tag_t curve,
tag_t rcp1,
tag_t rcp2,
tag_t * new_segment
)
tag_t (tag_t类型)curveInput(输入)Object Identifier of the curve to follow
while creating the segment.
tag_t (tag_t类型)rcp1Input(输入)Object Identifier of the start RCP on the
curve.
tag_t (tag_t类型)rcp2Input(输入)Object Identifier of the end RCP on the
curve.
tag_t * (tag_t型的指针)new_segmentOutput(输出)Object identifier of newly created segment.

 


 
UF_ROUTE_create_seg_thru_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Creates a segment between two existing RCPs

环境
内部和外部

参见
Please refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_create_seg_thru_rcps
(
tag_t rcp1,
tag_t rcp2,
tag_t * new_segment
)
tag_t (tag_t类型)rcp1Input(输入)Object Identifier of the start RCP.
tag_t (tag_t类型)rcp2Input(输入)Object Identifier of the end RCP.
tag_t * (tag_t型的指针)new_segmentOutput(输出)Object identifier of newly created segment.

 


 
UF_ROUTE_delete_characteristics (查看源代码)
 
定义在: uf_route.h
 
概述
Deletes a list of characteristics from a given routing object.

环境
内部和外部

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_delete_characteristics
(
tag_t obj_id,
int charx_count,
UF_ROUTE_charx_p_t list
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of the routing object whose
characteristics needs to be deleted.
int (整数型)charx_countInput(输入)Number of characteristics to be deleted.
UF_ROUTE_charx_p_tlistInput(输入)List of characteristics to be deleted.

 


 
UF_ROUTE_delete_port_lock (查看源代码)
 
定义在: uf_route.h
 
概述
This function deletes a lock between two components. The passed in object
is the from (or child) port or part occurrence.

If an error occurs, UF_ROUTE_err_invalid_port_mate will be returned.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_delete_port_lock
(
tag_t from_occ
)
tag_t (tag_t类型)from_occInput(输入)child port occ, or part occ

 


 
UF_ROUTE_detach_segments (查看源代码)
 
定义在: uf_route.h
 
概述
Detach the segments from their follow curves by removing the associativity
between the segments and their follow curves, removing the associativity
between the guide curve and the follow curve, and either making their rcps
absolute or redefining them in terms of the follow curve of another segment
that we are not detaching

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_detach_segments
(
int segment_count,
tag_p_t segments
)
int (整数型)segment_countInput(输入)The number of segments to be detached
tag_p_tsegmentsInput(输入)An array of tags of the segments to be detached

 


 
UF_ROUTE_disconnect_port (查看源代码)
 
定义在: uf_route.h
 
概述
Disconnects the port from any connection which it may include.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_disconnect_port
(
tag_t port
)
tag_t (tag_t类型)portInput(输入)Port to disconnect

 


 
UF_ROUTE_enter_custom_app (查看源代码)
 
定义在: uf_route_ugopenint.h
 
概述
Enters a custom Routing application.

环境
Internal

参见
Please refer to the example

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_enter_custom_app
(
void
)

 


 
UF_ROUTE_exit_custom_app (查看源代码)
 
定义在: uf_route_ugopenint.h
 
概述
Exits a custom Routing application.

环境
Internal

参见
Please refer to the example

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_exit_custom_app
(
void
)

 


 
UF_ROUTE_extend_translator (查看源代码)
 
定义在: uf_route.h
 
概述
Adds a new TCL function to the active Routing TCL translator.
This function currently may only be called from a design rule. Also,
the new function is only active during the design rule invocation.
Each invocation of design rule checking has a NEW translator.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_extend_translator
(
char * tcl_name,
UF_ROUTE_tcl_proc_f_t func,
void * client_data
)
char * (字符型指针)tcl_nameInput(输入)Name of new TCL function
UF_ROUTE_tcl_proc_f_tfuncInput(输入)Function to call for given TCL function name
void *client_dataInput(输入)Pointer to data to pass to function

 


 
UF_ROUTE_find_part_in_path (查看源代码)
 
定义在: uf_route.h
 
概述
Finds the part described by the base name using the path appropriate
to the current path. When using interactive Routing, the path is
set based on the application view.

环境
内部和外部

参见
UF_ROUTE_set_part_search_path
UF_ROUTE_ask_part_search_path

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_find_part_in_path
(
char * part_name,
char * * path
)
char * (字符型指针)part_nameInput(输入)Base name of part to find
char * *pathOutput to be freed
输出并释放
Fully qualified name of part file. This must be freed
by calling UF_free.

 


 
UF_ROUTE_find_path (查看源代码)
 
定义在: uf_route.h
 
概述
Finds a path between two segments and returns an array of tags consisting
of the segments and part occurrences that make up the path. The array of
tags returned is in order from begin to end.

环境
Internal and External
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_find_path
(
tag_t begin,
tag_t end,
int * path_size,
tag_t * * path_data
)
tag_t (tag_t类型)beginInput(输入)The tag of the segment at the beginning of the path
tag_t (tag_t类型)endInput(输入)The tag of the segment at the end of the path
int * (整数型指针)path_sizeOutput(输出)The size of the path; the number of tags in path_data
tag_t * *path_dataOutput to be freed
输出并释放
The array of tags that represent the path. Use UF_free
to deallocate memory when no longer needed

 


 
UF_ROUTE_find_port_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Finds a Routing characteristic of the given title for the supplied
port occurrence. If the given port occurrence does not have the given
characteristic, the port's part occurrence is queried for the
characteristic.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_find_port_charx
(
char * charx_name,
int type,
tag_t port,
UF_ROUTE_charx_p_t charx
)
char * (字符型指针)charx_nameInput(输入)Name of the characteristic to be found
int (整数型)typeInput(输入)Type of the characteristic to be found, e.g.,
UF_ROUTE_CHARX_TYPE_INT
tag_t (tag_t类型)portInput(输入)Tag of the port occurrence to be queried
UF_ROUTE_charx_p_tcharxOutput(输出)Address of charx structure (allocated by the
caller) which will be filled in with the value
of the characteristic.

 


 
UF_ROUTE_find_terminal_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Find the characteristic of specified type and name
for the given terminal port. The characteristic is
looked for in the following order:
1) input terminal tag
2) the terminal's prototype if the input terminal is an occurrence.
3) the terminal's multiport
4) the terminal's part occurrence

环境
内部和外部

历史
Released in V17.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_find_terminal_charx
(
char * charx_name,
int charx_type,
tag_t terminal,
UF_ROUTE_charx_p_t charx
)
char * (字符型指针)charx_nameInput(输入), the name of the charx to search for
int (整数型)charx_typeInput(输入), the type of the charx
tag_t (tag_t类型)terminalInput(输入), the tag of the terminal port being asked
UF_ROUTE_charx_p_tcharxOutput(输出), the desired charx

 


 
UF_ROUTE_find_terminal_port (查看源代码)
 
定义在: uf_route.h
 
概述
Finds the terminal port on the given multiport

返回
TRUE if a terminal or virtual port is found, else FALSE

环境
Internal and External

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

 
logical UF_ROUTE_find_terminal_port
(
tag_t multi,
char * id,
tag_t * tag
)
tag_t (tag_t类型)multiInput(输入)Multiport to search
char * (字符型指针)idInput(输入)ID of the terminal port
tag_t * (tag_t型的指针)tagOutput(输出)Pointer to tag of a terminal port, if found.

 


 
UF_ROUTE_find_title_in_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Finds the index of the charx whose title matches the title passed in. If
the index is -1 the title was not found in the charx.

环境
Internal and External

历史
New in V17
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_find_title_in_charx
(
int num_charx,
UF_ROUTE_charx_p_t charx,
char* title,
int* index
)
int (整数型)num_charxInput(输入)number of charx
UF_ROUTE_charx_p_tcharxInput(输入)array of charx to search
char*titleInput(输入)title to search for
int*indexOutput(输出)Index into charx that matches title

 


 
UF_ROUTE_free_array_of_tag_lists (查看源代码)
 
定义在: uf_route.h
 
概述
This routine will free the memory associated with a variable length array
of pointers to UF_ROUTE_tag_list_t structures. Returns an error code if any
occurs, during the operation.

环境
Internal and External

历史
New in V17
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_free_array_of_tag_lists
(
int num_tag_lists,
UF_ROUTE_tag_list_p_t * array_of_tag_lists
)
int (整数型)num_tag_listsInput(输入)Number of tag_lists in
the array to be freed
UF_ROUTE_tag_list_p_t *array_of_tag_listsInput(输入)Array of tag_lists to
be freed

 


 
UF_ROUTE_free_charx_array (查看源代码)
 
定义在: uf_route.h
 
概述
This function frees the allocated charx array. Must use after every
call to UF_ROUTE_ask_characteristics

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_free_charx_array
(
int num_charx,
UF_ROUTE_charx_p_t charx_list
)
int (整数型)num_charxInput(输入)Number of Charx values
UF_ROUTE_charx_p_tcharx_listInput(输入)Array of the characteristics

 


 
UF_ROUTE_free_match_results (查看源代码)
 
定义在: uf_route.h
 
概述
Frees the memory associated with the result of a part library match.
These values should not have been changed since being returned from
the match function (UF_ROUTE_match_charx_in_plib).

环境
内部和外部

参见
UF_ROUTE_match_charx_in_plib

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_free_match_results
(
int num_matches,
UF_ROUTE_part_lib_part_p_t matches
)
int (整数型)num_matchesInput(输入)Number of matches to be freed
UF_ROUTE_part_lib_part_p_tmatchesInput(输入)Array of matches to be freed

 


 
UF_ROUTE_free_places (查看源代码)
 
定义在: uf_route.h
 
概述
This routine should be used to free the data returned by the
UF_ROUTE_solve_places routine.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_free_places
(
int num_places,
UF_ROUTE_place_solution_p_t * places
)
int (整数型)num_placesInput(输入)number of "places" entries
UF_ROUTE_place_solution_p_t *placesInput(输入)array of placement objects

 


 
UF_ROUTE_free_user_prefs_data (查看源代码)
 
定义在: uf_route.h
 
概述
Frees all data associated with a user preferences query.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_free_user_prefs_data
(
int n_prefs,
UF_ROUTE_user_preference_p_t prefs
)
int (整数型)n_prefsInput(输入)Number of preferences in data
UF_ROUTE_user_preference_p_tprefsInput(输入)User preference data to free.

 


 
UF_ROUTE_get_next_connections (查看源代码)
 
定义在: uf_route.h
 
概述
UF_ROUTE_get_next_connections

DESCRIPTION:
Determine next set of connected objects to traverse from a given rcp or
port occurrence (curr_conn), excluding objects based on current part
occurrence or segment (curr_obj).

环境
Internal and External

历史
Released in NX
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_get_next_connections
(
tag_t curr_conn,
tag_t curr_obj,
int * num_conns,
tag_t * * next_conns,
tag_t * * next_objs
)
tag_t (tag_t类型)curr_connInput(输入)object to traverse (rcp or port occurrence)
tag_t (tag_t类型)curr_objInput(输入)part occurrence, or segment to exclude in traversal
(may be NULL_TAG). This is the object traversed in
order to get to the current traversal object.
int * (整数型指针)num_connsOutput(输出)number of connected objects
tag_t * *next_connsOutput to be freed
输出并释放
array of connected objects.
Will NOT contain any NULL_TAGs. Use UF_free() to free.
tag_t * *next_objsOutput to be freed
输出并释放
array of segments or part occurrences. Can have NULL_TAGs.
These are the objects to traverse in order to get to the
next set of connections. Use UF_free() to free.

 


 
UF_ROUTE_init_custom_app (查看源代码)
 
定义在: uf_route_ugopenint.h
 
概述
Initializes a Routing custom application.

环境
Internal

参见
Please refer to the example

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_init_custom_app
(
void
)

 


 
UF_ROUTE_is_part_anchor (查看源代码)
 
定义在: uf_route.h
 
概述
Determine if the supplied object is a Routing anchor.

环境
内部和外部

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

 
int UF_ROUTE_is_part_anchor
(
tag_t object,
logical * is_anchor
)
tag_t (tag_t类型)objectInput(输入)Object to query.
logical *is_anchorOutput(输出)True if the object is a Routing part anchor; false otherwise

 


 
UF_ROUTE_is_part_fabrication (查看源代码)
 
定义在: uf_route.h
 
概述
Determines if the given part is a Routing fabrication part.

环境
内部和外部

参见
UF_ROUTE_ask_part_part_type

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

 
int UF_ROUTE_is_part_fabrication
(
tag_t fab_part,
logical * fab
)
tag_t (tag_t类型)fab_partInput(输入)The tag of part or part occurrence to be inquired.
logical *fabOutput(输出)Logical set to TRUE if the part is a Routing
fabrication part and FALSE otherwise.

 


 
UF_ROUTE_is_part_occ_route_part (查看源代码)
 
定义在: uf_route.h
 
概述
Returns True if the given part occurrence is a part occurrence of a
Routing part. A part is considered a Routing part if a Routing object,
for example, an RCP, or Port, or Segment, etc., exists in the part.

返回
Return code:
True = The object is a routing part occ that
contains one or more routing objects.
False = The object occurrence is not a routing
part.

环境
内部和外部

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

 
logical UF_ROUTE_is_part_occ_route_part
(
tag_t obj_id
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of the routing part occurrence
object.

 


 
UF_ROUTE_is_port_connected (查看源代码)
 
定义在: uf_route.h
 
概述
Ask the if port is connected.

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

 
int UF_ROUTE_is_port_connected
(
tag_t port_tag,
logical * is_connected
)
tag_t (tag_t类型)port_tagInput(输入)Tag of the port examined.
logical *is_connectedOutput(输出)true if connected else false

 


 
UF_ROUTE_is_port_fixture_port (查看源代码)
 
定义在: uf_route.h
 
概述
Determine if the supplied port is a fixture port. Fixture ports differ from
fitting ports in that they do not subdivide the segment upon which the part
containing the port is placed. They are used to model the "connection"
point of "fixture" type parts such as clamps or other support fixtures.

环境
内部和外部

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

 
int UF_ROUTE_is_port_fixture_port
(
tag_t port,
logical * is_fixture
)
tag_t (tag_t类型)portInput(输入)Port to query.
logical *is_fixtureOutput(输出)True if the port is a fixture port and false otherwise

 


 
UF_ROUTE_is_port_multi (查看源代码)
 
定义在: uf_route.h
 
概述
Query if a port is a multiport.

返回
TRUE if the port is a multiport
FALSE otherwise

环境
Internal and External

参见
UF_ROUTE_is_port_terminal

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

 
logical UF_ROUTE_is_port_multi
(
tag_t port
)
tag_t (tag_t类型)portInput(输入)tag of port to query

 


 
UF_ROUTE_is_port_terminal (查看源代码)
 
定义在: uf_route.h
 
概述
Query if a port is a terminal port.

返回
TRUE if the port is terminal
FALSE otherwise

环境
Internal and External

参见
UF_ROUTE_is_port_multi

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

 
logical UF_ROUTE_is_port_terminal
(
tag_t port
)
tag_t (tag_t类型)portInput(输入)tag of port to query

 


 
UF_ROUTE_is_rcp_bend_seg_rcp (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires whether the given RCP is an RCP on the end of a bend
segment. This is not the same as the bend RCP.

返回
Return code:
TRUE = RCP is on a bend segment
FALSE = RCP is not on a bend segment

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

 
logical UF_ROUTE_is_rcp_bend_seg_rcp
(
tag_t candidate,
tag_p_t corner
)
tag_t (tag_t类型)candidateInput(输入)Candidate RCP
tag_p_tcornerOutput(输出)Corner object or NULL_TAG

 


 
UF_ROUTE_is_rcp_miter_corner (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires whether the given RCP has a miter corner assigned to it.

返回
Return code:
TRUE = RCP has miter assigned
FALSE = RCP has no miter assigned

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

 
logical UF_ROUTE_is_rcp_miter_corner
(
tag_t rcp
)
tag_t (tag_t类型)rcpInput(输入)Tag of RCP

 


 
UF_ROUTE_is_segment (查看源代码)
 
定义在: uf_route.h
 
概述
UF_ROUTE_is_segment

DESCRIPTION:
Used to determine if an NX entity is a routing segment.

环境
Internal and External

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

 
int UF_ROUTE_is_segment
(
tag_t object,
logical * is_segment
)
tag_t (tag_t类型)objectInput(输入)entity to check
logical *is_segmentOutput(输出)Is entity a routing segment?

 


 
UF_ROUTE_is_segment_inside_part (查看源代码)
 
定义在: uf_route.h
 
概述
Inquires whether the segment is within the extent of the given part
occurrence.

环境
内部和外部

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

 
logical UF_ROUTE_is_segment_inside_part
(
tag_t segment,
tag_t part_occ
)
tag_t (tag_t类型)segmentInput(输入)Tag of segment
tag_t (tag_t类型)part_occInput(输入)Part occurrence

 


 
UF_ROUTE_is_stock_equal (查看源代码)
 
定义在: uf_route.h
 
概述
Tests whether two stock objects are equivalent. Two stock objects are
equivalent if they reference the same stock data, the same anchor, and
all characteristic values are equal.

返回
Return code:
TRUE = Stock objects are equivalent
FALSE = Stock objects are not equivalent

环境
内部和外部

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

 
logical UF_ROUTE_is_stock_equal
(
tag_t stock1,
tag_t stock2
)
tag_t (tag_t类型)stock1Input(输入)Tag of stock object
tag_t (tag_t类型)stock2Input(输入)Tag of stock object

 


 
UF_ROUTE_is_stock_interior (查看源代码)
 
定义在: uf_route.h
 
概述
Function Name: UF_ROUTE_is_stock_interior

Function Description: This function queries a stock to see if it is
"inside" any part in the current assembly. The stock is only
interior if it's segment(s) are interior to a part in the same
routing level.

环境
Internal and External

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

 
int UF_ROUTE_is_stock_interior
(
tag_t stock,
logical * is_interior
)
tag_t (tag_t类型)stockInput(输入)the tag of the stock to query
logical *is_interiorOutput(输出)TRUE if interior, else FALSE

 


 
UF_ROUTE_is_terminal_segment (查看源代码)
 
定义在: uf_route.h
 
概述
Ask a passed segment if it is a terminal segment.

环境
内部和外部

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

 
int UF_ROUTE_is_terminal_segment
(
tag_t segment,
logical * is_term
)
tag_t (tag_t类型)segmentInput(输入), the segment to query
logical *is_termOutput(输出), true if it is terminal

 


 
UF_ROUTE_is_wire_on_segment (查看源代码)
 
定义在: uf_route.h
 
概述
Returns true if the given wire traverses through the given segment.

环境
内部和外部

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

 
int UF_ROUTE_is_wire_on_segment
(
tag_t wire,
tag_t segment,
logical * on_seg
)
tag_t (tag_t类型)wireInput(输入), wire
tag_t (tag_t类型)segmentInput(输入), seg
logical *on_segOutput(输出), true if wire traverses segment

 


 
UF_ROUTE_load_app_view (查看源代码)
 
定义在: uf_route.h
 
概述
Loads an application view structure from a data file. It does not set
the Application View. Multiple Application Views may be loaded but
only one of them can be made current. Call
UF_ROUTE_set_current_app_view to set this Application View in the
session. Since memory is allocated in this function,
UF_ROUTE_unload_app_view must be called to free memory. Do
NOT use UF_free to free this memory.

If only a simple file name is specified in the filename variable, the
data file is looked for in:

UGII_ROUTING_APP_VIEW_DIR (An environment variable)
UGII_BASE_DIR/ugrouting/

环境
内部和外部

参见
UF_ROUTE_set_current_app_view
UF_ROUTE_unload_app_view

Please refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_load_app_view
(
char * filename,
UF_ROUTE_application_view_p_t * app_view
)
char * (字符型指针)filenameInput(输入)Name of the application view definition file.
UF_ROUTE_application_view_p_t *app_viewOutput to be freed
输出并释放
Filled application view data.
This must be freed by calling
UF_ROUTE_unload_app_view.

 


 
UF_ROUTE_load_app_view_list (查看源代码)
 
定义在: uf_route.h
 
概述
Load the list of application view descriptions.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_load_app_view_list
(
int * num_app_views,
UF_ROUTE_app_view_desc_p_t * app_views
)
int * (整数型指针)num_app_viewsOutput(输出)num_app_views - Number of application
views
UF_ROUTE_app_view_desc_p_t *app_viewsOutput to be freed
输出并释放
app_views - Allocated array of application
view descriptions (Array of Name/File
pair structures). This array should be
freed by calling UF_free.

 


 
UF_ROUTE_load_part_by_charx (查看源代码)
 
定义在: uf_route.h
 
概述
Loads the given part, or part family member if member name is
among the list of characteristics, into the current session. The part is
loaded but NOT made the current work part. The returned part tag
may subsequently be used by the Assembly functions to add this part
as a component to the assembly for later "placement" within the
routing.

If the part is already loaded the routine finds the part. If member
name is among the list of characteristics, the routine will establish it if
it is an instance of the part.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_load_part_by_charx
(
int num_charx,
UF_ROUTE_charx_t charx [ ] ,
tag_t * part
)
int (整数型)num_charxInput(输入)Number of characteristics.
UF_ROUTE_charx_tcharx [ ] Input(输入)Array of characteristics associated with a part
tag_t * (tag_t型的指针)partOutput(输出)Part tag of the loaded part or NULL_TAG if it
was not loaded.

 


 
UF_ROUTE_load_part_by_name (查看源代码)
 
定义在: uf_route.h
 
概述
Loads the given part, or part family member if member name is not
NULL, into the current session. The part is loaded but NOT made the
current work part. The returned part tag may subsequently be used by
the Assembly functions to add this part as a component to the
assembly for later "placement" within the routing.

环境
内部和外部

参见
UF_ROUTE_set_part_in_stock
For example Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_load_part_by_name
(
char * part_name,
char * member_name,
tag_t * part
)
char * (字符型指针)part_nameInput(输入)Name of the part to load. This may be the name
of a simple part file or the name of a Part
Family part.
char * (字符型指针)member_nameInput(输入)Part Family member name if the part specified
by part_name is a Part Family, else NULL.
tag_t * (tag_t型的指针)partOutput(输出)Part tag of the loaded part or NULL_TAG if it
was not loaded.

 


 
UF_ROUTE_load_stock_by_charx (查看源代码)
 
定义在: uf_route.h
 
概述
This function uses the supplied characteristics (charx) to
locate or retrieve the corresponding stock data. The structure
input to this function (specifying the stock charx) must contain
a PART_NAME charx and, if the part is a PART FAMILY part, the
MEMBER_NAME.

The output of a call to UF_ROUTE_match_charx_in_plib may be used
to load the UF_ROUTE_part_lib_part_p_t structure.

If stock matching the given charx already exists
within the work part, the tag of the stock data, anchor,
and cross section objects matching the charx, anchor name,
and style given as input will be returned.

If there is no stock data object in the work part matching
the supplied charx, the PART_NAME (and optionally MEMBER_NAME)
charx is used to locate the stock part.

The stock data information from this stock part is then
imported (retrieved) into the current work part and the
tag of the stock data object is returned. Also returned are
the tag of the anchor and cross section objects which match
the given anchor name and stock style.

In either situation, the stock data, anchor, and cross section
objects may then be used to assign stock of this type to segments
within the routing.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_load_stock_by_charx
(
UF_ROUTE_part_lib_part_p_t stock,
char * anchor_name,
int stock_style,
tag_t * stock_data_tag,
tag_t * anchor_tag,
tag_t * cross_tag
)
UF_ROUTE_part_lib_part_p_tstockInput(输入)Pointer to a UF_ROUTE_part_lib_part_p_t
structure filled in with the PART_NAME,
MEMBER_NAME, and other characteristics
corresponding to the stock to be used.
char * (字符型指针)anchor_nameInput(输入)the name of the anchor in the stock
data to be used. May be NULL.
int (整数型)stock_styleInput(输入)the stock style integer which
determines which cross section
of the stock data to use.One of:
UF_ROUTE_STYLE_NONE
UF_ROUTE_STYLE_SIMPLE
UF_ROUTE_STYLE_DETAIL
tag_t * (tag_t型的指针)stock_data_tagOutput(输出)the tag of the stock data object
tag_t * (tag_t型的指针)anchor_tagOutput(输出)the tag of the anchor object
tag_t * (tag_t型的指针)cross_tagOutput(输出)the tag of the cross section object

 


 
UF_ROUTE_load_stock_data (查看源代码)
 
定义在: uf_route.h
 
概述
Loads the stock data into the current part. The stock data tag can be
used to assign stocks to segments using UF_ROUTE_assign_stock.
Once the stock has been "loaded", several calls to
UF_ROUTE_assign_stock may be made (for various segments)
without the need to "load" another.

The Assembly Search Directory list, specified via the load_options.def
file or interactively through the File -->Options-->Load Options dialog,
is used to locate the part file for the stock.

环境
内部和外部

参见
UF_ROUTE_assign_stock
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_load_stock_data
(
char * part_name,
char * member_name,
int stock_style,
tag_t * stock_data_tag,
tag_t * anchor_tag,
tag_t * cross_tag
)
char * (字符型指针)part_nameInput(输入)Name of the stock part family.
char * (字符型指针)member_nameInput(输入)Name of the member part in the stock part
family or NULL if part_name is not a Part
Family.
int (整数型)stock_styleInput(输入)Stock style can have value of
UF_ROUTE_STYLE_NONE
UF_ROUTE_STYLE_SIMPLE or
UF_ROUTE_STYLE_DETAIL
tag_t * (tag_t型的指针)stock_data_tagOutput(输出)Object Identifier of the loaded stock_data.
tag_t * (tag_t型的指针)anchor_tagOutput(输出)Object Identifier of the anchor of the
stock.
tag_t * (tag_t型的指针)cross_tagOutput(输出)Object Identifier of the cross_section of
the stock.

 


 
UF_ROUTE_match_charx_in_plib (查看源代码)
 
定义在: uf_route.h
 
概述
Matches part entries in the part library based on the given set of
characteristics. If start is not NULL, it should be the name of the
node in the part library hierarchy at which to start the search.

环境
内部和外部

参见
UF_ROUTE_free_match_results

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_match_charx_in_plib
(
char * start,
int num_criteria,
UF_ROUTE_charx_p_t criteria,
int * num_matches,
UF_ROUTE_part_lib_part_p_t * matches
)
char * (字符型指针)startInput(输入)Name of the start node in the part
library view tree.
int (整数型)num_criteriaInput(输入)Number of characteristics being
matched
UF_ROUTE_charx_p_tcriteriaInput(输入)Array of match characteristics.
int * (整数型指针)num_matchesOutput(输出)Number of matches found.
UF_ROUTE_part_lib_part_p_t *matchesOutput to be freed
输出并释放
Array of matches. To be freed using
UF_ROUTE_free_match_results.

 


 
UF_ROUTE_merge_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Function to merge duplicate RCPs occurring at the same location.
The function will attempt to merge the coincident RCPs according to
Merge Rules. It will output the count and tags of RCPs remaining after the
merging. Any of the input objects that are not RCPs will be added to
the set of remaining objects.
All mergeable RCPs will be merged to the highest priority RCP determined
according to the merge rules - unless a preferred RCP is explicitly specified.
The function will not check to make sure that the RCPs to be merged lie at
the same location - it is the caller's responsibility to ensure that!. After
merging, the input list of RCP tags may contain tags of objects that no longer
exist - caller should free that list immediately after this function returns.
Returns a non-zero error code if any occurs, during the operation.
Note : Caller should perform a Model Update using UF_MODL_update() after
merging a set of RCPs to ensure data model consistency.


MERGE RULES
-----------
# The term Merging refers to the transfer of all dependencies (links) from one
object to another and the subsequent deletion of the obsoleted object.
# RCPs to be merged will be prioritized according to their derive methods and have
priority values defined as below
o Port (4) - i.e. derived from a port occurrence
o Point (3) - i.e. derived from smart points
o RCP (2) - i.e. derived from an existing RCP
o Absolute (1) - i.e. derived from absolute coordinates
# A Port RCP will have the highest priority and the Absolute derive method will
have the least.
# All duplicate RCPs occurring at a given location will be merged with the
highest priority RCP among them.
# Bend, Miter and Cope Corner RCPs cannot be merged together or with any other RCP type.
# Bend segment RCPs cannot be merged together or with any other RCP type.

------------------------------------------------------------------------------
| | PORT | POINT | RCP | ABSOLUTE |
|------------------------------------------------------------------------------
| PORT | o Merge | o Merge | o Merge | o Merge |
| | o Retain Port | o Retain Port | o Retain Port | o Retain Port |
|------------------------------------------------------------------------------|
| POINT | o Merge | o Merge | o Merge | o Merge |
| | o Retain Port | o Retain Point| o Retain Point| o Retain Point|
|------------------------------------------------------------------------------|
| RCP | o Merge | o Merge | o Merge | o Merge |
| | o Retain Port | o Retain Point| o Retain RCP | o Retain RCP |
|------------------------------------------------------------------------------|
| ABSOLUTE | o Merge | o Merge | o Merge | o Merge |
| | o Retain Port | o Retain Point| o Retain RCP | o Retain Abs. |
------------------------------------------------------------------------------|

环境
Internal and External

历史
New in V17
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_merge_rcps
(
int num_rcps,
tag_t * rcps,
tag_t preferred_rcp,
int * num_remaining,
tag_t * * remaining
)
int (整数型)num_rcpsInput(输入)Length of the array of
coincident RCPs to be merged.
tag_t * (tag_t型的指针)rcpsInput(输入)Array of coincident RCP tags to
be merged. Should be Prototype tags.
tag_t (tag_t类型)preferred_rcpInput(输入)If specified, all RCPs will be merged to
this RCP. If a NULL_TAG, the routine will
determine what gets retained according
to its merge rules. No merge will occur
if this object is not an RCP.
int * (整数型指针)num_remainingOutput(输出)Number of RCPs remaining
tag_t * *remainingOutput to be freed
输出并释放
RCPs remaining after merge operations,
including those that couldn't be merged
Free using UF_free

 


 
UF_ROUTE_register_custom_app (查看源代码)
 
定义在: uf_route_ugopenint.h
 
概述
Registers a Routing custom application. This routine should be
called just after UF_MB_register_application().

环境
Internal

参见
Please refer to the example

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_register_custom_app
(
int app_id
)
int (整数型)app_idInput(输入)Application ID for this application. This is returned
from UF_MB_register_application.

 


 
UF_ROUTE_remove_corner (查看源代码)
 
定义在: uf_route.h
 
概述
Removes the Corner, be it a Bend or a Miter.

环境
内部和外部

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_remove_corner
(
tag_t corner
)
tag_t (tag_t类型)cornerInput(输入)Object identifier of the Corner, Bend or
Miter.

 


 
UF_ROUTE_remove_seg_from_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Removes the given segment from all of the given stock objects.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_remove_seg_from_stock
(
tag_t seg,
int num_stock,
tag_t * stock
)
tag_t (tag_t类型)segInput(输入)Tag of segment
int (整数型)num_stockInput(输入)Count of stock objects
tag_t * (tag_t型的指针)stockInput(输入)Array of stock objects

 


 
UF_ROUTE_remove_stock (查看源代码)
 
定义在: uf_route.h
 
概述
Removes the stock from the given segments. The segments need not
belong to the same path. An update of routing objects is performed
after removal of the stock by this routine.

环境
内部和外部

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_remove_stock
(
int num_segs,
tag_t * segments
)
int (整数型)num_segsInput(输入)Number of segment objects.
tag_t * (tag_t型的指针)segmentsInput(输入)An array of segment objects.

 


 
UF_ROUTE_remove_terminal_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Remove terminal ports from the multiport

环境
Internal and External

参见
UF_ROUTE_remove_virtual_ports

历史
Originally released in V16.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_remove_terminal_ports
(
tag_t multi,
int num_terms,
tag_t * terms
)
tag_t (tag_t类型)multiInput(输入)multiport
int (整数型)num_termsInput(输入)Number of terminal ports
tag_t * (tag_t型的指针)termsInput(输入)Array of terminal port
tags

 


 
UF_ROUTE_remove_virtual_ports (查看源代码)
 
定义在: uf_route.h
 
概述
Remove virtual ports from the multiport

环境
Internal and External

参见
UF_ROUTE_remove_terminal_ports

历史
Originally released in V16.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_remove_virtual_ports
(
tag_t multi,
int num_terms,
char * * terms
)
tag_t (tag_t类型)multiInput(输入)multiport
int (整数型)num_termsInput(输入)Number of virtual ports
char * *termsInput(输入)Array of virtual ports
unique ids

 


 
UF_ROUTE_reuse_stock_part (查看源代码)
 
定义在: uf_route.h
 
概述
This function is used to replace a stock component with an equivalent stock
component. This functions main purpose is for component reuse with stock
parts.

The function first calls the user exit for finding a part for reuse, and
then replaces all instances in the work part, of that part with the returned part.
If no part is returned from the user exit then nothing is done.

The input to this function is the tag of the stock object.

环境
Internal and External

历史
Released in V19.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_reuse_stock_part
(
tag_t stock
)
tag_t (tag_t类型)stockInput(输入)Tag of the stock object.

 


 
UF_ROUTE_RUN_ask_from_items (查看源代码)
 
定义在: uf_route_run.h
 
概述
Retrieves the from items of a run. All from items are extracted ports.
Caller should free the array of from items

环境
内部和外部

参见
UF_free()

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

 
int UF_ROUTE_RUN_ask_from_items
(
tag_t run,
int * n_from_items,
tag_t * * from_items
)
tag_t (tag_t类型)runInput(输入)Run object to inquire
int * (整数型指针)n_from_itemsOutput(输出)number of from items
tag_t * *from_itemsOutput to be freed
输出并释放
array of from items.
All from items are extracted
ports. Must be freed with UF_free()

 


 
UF_ROUTE_RUN_ask_member_items (查看源代码)
 
定义在: uf_route_run.h
 
概述
Retrieves the member items of a run. All member items are either extracted
ports or route segments. Caller should free the array of member items.

环境
内部和外部

参见
UF_free()

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

 
int UF_ROUTE_RUN_ask_member_items
(
tag_t run,
int * n_member_items,
tag_t * * member_items
)
tag_t (tag_t类型)runInput(输入)Run object to inquire
int * (整数型指针)n_member_itemsOutput(输出)number of member items
tag_t * *member_itemsOutput to be freed
输出并释放
array of member items.
All member items are either
extracted ports or route segments
Must be freed with UF_free()

 


 
UF_ROUTE_RUN_ask_run_id_and_type (查看源代码)
 
定义在: uf_route_run.h
 
概述
Retrieves the run id and run type of a given run. Caller must free the
memory.

环境
内部和外部

参见
UF_free()

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

 
int UF_ROUTE_RUN_ask_run_id_and_type
(
tag_t run,
char * * run_id,
char * * run_type
)
tag_t (tag_t类型)runInput(输入)Run object to inquire
char * *run_idOutput to be freed
输出并释放
run_id of the run object, must be
freed with UF_free()
char * *run_typeOutput to be freed
输出并释放
run_type of run, must be
freed with UF_free

 


 
UF_ROUTE_RUN_ask_runs_in_part (查看源代码)
 
定义在: uf_route_run.h
 
概述
Retrieves all run objects in given part. Caller should free the run array.
If input part is NULL_TAG, current work part is assumed.

环境
内部和外部

参见
UF_free()

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

 
int UF_ROUTE_RUN_ask_runs_in_part
(
tag_t part,
int* n_runs,
tag_t* * runs
)
tag_t (tag_t类型)partInput(输入)Part to ask the run objects, if NULL_TAG,
current work part is assumed
int*n_runsOutput(输出)number of runs in the given part
tag_t* *runsOutput to be freed
输出并释放
array of runs. Must be freed with UF_free()

 


 
UF_ROUTE_RUN_ask_to_items (查看源代码)
 
定义在: uf_route_run.h
 
概述
Retrieves the to items of a run. All to items are extracted ports.
Caller should free the array of to items

环境
内部和外部

参见
UF_free()

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

 
int UF_ROUTE_RUN_ask_to_items
(
tag_t run,
int * n_to_items,
tag_t * * to_items
)
tag_t (tag_t类型)runInput(输入)Run object to inquire
int * (整数型指针)n_to_itemsOutput(输出)number of to items
tag_t * *to_itemsOutput to be freed
输出并释放
array of to items.
All to items are extracted
ports. Must be freed with UF_free()

 


 
UF_ROUTE_RUN_edit_run (查看源代码)
 
定义在: uf_route_run.h
 
概述
Edit a given run. From and To items must be extracted ports or rcps.
Member items must be extracted ports or route segments.

环境
Internal and External

历史
Released in NX3.0.2.3
 
需要许可证(S)
( routing_mechanical  or  routing_combined )

 
int UF_ROUTE_RUN_edit_run
(
tag_t run,
char* run_id,
char* run_type,
int n_from_items,
tag_t* from_items,
int n_to_items,
tag_t* to_items,
int n_member_items,
tag_t* member_items
)
tag_t (tag_t类型)runInput(输入)Run object to edit
char*run_idInput(输入)Run id of the run after edit
char*run_typeInput(输入)Run type of the run after edit
int (整数型)n_from_itemsInput(输入)Number of From items
tag_t*from_itemsInput(输入)Array of From items
int (整数型)n_to_itemsInput(输入)Number of To items
tag_t*to_itemsInput(输入)Array of To items
int (整数型)n_member_itemsInput(输入)Number of Member items
tag_t*member_itemsInput(输入)Array of Member items

 


 
UF_ROUTE_RUN_set_run_id (查看源代码)
 
定义在: uf_route_run.h
 
概述
Set the run id of given run.

环境
Internal and External

历史
Released in NX3.0.2.3
 
需要许可证(S)
( routing_mechanical  or  routing_combined  or  routing_combined )

 
int UF_ROUTE_RUN_set_run_id
(
tag_t run,
char* run_id
)
tag_t (tag_t类型)runInput(输入)Run to change the run id of
char*run_idInput(输入)New run id of the run

 


 
UF_ROUTE_RUN_set_run_type (查看源代码)
 
定义在: uf_route_run.h
 
概述
Set the run type of given run.

环境
Internal and External

历史
Released in NX3.0.2.3
 
需要许可证(S)
( routing_mechanical  or  routing_combined )

 
int UF_ROUTE_RUN_set_run_type
(
tag_t run,
char* run_type
)
tag_t (tag_t类型)runInput(输入)Existing valid run
char*run_typeInput(输入)New run type of the run

 


 
UF_ROUTE_set_built_in_path_objs (查看源代码)
 
定义在: uf_route.h
 
概述
Modify the curves in a built-in path

环境
Internal and External

历史
New in V17
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_built_in_path_objs
(
tag_t bip,
int num_objs,
tag_t * objs
)
tag_t (tag_t类型)bipInput(输入)Tag of built-in path
int (整数型)num_objsInput(输入)Number of built-in path curves
tag_t * (tag_t型的指针)objsInput(输入)Array of curve tags

 


 
UF_ROUTE_set_characteristics (查看源代码)
 
定义在: uf_route.h
 
概述
Sets the characteristics to the given routing object.

环境
内部和外部

参见
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_characteristics
(
tag_t obj_id,
int charx_count,
UF_ROUTE_charx_p_t list
)
tag_t (tag_t类型)obj_idInput(输入)Object identifier of the routing object.
int (整数型)charx_countInput(输入)Count of the characteristics.
UF_ROUTE_charx_p_tlistInput(输入)List of all characteristics.

 


 
UF_ROUTE_set_charx_env (查看源代码)
 
定义在: uf_route.h
 
概述
Replaces the current characteristic environment with the supplied set
of characteristics.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_charx_env
(
int num_charx,
UF_ROUTE_charx_t charx [ ]
)
int (整数型)num_charxInput(输入)Number of characteristics supplied
UF_ROUTE_charx_tcharx [ ] Input(输入)Array of characteristics supplied.

 


 
UF_ROUTE_set_current_app_view (查看源代码)
 
定义在: uf_route.h
 
概述
Sets the current Application View for the current session. This
function must be called after loading an Application View using
UF_ROUTE_load_app_view.

环境
内部和外部

参见
UF_ROUTE_load_app_view
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_current_app_view
(
UF_ROUTE_application_view_t * app_view
)
UF_ROUTE_application_view_t *app_viewInput(输入)Sets the current Application View and
remains active till set again. If the
current Application View is unloaded
reset the current Application View to
NULL.

 


 
UF_ROUTE_set_current_level (查看源代码)
 
定义在: uf_route.h
 
概述
Set the current routing level. The routing level is a character string
which determines which stock and fittings may be connected to one another.
Only stock and fittings (components) with the same routing level are
connected to one another.

环境
Internal and External

历史
New in V18
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_current_level
(
char * level
)
char * (字符型指针)levelInput(输入)The current (default) routing level to be
assigned to newly created stock or parts
added to the assembly

 


 
UF_ROUTE_set_object_level (查看源代码)
 
定义在: uf_route.h
 
概述
Set the routing level for the given object. The routing level is a
character string which determines which stock and fittings may be
connected to one another. Only stock and fittings (components) with the
same routing level are connected to one another.

环境
Internal and External

历史
New in V18
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_object_level
(
tag_t obj,
char * level
)
tag_t (tag_t类型)objInput(输入)Object identifier of the stock or fitting
whose routing level should be set
char * (字符型指针)levelInput(输入)Routing level

 


 
UF_ROUTE_set_part_in_stock (查看源代码)
 
定义在: uf_route.h
 
概述
This function "sets" the given part occurrence into the routing. This
routine determines which Segments the part occurrence lies upon and
matches any Ports from the part to these Segments. The Segments are
subdivided at these points and any stock along the Segments is
connected to the Ports of the part. The part should be placed at the
proper position and orientation using UF_ASSEM calls.

环境
内部和外部

参见
Please refer to the example

历史
Original release was in V13.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_part_in_stock
(
tag_t occ
)
tag_t (tag_t类型)occInput(输入)Occurrence id of the part in the current
work part.

 


 
UF_ROUTE_set_part_search_path (查看源代码)
 
定义在: uf_route.h
 
概述
Sets the tag of a search path.

环境
内部和外部

参见
UF_DIRPATH_create_from_env
UF_DIRPATH_create_from_dirs
UF_DIRPATH_append
UF_DIRPATH_append_from_dirs
UF_DIRPATH_append_from_env

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_part_search_path
(
tag_t dirpath
)
tag_t (tag_t类型)dirpathInput(输入)tag of search path

 


 
UF_ROUTE_set_port_back_extension (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the back extension value for a port.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_back_extension
(
tag_t port,
double ext
)
tag_t (tag_t类型)portInput(输入), the port
double (实数型)extInput(输入), the port extension

 


 
UF_ROUTE_set_port_back_extension_obj (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the back extension object for a port.
The object must be a UF_scalar_type.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_back_extension_obj
(
tag_t port,
tag_t ext
)
tag_t (tag_t类型)portInput(输入), the port
tag_t (tag_t类型)extInput(输入), the port back extension object

 


 
UF_ROUTE_set_port_clock_increment (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the clock angle increment value for a port.

环境
内部和外部

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_clock_increment
(
tag_t port,
double increment
)
tag_t (tag_t类型)portInput(输入)The port to modify.
double (实数型)incrementInput(输入)The increment of the clock angle.

 


 
UF_ROUTE_set_port_engagement (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the engagement value for a port.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_engagement
(
tag_t port,
double eng
)
tag_t (tag_t类型)portInput(输入), the port
double (实数型)engInput(输入), the port engagement

 


 
UF_ROUTE_set_port_engagement_obj (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the engagement object for a port.
The object must be a UF_scalar_type.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_engagement_obj
(
tag_t port,
tag_t eng
)
tag_t (tag_t类型)portInput(输入), the port
tag_t (tag_t类型)engInput(输入), the port engagement object

 


 
UF_ROUTE_set_port_extension (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the extension value for a port.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_extension
(
tag_t port,
double ext
)
tag_t (tag_t类型)portInput(输入), the port
double (实数型)extInput(输入), the port extension

 


 
UF_ROUTE_set_port_extension_obj (查看源代码)
 
定义在: uf_route.h
 
概述
This function sets the extension object for a port.
The object must be a UF_scalar_type.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_extension_obj
(
tag_t port,
tag_t ext
)
tag_t (tag_t类型)portInput(输入), the port
tag_t (tag_t类型)extInput(输入), the port extension object

 


 
UF_ROUTE_set_port_id (查看源代码)
 
定义在: uf_route.h
 
概述
UF_ROUTE_set_port_id

DESCRIPTION:
Used to set the unique id charx of given port.
Return value : 0 ==> OK, != 0 ==> Error
-2 ==> Illegal object type
-5 ==> Unique id charx of port assignment operation failure.

环境
Internal and External

历史
Released in NX
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_id
(
tag_t obj_id,
char * port_id
)
tag_t (tag_t类型)obj_idInput(输入)port object
char * (字符型指针)port_idInput(输入)unique id charx of port to be set

 


 
UF_ROUTE_set_port_lock_rotation_flag (查看源代码)
 
定义在: uf_route.h
 
概述
This function is used to set the lock rotation flag of a port lock.
If the passed in flag is true, and the ports involved in the lock
both have rotation vectors, then the child component will not be
able to rotate. If the flag is false, then the child component
of the lock will be able to rotate freely.

If an error occurs, UF_ROUTE_err_invalid_port_mate will be returned.

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_lock_rotation_flag
(
tag_t port_occ,
logical rotation_locked
)
tag_t (tag_t类型)port_occInput(输入)The FROM or TO port occurrence
logicalrotation_lockedInput(输入)Lock rotation flag.

 


 
UF_ROUTE_set_port_rot_by_point (查看源代码)
 
定义在: uf_route.h
 
概述
Sets the rotation vector of a port by passing a point at which the
rotation vector should point.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_port_rot_by_point
(
double pnt_pos [ 3 ] ,
tag_t port_tag
)
double (实数型)pnt_pos [ 3 ] Input(输入)Position for rotation
tag_t (tag_t类型)port_tagInput(输入)Tag of port

 


 
UF_ROUTE_set_stock_part_name (查看源代码)
 
定义在: uf_route.h
 
概述
This function is used to change the name of a stock component part.

环境
Internal and External

历史
Released in V19.0
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_stock_part_name
(
tag_t stock,
char* part_name
)
tag_t (tag_t类型)stockInput(输入)Tag of the stock object
char*part_nameInput(输入)New name of the stock component

 


 
UF_ROUTE_set_stock_style (查看源代码)
 
定义在: uf_route.h
 
概述
Allows stock style to be assigned to the stock of segments.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_stock_style
(
int new_style,
int num_stocks,
tag_t * stock_tags
)
int (整数型)new_styleInput(输入)New setting for the stock style. May be set
to:
UF_ROUTE_STYLE_NONE,
UF_ROUTE_STYLE_SIMPLE,
UF_ROUTE_STYLE_DETAIL
int (整数型)num_stocksInput(输入)Number of stock objects
tag_t * (tag_t型的指针)stock_tagsInput(输入)Array of stock tags for which style has to
be modified.

 


 
UF_ROUTE_set_user_preferences (查看源代码)
 
定义在: uf_route.h
 
概述
Sets the values of the user preferences.

环境
内部和外部

历史
Original release was in V14.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_set_user_preferences
(
int n_prefs,
UF_ROUTE_user_preference_p_t prefs
)
int (整数型)n_prefsInput(输入)Number of preferences to modify/add.
UF_ROUTE_user_preference_p_tprefsInput / OutputArray of preference structures.

 


 
UF_ROUTE_simplify_rcps (查看源代码)
 
定义在: uf_route.h
 
概述
Of the given RCPs, remove any that are unnecessary, i.e. they are
placed in a straight line with the adjacent RCPs.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_simplify_rcps
(
int count,
tag_t rcps [ ]
)
int (整数型)countInput(输入)Count of RCPs
tag_t (tag_t类型)rcps [ ] Input(输入)Array of RCPs

 


 
UF_ROUTE_simplify_segments (查看源代码)
 
定义在: uf_route.h
 
概述
Attempts to combine segments which are colinear and whose
intermediate rcp's do not branch.

环境
内部和外部

历史
Original release was in V15.0.
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_simplify_segments
(
int count,
tag_t segments [ ] ,
int * num_new_segments,
tag_t * * new_segments
)
int (整数型)countInput(输入)Count of segments passed
tag_t (tag_t类型)segments [ ] Input(输入)Array of segments
int * (整数型指针)num_new_segmentsOutput(输出)Count of segments returned
tag_t * *new_segmentsOutput to be freed
输出并释放
Array of segments created. Use UF_free to
deallocate memory when no longer required.

 


 
UF_ROUTE_solve_places (查看源代码)
 
定义在: uf_route.h
 
概述
Find all the possible ways to position a routing part using
the given placement object. The initial call to this
routine should have num_places==0 and places == NULL. This
routine can then be called multiple times (with different placement
objects) to generate additional solutions.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_solve_places
(
tag_t placer,
tag_t part_occ,
int * num_places,
UF_ROUTE_place_solution_p_t * * places
)
tag_t (tag_t类型)placerInput(输入)Tag of the "placement" object.
Should be a RCP, arc or circular edge,
line, port, or another Routing
part occurrence.
tag_t (tag_t类型)part_occInput(输入)Part occurrence to solve
int * (整数型指针)num_placesOutput(输出)Updated with new number of
placements found
UF_ROUTE_place_solution_p_t * *placesOutput to be freed
输出并释放
Function_to_free = UF_ROUTE_free_places
Additional solutions appended to
current list (Initial call should
have places == NULL).
The "places" structure should
be freed with UF_ROUTE_free_places

 


 
UF_ROUTE_transform_objects (查看源代码)
 
定义在: uf_route.h
 
概述
Applies either Move or Copy transformations to the given objects.
The operation is determined by the value of the operation flag.
The transformation matrix from the input is used for transforming
the objects. Returns an error code if any error occurs during the
transformation operation.

Transformation of objects that are smart has no effect. Call UF_SO_is_so
to determine if an object is smart. A segment is considered smart if its
end RCPs are smart.

环境
Internal and External

历史
New in V17
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_transform_objects
(
tag_t * tags,
int num_tags,
double transform [ 4 ] [ 4 ] ,
logical copy_operation,
tag_t * * copy_tags
)
tag_t * (tag_t型的指针)tagsInput(输入)Array of object tags. In an Assembly
context, the tags corresponding to each
Object Occurrence to be transformed. Objects
may be only of types UF_route_part_type_type
or UF_route_control_point_type.
int (整数型)num_tagsInput(输入)The number of the above tags
double (实数型)transform [ 4 ] [ 4 ] Input(输入)The transformation matrix to use.
The structure of the transform:
transform[0][0],[0][1],[0][2] - X Axis Rotation vectors
[1][0],[1][1],[1][2] - Y Axis Rotation vectors
[2][0],[2][1],[2][2] - Z Axis Rotation vectors
transform[0][3],[1][3],[2][3] - Translation vector
transform[3][3] - Scale
logicalcopy_operationInput(输入)TRUE : Copy operation
FALSE: Move operation
tag_t * *copy_tagsOutput to be freed
输出并释放
The corresponding array of
copied tags. There will be a one to one
correspondence between tags of objects
in the input tags list and the copy_tags array.
Will be NULL for a Move operation.
For a Copy operation, free using UF_free.

 


 
UF_ROUTE_unload_app_view (查看源代码)
 
定义在: uf_route.h
 
概述
Frees data allocated during loading of the Application View using
UF_ROUTE_load_app_view. Once the Application View has been
freed then the current Application View must be set to NULL using
UF_ROUTE_set_current_app_view.

环境
内部和外部

参见
Please refer to the example
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_unload_app_view
(
UF_ROUTE_application_view_p_t app_view
)
UF_ROUTE_application_view_p_tapp_viewInput(输入)Application view data to be freed.

 


 
UF_ROUTE_unset_shadow_for_view (查看源代码)
 
定义在: uf_route.h
 
概述
Unexplode the components in a view.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_unset_shadow_for_view
(
tag_t view
)
tag_t (tag_t类型)viewInput(输入)Tag of the view to unexplode

 


 
UF_ROUTE_update_charx_env (查看源代码)
 
定义在: uf_route.h
 
概述
Updates the current characteristic environment with the given
characteristics by updating existing values in the environment and
adding new values.

环境
内部和外部
 
需要许可证(S)
( routing_electrical  or  routing_mechanical  or  routing_combined )

 
int UF_ROUTE_update_charx_env
(
int num_charx,
UF_ROUTE_charx_t charx [ ]
)
int (整数型)num_charxInput(输入)Number of characteristics
supplied.
UF_ROUTE_charx_tcharx [ ] Input(输入)Array of characteristics