It's a trench; so it behaves like a bunker in that it can garrison units but can also be crossed . I attempted to do this by setting it to a bridge kindof bridge or landmark_bridge, but it seems to cancel out the garrisonable. So I currently have it done by setting the geometry of the trench to 1x1x1 so most of it can be crossed.
Some units (infantry, tanks) can cross, but others cannot (horses, wheeled vehicles). The trench is not underground, but gives that illusion.
I'm sorry if I confused some people

However, I am trying to stop certain units from crossing, and one way I could see of doing that is to change the ground (possibly by spawning) underneath the trench to RUBBLE and then allowing only tanks and infantry to cross RUBBLE in the Locomotor.
I didn't know about the NO_COLLIDE kindof ... so thanks

That should make it alot better than using 1x1x1 cube geometry on the object (as obviously the cube cannot be crossed).
Hope that clears things up for you guys

I do appreciate the feedback.