This is the Open API interface to part and object attributes.
Using the UF_ATTR subroutines, you can:
. Assign an attribute title and value to an object.
. Count the attributes with a specific type for an object.
. Cycle through all attributes of a specific type from an object.
. Delete an attribute of a specific type from an object.
. Delete all attributes of a specific type from an object.
. Search an object for a specified attribute title.
. Read the value of an attribute with a specified type and title.
Part Attribute Object Identifier
To obtain the object identifier for a part attribute to pass to other routines
please use UF_ATTR_ask_part_attribute. The following routines accept both a
part attribute tag or a part tag. If you pass in a part tag these routines find
the part attribute tag automatically:
. UF_ATTR_assign
. UF_ATTR_delete
. UF_ATTR_delete_all
. UF_ATTR_cycle
. UF_ATTR_read_value
. UF_ATTR_count_attributes
. UF_ATTR_find_attribute
NX Computational Date & Time Format
NX computational date and time is stored in an integer array consisting of two
elements. The first array element contains the NX Computational Date, while
the second contains the NX Computational Time.
NX Computational Time stores the number of six second intervals since midnight,
that is it is incremented every six seconds. The computation is:
NX_computations_time = 10 (60Hour+Minute) + Second/6
where Hour = Hour of day on 24 hour clock and Minute = Minute of hour, and
Second is the Seconds of the minute.
Refer to definition of
constants that should be used in your source code when appropriate.