Synopsis
PDX_MSGT s044_CreateProduct(long option, char *cm_file, int length_unit, int angle_unit, double accuracy_value, GDX_MATRIX matrix, int step_model, MDA_PTR *prddfn_ptr, MDA_PTR *prdct_ptr, MDA_PTR *shprpr_ptr, MDA_PTR *a2pl3d_ptr)
Purpose
Create product information.
Description
This function will create the entities for a single product in preparation for placement in an assembly. The minimum CM will be created from the specified CM file or default values if NULL. The representation context, shape representation, product definition shape (if not specified in CM file), and shape definition representation will be created.
Input
option
Options (not used)
cm_file
CM configuration file for s203_CreateMinCMModel
length_unit
Length unit for s203_CreateMinCMModel
angle_unit
Angle unit for s203_CreateMinCMModel
accuracy_value
Accuracy value for s203_CreateMinCMModel
matrix
Matrix applied to shape in assembly
step_model
STEP model to create entities
Output
prddfn_ptr
Database pointer of product definition
prdct_ptr
Database pointer of product
shprpr_ptr
Database pointer of shape representation
a2pl3d_ptr
Database pointer of axis 2 placement 3D
Return
S044 error code