Creates and accesses descriptive names and modeller data associated with PRC entities. More...

Modules

 Rhino attribute name
 Defines names for Rhino attributes.
 

Data Structures

struct  A3DMiscAttributeBasicUnitData
 A structure that specifies base unit information. More...
 
struct  A3DMiscAttributeData
 A structure that specifies descriptive names and modeller data. More...
 
struct  A3DMiscAttributeUnitData
 A structure that specifies unit information. More...
 
struct  A3DMiscSingleAttributeData
 A structure that specifies modeler data attribute. More...
 

Enumerations

enum  A3DEModellerAttributeType {
  kA3DModellerAttributeTypeNull = 0,
  kA3DModellerAttributeTypeInt = 1,
  kA3DModellerAttributeTypeReal = 2,
  kA3DModellerAttributeTypeTime = 3,
  kA3DModellerAttributeTypeString = 4
}
 A3DSDKRootEntities. More...
 

Functions

A3DStatus A3DGlobalGetUnit (const A3DUns32 uiIndexUnit, A3DMiscAttributeUnit **ppUnit)
 Get unit information related to a A3DMiscSingleAttributeData structure. More...
 
A3DStatus A3DGlobalGetUnitData (A3DMiscAttributeUnit *const pUnit, A3DMiscAttributeUnitData *pData)
 Get unit information related to a A3DMiscSingleAttributeData structure. More...
 
A3DStatus A3DMiscAttributeCreate (const A3DMiscAttributeData *pData, A3DMiscAttribute **ppAttribute)
 Creates an A3DMiscAttribute from A3DMiscAttributeData structure. More...
 
A3DStatus A3DMiscAttributeGet (const A3DMiscAttribute *pAttribute, A3DMiscAttributeData *pData)
 Populates the A3DMiscAttributeData structure. More...
 

Detailed Description

Creates and accesses descriptive names and modeller data associated with PRC entities.

Version
11.1

Entity type is kA3DTypeMiscAttribute.

This structure defines the miscellaneous attributes owned by an A3DRootBase entity.

Enumeration Type Documentation

◆ A3DEModellerAttributeType

A3DSDKRootEntities.

An enumeration that identifies the type of modeller data represented in an A3DMiscSingleAttributeData structure

Enumerator
kA3DModellerAttributeTypeNull 

Null type; invalid.

kA3DModellerAttributeTypeInt 

32-bit unsigned Integer (A3DUns32).

kA3DModellerAttributeTypeReal 

32-bit floating point value (A3DFloat).

kA3DModellerAttributeTypeTime 

32-bit unsigned Integer, interpreted as time_t.

kA3DModellerAttributeTypeString 

UTF-8 character c-string (A3DUTF8Char).

Function Documentation

◆ A3DMiscAttributeGet()

A3DStatus A3DMiscAttributeGet ( const A3DMiscAttribute pAttribute,
A3DMiscAttributeData pData 
)

Populates the A3DMiscAttributeData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INVALID_ENTITY_NULL
A3D_INVALID_ENTITY_TYPE
A3D_SUCCESS

◆ A3DMiscAttributeCreate()

A3DStatus A3DMiscAttributeCreate ( const A3DMiscAttributeData pData,
A3DMiscAttribute **  ppAttribute 
)

Creates an A3DMiscAttribute from A3DMiscAttributeData structure.

Version
2.0
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS

◆ A3DGlobalGetUnit()

A3DStatus A3DGlobalGetUnit ( const A3DUns32  uiIndexUnit,
A3DMiscAttributeUnit **  ppUnit 
)

Get unit information related to a A3DMiscSingleAttributeData structure.

Version
12.1
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_UNIT_INDEX
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS

◆ A3DGlobalGetUnitData()

A3DStatus A3DGlobalGetUnitData ( A3DMiscAttributeUnit *const  pUnit,
A3DMiscAttributeUnitData pData 
)

Get unit information related to a A3DMiscSingleAttributeData structure.

Version
12.1
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INVALID_UNIT_INDEX
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_SUCCESS