Overview | Symbol List | Example


属性标题

Synopsis

&ATTTL({obj|PART|'name'},seqno[,data_type])

Description

Returns the title of the attribute which is referred to by the specified sequence number.

Characteristics

Read Only - String - 50 Characters

Parameters

Parameter

Description

obj

Existing object from which attribute titles will be accessed.

PART

Minor word which indicates that the part attributes will be accessed.

'name'

A string or string variable which represents the name of an object such as a reference set.

seqno

Sequence number of the desired attribute title. The attribute titles are sequenced in a linear manner (e.g., the first title assigned is 1, the second title assigned is 2, and so on where each title is of a given data type).

[,data_type]

The parameter data_type has been assigned a value of GPA &ATTYPE. If data_type is not specified, the default data type is variable length string.

NOTE: Reference attributes do not use sequence numbers. Therefore, ATTTL does not return reference titles. Please refer to the notes on reference attributes in the attribute section of the Unigraphics Gateway Help for a description of the use of reference attributes.

Part attributes can only have a data_type of 5 (string); the system ignores all other data_types for part attributes.

Data Type

Description

1

Integer

2

Floating point

3

Date and time

4

Null string

5

Variable length character


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.