AfrFoundation Macro SetAccessAnchorName

Macro SetAccessAnchorName (variableName,anchor)
Anchors an access before a given access.
Parameters:
variableName
The pointer to the access to be anchored
anchor
The name of the access before which variableName is anchored
   Example: 

   In a workshop you write :
      NewAccess(CATCmdStarter,pMyAccess1,"accessname1")
   
   In a workbench you have:
      NewAccess(CATCmdStarter,pMyAccess2,"accessname2")
      SetAccessAnchorName(pMyAccess2,"accessname1") 

      The access whose pointer is pMyAccess2 is anchored before the 
      access whose name is accessname1. 
   

This object is included in the file: CATCreateWorkshop.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.