马上注册,结交更多同行朋友,交流,分享,学习。
您需要 登录 才可以下载或查看,没有帐号?注册
x
int UF_SETUP_ask_program_root
(
tag_t setup_tag,
tag_t * program_group
)
[url=mkMSITStore:H:\Program%20Files%20(x86)\UGS\NX%206.0\UGDOC\html_files\nxopen_net_ref\net_ref.chm::/ugopen_doc/uf_defs/uf_defs.html#tag_t]tag_t[/url] | setup_tag | Input | - the setup object to query | [url=mkMSITStore:H:\Program%20Files%20(x86)\UGS\NX%206.0\UGDOC\html_files\nxopen_net_ref\net_ref.chm::/ugopen_doc/uf_defs/uf_defs.html#tag_t]tag_t *[/url] | program_group | Output | - the root of the program view of the
specified setup object |
如上函数可获得程序视图的根对象("NC_PROGRAM")
问题是,如何用tag_t*来获得该对象的名称字符串呢?
同理,若用如下函数:
int UF_NCGROUP_ask_member_list
(
tag_t obj_tag,
int * count,
tag_t * * list
)
[url=mkMSITStore:H:\Program%20Files%20(x86)\UGS\NX%206.0\UGDOC\html_files\nxopen_net_ref\net_ref.chm::/ugopen_doc/uf_defs/uf_defs.html#tag_t]tag_t[/url] | obj_tag | Input | - the group | int * | count | Output | - the number of objects in the group | [url=mkMSITStore:H:\Program%20Files%20(x86)\UGS\NX%206.0\UGDOC\html_files\nxopen_net_ref\net_ref.chm::/ugopen_doc/uf_defs/uf_defs.html#tag_t]tag_t * *[/url] | list | Output to be freed | - the list of objects in the group. This should
be freed by calling UF_free. |
可获得某个程序组内的所有对象.包括子程序组和操作.
问题是,tag_t**是对象,不是对象的名称(即,不是字符窜))
小弟在帮助内"找找 找找 找啊找" 就是没找到.
请教高手指点,不甚感激! |