uc5822 (查看源代码)
 
定义在: uf_patt.h
 
概述
Read Pattern Data. Returns pattern data.

返回
1 = np1 is not a pattern object

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

 
int uc5822
(
tag_t object,
char * name,
char * file_name,
int * view_dependent_status,
int * layer,
int * retrieval_status,
double transform_data [ 13 ]
)
tag_t (tag_t类型)objectInput(输入)Pattern Object Identifier
char * (字符型指针)nameOutput(输出)Pattern Name
char * (字符型指针)file_nameOutput(输出)Corresponding Archive Part File Name
In NX Manager mode this will be an encoded part filename.
int * (整数型指针)view_dependent_statusOutput(输出)View Dependent Status
0 = Model Object
1 = View Dependent Entity
int * (整数型指针)layerOutput(输出)Layer
int * (整数型指针)retrieval_statusOutput(输出)Retrieval Status
0 = Good, Pattern Data is in Dynamic
Memory
1 = Error Occurred During Pattern Data
Retrieval
double (实数型)transform_data [ 13 ] Output(输出)Pattern Information, rr7 is a 13 element array
rr7[13]
[0] - [8] - Pattern Orientation Matrix
[9]-[11] - Pattern Origin
[12] - Pattern Scale

 


 
uc5823 (查看源代码)
 
定义在: uf_patt.h
 
概述
Retrieve pattern data as a single pattern object and return its identifier.

返回
Error Status
< 0 = Error
0 = No Error
1 = Part File Not Found
3 = Part In Checkpoint Format
5 = Part Failed Revision Check
6 = No Pattern Data In Part
14= Pattern data must be recreated
20= Invalid Pattern Name
21= Matrix Is Not Orthogonal
22= Scale Must Be Positive

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

 
int uc5823
(
char * file_name,
char * pattern_name,
int autoscale_option,
double transform_data [ 13 ] ,
tag_t * pattern
)
char * (字符型指针)file_nameInput(输入)Pattern File Specification
char * (字符型指针)pattern_nameInput(输入)Pattern Name
" " = Part Name
int (整数型)autoscale_optionInput(输入)Autoscale Option
1 = Yes - Autoscale If Metric/English
Conflict
2 = No - Continue if Metric/English Conflict
double (实数型)transform_data [ 13 ] Input(输入)Pattern Real Data, rp4[13]
[0] - [8] Pattern Orientation Matrix
[9] - [11] Pattern Origin
[12] Pattern Scale
tag_t * (tag_t型的指针)patternOutput(输出)Pattern object identifier

 


 
uc5824 (查看源代码)
 
定义在: uf_patt.h
 
概述
Cycles pattern errors.

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

 
int uc5824
(
int * ia1,
char * cr2
)
int * (整数型指针)ia1Input / OutputOn input the error found by the last call to this routine.
If this routine has not been called yet, then set ia1 to 0
to start cycling. On output this will be the next error.
The cycling is complete when a 0 is returned.
char * (字符型指针)cr2Output(输出)Part Name Where Error Occurred

 


 
uf5891 (查看源代码)
 
定义在: uf_patt.h
 
概述
uf5891 read/set pattern display parameters - Internal and External
Please replace calls to uc5891 with UF_PATT_ask_params and
UF_PATT_set_params
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5891
(
tag_t * np1,
int * ip2,
int * ia3
)
tag_t * (tag_t型的指针)np1
int * (整数型指针)ip2
int * (整数型指针)ia3

 


 
UF_PATT_ask_params (查看源代码)
 
定义在: uf_patt.h
 
概述
Reads the pattern's display parameters.

环境
内部和外部

参见
See the example

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

 
int UF_PATT_ask_params
(
tag_t tag,
UF_PATT_switch_t * origin_display,
UF_PATT_switch_t * max_min_display,
UF_PATT_switch_t * control_pt_display
)
tag_t (tag_t类型)tagInput(输入)Tag of pattern entity (or NULL_TAG for global setting)
UF_PATT_switch_t *origin_displayOutput(输出)Origin marker display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_t *max_min_displayOutput(输出)Max/Min box display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_t *control_pt_displayOutput(输出)Control point display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off

 


 
UF_PATT_create_point (查看源代码)
 
定义在: uf_patt.h
 
概述
Creates a pattern point entity at the specified coordinates.

环境
内部和外部

参见
See the example

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

 
int UF_PATT_create_point
(
double coordinates [ 3 ] ,
tag_t * tag
)
double (实数型)coordinates [ 3 ] Input(输入)Coordinates of pattern point in model space
tag_t * (tag_t型的指针)tagOutput(输出)Tag of newly created pattern point entity

 


 
UF_PATT_is_archiving_on (查看源代码)
 
定义在: uf_patt.h
 
概述
Reads the pattern's data archiving switch.

环境
内部和外部

参见
UF_PATT_set_archiving

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

 
int UF_PATT_is_archiving_on
(
logical * on
)
logical *onOutput(输出)Curent setting of the pattern data archiving switch
TRUE = switch is on
FALSE = switch is off

 


 
UF_PATT_is_shading_on (查看源代码)
 
定义在: uf_patt.h
 
概述
n
Reads the pattern's shaded data archiving switch.

环境
内部和外部

参见
See the example

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

 
int UF_PATT_is_shading_on
(
logical * on
)
logical *onOutput(输出)Read the pattern's shaded data archiving switch
TRUE = switch is on
FALSE = switch is off

 


 
UF_PATT_set_archiving (查看源代码)
 
定义在: uf_patt.h
 
概述
Sets the pattern's data archiving switch.
NOTE: Setting the pattern's data archiving switch to UF_PATT_off
also sets the Shaded Data Archiving switch to UF_PATT_off since
shaded data cannot be filed unless pattern data is filed. This is
consistent with the interactive functionality.

环境
内部和外部

参见
See the example

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

 
int UF_PATT_set_archiving
(
UF_PATT_switch_t setting
)
UF_PATT_switch_tsettingInput(输入)Set the pattern's data archiving switch.
UF_PATT_on = set switch on
UF_PATT_off = set switch off

 


 
UF_PATT_set_params (查看源代码)
 
定义在: uf_patt.h
 
概述
Set the pattern's display parameters.

环境
内部和外部

参见
See the example

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

 
int UF_PATT_set_params
(
tag_t tag,
UF_PATT_switch_t origin_status,
UF_PATT_switch_t max_min_status,
UF_PATT_switch_t control_pt_status
)
tag_t (tag_t类型)tagInput(输入)Tag of pattern entity (or NULL_TAG for global setting)
UF_PATT_switch_torigin_statusInput(输入)Origin marker display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_tmax_min_statusInput(输入)Max/Min box display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_tcontrol_pt_statusInput(输入)Control point display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off

 


 
UF_PATT_set_shading (查看源代码)
 
定义在: uf_patt.h
 
概述
Set the pattern's shaded data archiving switch.
NOTE: Setting the pattern's shaded data archiving switch to
UF_PATT_on also sets the pattern's data archiving switch to
UF_PATT_on since shaded data cannot be filed unless pattern data is
filed. This is consistent with the interactive functionality.

环境
内部和外部

参见
See the example

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

 
int UF_PATT_set_shading
(
UF_PATT_switch_t setting
)
UF_PATT_switch_tsettingInput(输入)Set the pattern's shaded data archiving switch.
UF_PATT_on = set switch on
UF_PATT_off = set switch off