在装配的时候就确定了层的选项
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 );
int layer Input -1 Means use the original layers.
0 Means use the work layer
1-255 Means use the specified layer. |