I’m trying to align a sphere to a Stoke_Field. I’m using the center to center and this doesn’t result as expected.
I am not sure how Max figures out the “center”, but obviously it fails to find it for a field.
Your workaround would be to use the “Icon To Grid” button in the Stoke Field first to align the icon to the center of the grid bounds, then use Pivot Point in the Align dialog for the target to bring the sphere to where the icon is.
I will ask the developer whether we can generate something for Center, but I suspect if we could, we would be doing it already…
EDIT: I tested and it behaves the same for PRT Loaders, so I guess our objects just don’t generate the data that Max uses to figure it out.
But, if you use MAXScript, it works using the center of the bounding box of the icon and the grid display. So if the icon is ANYWHERE inside the Grid, the call
$GeoSphere001.center = $Stoke_Field001.center
results in the GeoSphere moving to the precise center of the Field Grid even if the icon is not centered.
I could add scripted tools to the Field UI to align any object to the Field Grid if you want, but using the icon centering button as a workaround is probably good enough.