Synopsis

PDX_MSGT s046_EntityGetPrLyAs(long option, MDA_PTR step_db_ptr, int *num_of_prlyas, MDA_PTR **step_prlyas_ptrs, PDX_BOOL *prlyas_hierarchy)

Purpose

Get PRESENTATION_LAYER_ASSIGNMENT Items for the given STEP entity.

Description

Get applied PRESENTATION_LAYER_ASSIGNMENT items for the given STEP entity. The option should represent the entity's type. Program gets the list of parents for the given step_db_ptr and check for PrLyAs entity. If not defined at the requested option level, then it will search in upper levels.

Input

option

STEP_SURFACE

Get PRLYAS item for Surface entity

STEP_CURVE

Get PRLYAS item for Curve entity

STEP_EDGE_CURVE

Get PRLYAS item for EdgeCurve entity

STEP_FACE

Get PRLYAS item for Face entity

STEP_SOLID

Get PRLYAS item for Solid entity

step_db_ptr

STEP

entity database pointer

Output

num_of_prlyas

Number of PRLYAS pointers

step_prlyas_ptrs

PRESENTATION_LAYER_ASSIGNMENT item MDA ptrs

prlyas_hierarchy

STEP_CURVE

Styled Item found at the Curve level

STEP_SURFACE

Styled Item found at the Surface level

STEP_EDGE_CURVE

Styled Item found at the Edge Curve level

STEP_FACE

Styled Item found at the Face level

STEP_SOLID

Styled Item found at the Solid level

Return

      S046_NOERR
      S046_INVALID_PTR
      S046_INVALID_OPTION
      Low Level error return
      .fi