| First, I dont know were I am supposed to post Bmax questions about 3DSDK, so if this would be better in Bmax thread, then move it. 
 Function HandleToObject:Object(obj:Object)
	Return obj
End Function
Function HandleFromObject(obj:Object)
	Local h=HandleToObject(obj)
	Return h
End FunctionWhat is this doing? 
 HandleToObject is passed an Object, then returns the same Object, which is then allocated to an INT, and returned. So... wouldnt
 Function HandleFromObject:int(obj:Object)
	Return Obj
End FunctionDo the Same? 
 Anyway, reason I asked is, I have this
 	Function HandleToType:TbbEntity (Comparisonhandle:Int)
		
		For Local Ent:TbbEntity = EachIn TbbEntity.List
			If Ent.handle=Comparisonhandle Then Return Ent
		Next
		
		Return Null
	
	End FunctionWhich as you can see is to look though a list to find which TbbEntity has a specific Handle. No specific question, if you can see my problem, then you dont really need a question. 
 
 |