uc5822 (view source)
 
Defined in: uf_patt.h
 
Overview
Read Pattern Data. Returns pattern data.

Return
1 = np1 is not a pattern object

Environment
Internal and External
 
Required License(s)
gateway

 
int uc5822
(
tag_t object,
char name [ UF_OBJ_NAME_BUFSIZE ] ,
char file_name [ MAX_FSPEC_BUFSIZE ] ,
int * view_dependent_status,
int * layer,
int * retrieval_status,
double transform_data [ 13 ]
)
tag_tobjectInputPattern Object Identifier
charname [ UF_OBJ_NAME_BUFSIZE ] OutputPattern Name
charfile_name [ MAX_FSPEC_BUFSIZE ] OutputCorresponding Archive Part File Name
In NX Manager mode this will be an encoded part filename.
int *view_dependent_statusOutputView Dependent Status
0 = Model Object
1 = View Dependent Entity
int *layerOutputLayer
int *retrieval_statusOutputRetrieval Status
0 = Good, Pattern Data is in Dynamic
Memory
1 = Error Occurred During Pattern Data
Retrieval
doubletransform_data [ 13 ] OutputPattern Information, rr7 is a 13 element array
rr7[13]
[0] - [8] - Pattern Orientation Matrix
[9]-[11] - Pattern Origin
[12] - Pattern Scale

 


 
uc5823 (view source)
 
Defined in: uf_patt.h
 
Overview
Retrieve pattern data as a single pattern object and return its identifier.

Return
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

Environment
Internal and External
 
Required License(s)
gateway

 
int uc5823
(
char * file_name,
char * pattern_name,
int autoscale_option,
double transform_data [ 13 ] ,
tag_t * pattern
)
char *file_nameInputPattern File Specification
char *pattern_nameInputPattern Name
" " = Part Name
intautoscale_optionInputAutoscale Option
1 = Yes - Autoscale If Metric/English
Conflict
2 = No - Continue if Metric/English Conflict
doubletransform_data [ 13 ] InputPattern Real Data, rp4[13]
[0] - [8] Pattern Orientation Matrix
[9] - [11] Pattern Origin
[12] Pattern Scale
tag_t *patternOutputPattern object identifier

 


 
uc5824 (view source)
 
Defined in: uf_patt.h
 
Overview
Cycles pattern errors.

Environment
Internal and External
 
Required License(s)
gateway

 
int uc5824
(
int * ia1,
char cr2 [ MAX_FSPEC_BUFSIZE ]
)
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.
charcr2 [ MAX_FSPEC_BUFSIZE ] OutputPart Name Where Error Occurred

 


 
uf5891 (view source)
 
Defined in: uf_patt.h
 
Overview
uf5891 read/set pattern display parameters - Internal and External
Please replace calls to uc5891 with UF_PATT_ask_params and
UF_PATT_set_params
 
Required License(s)
gateway

 
void uf5891
(
tag_t * np1,
int * ip2,
int * ia3
)
tag_t *np1
int *ip2
int *ia3

 


 
UF_PATT_ask_params (view source)
 
Defined in: uf_patt.h
 
Overview
Reads the pattern's display parameters.

Environment
Internal and External

See Also
See the example

History
Original release was in V14.0.
 
Required License(s)
gateway

 
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_ttagInputTag of pattern entity (or NULL_TAG for global setting)
UF_PATT_switch_t *origin_displayOutputOrigin marker display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_t *max_min_displayOutputMax/Min box display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_t *control_pt_displayOutputControl point display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off

 


 
UF_PATT_create_point (view source)
 
Defined in: uf_patt.h
 
Overview
Creates a pattern point entity at the specified coordinates.

Environment
Internal and External

See Also
See the example

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_PATT_create_point
(
double coordinates [ 3 ] ,
tag_t * tag
)
doublecoordinates [ 3 ] InputCoordinates of pattern point in model space
tag_t *tagOutputTag of newly created pattern point entity

 


 
UF_PATT_is_archiving_on (view source)
 
Defined in: uf_patt.h
 
Overview
Reads the pattern's data archiving switch.

Environment
Internal and External

See Also
UF_PATT_set_archiving

History
Original release was in V14.0.
 
Required License(s)
gateway

 
int UF_PATT_is_archiving_on
(
logical * on
)
logical *onOutputCurent setting of the pattern data archiving switch
TRUE = switch is on
FALSE = switch is off

 


 
UF_PATT_is_shading_on (view source)
 
Defined in: uf_patt.h
 
Overview
n
Reads the pattern's shaded data archiving switch.

Environment
Internal and External

See Also
See the example

History
Original release was in V14.0.
 
Required License(s)
gateway

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

 


 
UF_PATT_set_archiving (view source)
 
Defined in: uf_patt.h
 
Overview
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.

Environment
Internal and External

See Also
See the example

History
Original release was in V14.0.
 
Required License(s)
gateway

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

 


 
UF_PATT_set_params (view source)
 
Defined in: uf_patt.h
 
Overview
Set the pattern's display parameters.

Environment
Internal and External

See Also
See the example

History
Original release was in V14.0.
 
Required License(s)
gateway

 
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_ttagInputTag of pattern entity (or NULL_TAG for global setting)
UF_PATT_switch_torigin_statusInputOrigin marker display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_tmax_min_statusInputMax/Min box display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off
UF_PATT_switch_tcontrol_pt_statusInputControl point display status
UF_PATT_on = display status is on
UF_PATT_off = display status is off

 


 
UF_PATT_set_shading (view source)
 
Defined in: uf_patt.h
 
Overview
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.

Environment
Internal and External

See Also
See the example

History
Original release was in V14.0.
 
Required License(s)
gateway

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