Synopsis
(macro) PDX_MSGT stcr_NAUO(long option, MDA_PTR orig_db_ptr, char *id, char *name, char *desc, MDA_PTR relating_prddfn_ptr, MDA_PTR related_prddfn_ptr, char *refdesignator, int step_model, MDA_PTR *nauo_ptr)
Purpose
Create a STEP NEXT_ASSEMBLY_USAGE_OCCURRENCE entity.
Description
Creates a STEP NEXT_ASSEMBLY_USAGE_OCCURRENCE entity in the specified model based on the data provided. The data provided must result in a valid definition.
The orig_db_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.
Input
option
Options (not used)
orig_db_ptr
The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR
id
ID
name
Name by which the product category is referred to
desc
Description
relating_prddfn_ptr
MDA pointer to the relating product_definition entity
related_prddfn_ptr
MDA pointer to the related product_definition entity
refdesignator
Optional reference designator or STCR_NOT_USED
step_model
The model for creating the STEP entity or entities
Output
nauo_ptr
The database pointer of the resulting STEP entity
Return
STCR error code