Synopsis

(macro) PDX_MSGT stcr_ShDfRp(long option, MDA_PTR orig_db_ptr, MDA_PTR prpdfn_ptr, MDA_PTR rprsnt_ptr, int step_model, MDA_PTR *shdfrp_ptr)

Purpose

Create a STEP SHAPE_DEFINITION_REPRESENTATION entity.

Description

Creates a STEP SHAPE_DEFINITION_REPRESENTATION 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

prpdfn_ptr

MDA pointer to property_definition entity

rprsnt_ptr

MDA pointer to representation entity

step_model

The model for creating the STEP entity or entities

Output

shdfrp_ptr

The database pointer of the resulting STEP entity

Return

STCR error code