找回密码 注册 QQ登录
开思网工业级高精度在线3D打印服务

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
查看: 18159|回复: 3
打印 上一主题 下一主题

UF_ASSEM_add_to_assembly()怎么用?

[复制链接]
跳转到指定楼层
1
发表于 2004-3-26 16:46:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多同行朋友,交流,分享,学习。

您需要 登录 才可以下载或查看,没有帐号?注册

x

参数有哪些?
谢谢了、着急!
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 赞一下!赞一下!
2
发表于 2004-3-29 09:29:54 | 只看该作者
看Documantation啊,里面讲的很清楚。
3
发表于 2004-3-29 09:44:23 | 只看该作者
是啊!
4
发表于 2004-3-29 12:55:39 | 只看该作者
我看了帮助文档,没找到你说的函数,只有这个,看看是不是你要的
  
UF_ASSEM_add_part_to_assembly
  
Adds an instance of a part to a parent part. If the part is not loaded,
it is loaded into the current session. The instance is added to the parts
list according to the setting of the parts_list switch (see
UF_ASSEM_ask_assem_options and UF_ASSEM_options_s). The user allocated
structure error_status is filled with the names and associated error codes
of the loaded parts. The allocated arrays must be freed with UF_free and
UF_free_string_array.
  
If refset_name is a NULL pointer or a zero-length string, the entire part is
used. If instance_name is a NULL pointer or a zero-length string, the instance
is unnamed.
  
See Also
The following table of parameter values for this function is
based on the automobile example
See table
  
extern int UF_ASSEM_add_part_to_assembly (
tag_t parent_part,  
const char * part,  
const char * refset_name,  
const char * instance_name,  
double origin[ 3 ],  
double csys_matrix[ 6 ],  
int layer,  
tag_t * instance,  
UF_PART_load_status_t * error_status );
  
tag_t  parent_part Input tag of part to add instance to  
const char *  part Input name of part to instance. The part name can
include a directory path. This can not
exceed UF_CFI_MAX_PATH_NAME_LEN characters.  
const char *  refset_name Input Name of reference set to use from component
parts. The refset_name cannot exceed 30
characters, cannot include a directory path,
and should not have a file extension.  
const char *  instance_name Input Name of new instance The instance_name cannot
exceed 30 characters, cannot include a
directory path, and should not have a file
extension.  
double  origin[ 3 ] Input Position in <parent_part> where the instance
is to be created  
double  csys_matrix[ 6 ] Input Orientation of the instance  
int  layer Input -1 Means use the original layers.
0 Means use the work layer
1-255 Means use the specified layer.  
tag_t *  instance Output Tag of the new instance in the work part  
UF_PART_load_status_t *  error_status Output to be freed User allocted structure consisting of
names and associated error codes. The
allocated arrays must be freed with
UF_free_string_array and UF_free.
See the description of the
UF_PART_load_status_t structure for
details on freeing this structure.  
  
Environment
Internal and External
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网  

GMT+8, 2024-12-25 22:34 , Processed in 0.033681 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

快速回复 返回顶部 返回列表