API Reference > OdRx Classes > OdRxAffinityAttribute Class
OdRxAffinityAttribute Class
OdRxAffinityAttributeOdRxAffinityAttributeOdRxAffinityAttribute
Syntax
C++
class OdRxAffinityAttribute : public OdRxAttribute;

RxAttribute.h

This attribute defines which additional objects need to be packed with the main object to get a propery, marked by this attribute. E.g. if the size of the object depends on the viewport, the viewport should be packed with the main object.

This attribute is for internal use.

 
Name 
Description 
 
details Constructor. Creates an attribute of the OdRxAffinityAttribute type.
 
 
name 
details Gets the list of names of additional objects. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.