Synopsis

PDX_MSGT picr_Attribute2(long option, int model, MDA_PTR orig_db_ptr, double color_rgb[3], char *label, char *layer, int visibility, double *transparency, MDA_PTR *db_ptr)

Purpose

Create parasolid attribute

Description

Create parasolid attribute

Input

option

PICR_VALIDATE

Validate the entity fields

PICR_NOVALIDATE

Do not validate the entity fields

model

PINT model for entity creation

orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

color_rgb

Red, green and blue values or NULL

label

Label or NULL

layer

Layer or NULL

visibility

Visibility (1 is visible, 0 is not)

transparency

Transparency (0 is opaque, 1 is transparent)

Output

db_ptr

The PINT model pointer

Return

      Low level error return
      .fi