You can program your own components to react to movements of internal CabinetSense Parts. For example, you may have a rack of clothes that you want to place under a shelf. By adding a line or two of simple code to your component, CabinetSense can find and attach your component to the nearest CabinetSense internal component.
Use the x, y, and z attributes to control where it is positioned and use the lenX, lenY, and lenZ attribute to control the size.
Anytime that your formula has a reference of _csc, CabinetSense will look for the nearest top, bottom, shelf, end, or partition component and change your reference to the actual CabinetSense component. From then on, moving the CabinetSense component will automatically move your attached component.
If you have developed your component explicitly with a reference to a horizontal component (IE. Top, Bottom, Shelf), the references will be changed to the nearest horizontal component.
if you have developed your component with a reference to a vertical component (IE. Left end, Right end, Partition), te references will be changed to the nearest vertical component.
Dragging your Shirt component from the Component Browser window and placing it close to the shelf that you want to attach it to will cause CabinetSense to change your references.