UF_PLIST_add_object (查看源代码)
定义在: uf_plist.h
概述
Add an object to a parts list. The following describes the behaviors for
each type of object added:
Component Add the component as a parts list member. If
add_components_as_subassemblies is TRUE, then
the components will be added as subassemblies
to the parts list. This will cause all of the
components that are descendents of the added
component to be added to the parts list.
Solid body Add the solid body as a parts list member.
Curve (line, circle or spline) Add the curve as a parts list member.
Member view Associate the parts list with the given member
view. This will cause the view to be automatically
populated with callout symbols if the related
parts list preferences are set.
需要许可证(S)
drafting
int UF_PLIST_add_object
(
tag_t parts_list,
logical add_components_as_subassemblies,
tag_t object
)
UF_PLIST_ask_attached_rows (查看源代码)
定义在: uf_plist.h
概述
Get the attached parts list rows that are children of the specified
parts list or row
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_attached_rows
(
tag_t parent,
int * nm_rows,
tag_t * * children_rows
)
| tag_t (tag_t类型) | parent | Input(输入) | Parts list or parts list row |
| int * (整数型指针) | nm_rows | Output(输出) | Number of children_rows |
| tag_t * * | children_rows | Output to be freed 输出并释放 | Children rows |
UF_PLIST_ask_col_prefs (查看源代码)
定义在: uf_plist.h
概述
Ask the preferences for a column
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_col_prefs
(
tag_t col,
UF_PLIST_col_prefs_p_t col_prefs
)
UF_PLIST_ask_default_col_prefs (查看源代码)
定义在: uf_plist.h
概述
Retrieves the default column preferences
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_default_col_prefs
(
UF_PLIST_col_prefs_p_t col_prefs
)
UF_PLIST_ask_default_prefs (查看源代码)
定义在: uf_plist.h
概述
Retrieves the default parts list preferences
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_default_prefs
(
UF_PLIST_prefs_p_t plist_prefs
)
UF_PLIST_ask_nested_assy_parent_comp (查看源代码)
定义在: uf_plist.h
概述
Get the nested assemblies parent component
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_nested_assy_parent_comp
(
tag_t column,
tag_t * component
)
UF_PLIST_ask_objects (查看源代码)
定义在: uf_plist.h
概述
List objects associated to a parts list. This includes all members and member views.
历史
Initially released in NX2.0.0.
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_objects
(
tag_t parts_list,
int * nm_objects,
tag_t * * objects
)
| tag_t (tag_t类型) | parts_list | Input(输入) | Parts list |
| int * (整数型指针) | nm_objects | Output(输出) | Number of objects |
| tag_t * * | objects | Output to be freed 输出并释放 | |
UF_PLIST_ask_prefs (查看源代码)
定义在: uf_plist.h
概述
Get the parts list preferences of a parts list
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_prefs
(
tag_t parts_list,
UF_PLIST_prefs_p_t prefs
)
UF_PLIST_ask_row_lock (查看源代码)
定义在: uf_plist.h
概述
Get the lock state of a parts list row
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_row_lock
(
tag_t row,
logical * lock_state
)
UF_PLIST_ask_traversal_settings (查看源代码)
定义在: uf_plist.h
概述
Get the traversal settings of a parts list
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)
int UF_PLIST_ask_traversal_settings
(
tag_t parts_list,
UF_PLIST_traversal_settings_p_t traversal_settings
)
UF_PLIST_attach_rows (查看源代码)
定义在: uf_plist.h
概述
Attach or detach parts list rows
需要许可证(S)
drafting
int UF_PLIST_attach_rows
(
tag_t parent_row,
int nm_rows,
tag_t * children_rows
)
| tag_t (tag_t类型) | parent_row | Input(输入) | Parts list row that will become the parent. If equal to NULL_TAG, attach to the bottom of the parts list. |
| int (整数型) | nm_rows | Input(输入) | Number of children_rows. If set to zero, any rows previously attached will become unattached |
| tag_t * (tag_t型的指针) | children_rows | Input(输入) | Rows that will become the children rows |
UF_PLIST_create (查看源代码)
定义在: uf_plist.h
概述
Create a generic parts list (one with three columns: a callout column,
a general column with a $PART_NAME attribute
and a quantity column)
需要许可证(S)
drafting
int UF_PLIST_create
(
UF_PLIST_prefs_p_t prefs,
double origin [ 3 ] ,
tag_t * parts_list
)
UF_PLIST_create_column (查看源代码)
定义在: uf_plist.h
概述
Create a parts list column. The column can later be added to a parts list
using UF_TABNOT_add_column.
需要许可证(S)
drafting
int UF_PLIST_create_column
(
double width,
UF_PLIST_col_prefs_p_t col_prefs,
UF_PLIST_column_type_t column_type,
tag_t * column
)
UF_PLIST_create_from_template (查看源代码)
定义在: uf_plist.h
概述
Create a parts list from a template
需要许可证(S)
drafting
int UF_PLIST_create_from_template
(
char * template_name,
double origin [ 3 ] ,
tag_t * parts_list
)
| char * (字符型指针) | template_name | Input(输入) | Name of template part |
| double (实数型) | origin [ 3 ] | Input(输入) | Origin |
| tag_t * (tag_t型的指针) | parts_list | Output(输出) | New parts list |
UF_PLIST_create_manual_row (查看源代码)
定义在: uf_plist.h
概述
Create a manual parts list row. The row can later be added to a parts list
using UF_TABNOT_add_row.
需要许可证(S)
drafting
int UF_PLIST_create_manual_row
(
double height,
tag_t * row
)
UF_PLIST_list (查看源代码)
定义在: uf_plist.h
概述
Lists the parts list to the current listing device. This takes into
consideration any additions or removals from the parts list, any
changes to: the member attributes, the parts list format, or the output
modes like sorting and callouts.
返回
Error code:
0 = Success
1 = No parts list members
2 = No key or quantity field defined
> 2 = Some other output error
环境
内部和外部
需要许可证(S)
drafting
int UF_PLIST_list
(
tag_t obj_id
)
UF_PLIST_list_to_file (查看源代码)
定义在: uf_plist.h
概述
Lists the parts list to the specified output file. This takes into
consideration any additions or removals from the parts list, any
changes to: the member attributes, the parts list format, or the output
modes like sorting and callouts.
Parameters:
tag_t obj_id <I> The object identifier of the parts list.
char out_filename <I> Filename of output file.
int new_file <I> Boolean where
0 -> append to existing out_filename
1 -> write to new out_filename
char plist_level <I> Parts list level string
返回
Error code:
0 = Success
1 = No parts list members
2 = No key or quantity field defined
> 2 = Some other output error
环境
内部和外部
需要许可证(S)
drafting
int UF_PLIST_list_to_file
(
tag_t obj_id,
char * out_filename,
int new_file,
char * plist_level
)
| tag_t (tag_t类型) | obj_id | Input(输入) | The object identifier of the parts list |
| char * (字符型指针) | out_filename | Input(输入) | Filename of output file |
| int (整数型) | new_file | Input(输入) | Boolean for output |
| char * (字符型指针) | plist_level | Input(输入) | Parts list level string |
UF_PLIST_remove_object (查看源代码)
定义在: uf_plist.h
概述
Remove an object to a parts list. See the documentation for UF_PLIST_add_object for
information on the types of objects that can be added or removed.
需要许可证(S)
drafting
int UF_PLIST_remove_object
(
tag_t parts_list,
logical remove_components_as_subassemblies,
tag_t object
)
| tag_t (tag_t类型) | parts_list | Input(输入) | Parts list |
| logical | remove_components_as_subassemblies | Input(输入) | If TRUE, components are removed as subassemblies |
| tag_t (tag_t类型) | object | Input(输入) | Object to remove |
UF_PLIST_set_col_prefs (查看源代码)
定义在: uf_plist.h
概述
Set the preferences for a column
需要许可证(S)
drafting
int UF_PLIST_set_col_prefs
(
tag_t col,
UF_PLIST_col_prefs_p_t col_prefs
)
UF_PLIST_set_default_prefs (查看源代码)
定义在: uf_plist.h
概述
Sets the default parts list preferences
需要许可证(S)
drafting
int UF_PLIST_set_default_prefs
(
UF_PLIST_prefs_p_t plist_prefs
)
UF_PLIST_set_nested_assy_parent_comp (查看源代码)
定义在: uf_plist.h
概述
Set the nested assemblies parent component
历史
Added in NX4
需要许可证(S)
drafting
int UF_PLIST_set_nested_assy_parent_comp
(
tag_t column,
tag_t component
)
| tag_t (tag_t类型) | column | Input(输入) | Part List column to for nested assy. This must be a quantity column. |
| tag_t (tag_t类型) | component | Input(输入) | Parent component - the component for which quantities will be counted in the specified column. For the row that represents this component, an X will display. Set this to NULL_TAG to disable nested assemblies for this column. |
UF_PLIST_set_prefs (查看源代码)
定义在: uf_plist.h
概述
Set the parts list preferences of a parts list
需要许可证(S)
drafting
int UF_PLIST_set_prefs
(
tag_t parts_list,
UF_PLIST_prefs_p_t prefs
)
UF_PLIST_set_row_lock (查看源代码)
定义在: uf_plist.h
概述
Set the lock state of a parts list row
需要许可证(S)
drafting
int UF_PLIST_set_row_lock
(
tag_t row,
logical lock_state
)
UF_PLIST_set_traversal_settings (查看源代码)
定义在: uf_plist.h
概述
Set the traversal settings of a parts list
需要许可证(S)
drafting
int UF_PLIST_set_traversal_settings
(
tag_t parts_list,
UF_PLIST_traversal_settings_p_t traversal_settings
)
UF_PLIST_update (查看源代码)
定义在: uf_plist.h
概述
Update a parts list
历史
Added in NX4
需要许可证(S)
drafting
int UF_PLIST_update
(
tag_t parts_list
)
UF_PLIST_update_all_plists (查看源代码)
定义在: uf_plist.h
概述
Update all parts list in the work part
历史
Added in NX6
需要许可证(S)
drafting
int UF_PLIST_update_all_plists
(
)