''  This file downloaded from Highend3d.com
''  
''  Highend3d.com File Information:
''  
''    Script Name: nillifier v1.1
''    Author: Matt Lowery
''    Last Updated: March 22, 2001
''    Update/Change this file at:
''    http://www.highend3d.com/xsi/scripts/?section=animation#938
''  
''  Please do not alter any information above this line
''  it is generated dynamically by Highend3d.com and will
''  be changed automatically on any updates.
''

'nullifier v1.1 by Matt Lowery

Dim A
Dim ab
Dim B
Dim ba

'creates nullifier constraints like in 3.x

set A=GetValue("SelectionList")
for each ab in A
	GetPrim "Null"
	set B=GetValue("SelectionList")
	for each ba in B
		ApplyCns "Pose",ba,ab
		Refresh
		RemoveAllCns ba
	next 
		ApplyCns "Pose", ab, ba	
next
