That made the FloorOffset property change but the FloorAlignment property is still unchanged.
Other properties that aren't working:
Scene.KeepBackground = False Scene.FloorReflections = True Scene.FloorShadows = True Scene.FloorAlignment = 0 Scene.FloorAutoSize = True
Properties that are working:
Scene.FitToSWWindow = True Scene.FloorOffset = 0 Scene.FixedAspectRatio = False Scene.EnvironmentRotation = 0
What is your FloorAlignment set to currently? 3?
Maybe you should throw in some Debug.Print statements to check before and after the Modify command if you haven't already.
Also, be sure to read the documentation pages for each property carefully. For example, the "KeepBackground" property states:
This property is valid only if ISwScene::BackgroundType is set to one of the following:
So there may be some things you will need to check before you set all of these properties.
Using debug.print it looks like the FloorAlignment value is changing by running the macro. However, after rebuilding and redrawing the value reflected in the model and menus does not change. I'm trying to set FloorAlignment to 0. I've tried a variety of starting values but it seems like the changes I make in the model menus aren't reflected in the debug output.
Also, using debug.print for KeepBackround, FloorShadows, and FloorAutoSize shows those values not changing after running the macro.
I again used debug.print to confirm that my BackgroundType is 3 (Image).
Layne, I just want to confirm that I am seeing the same as you. Floor alignment does not seem to be affecting that parameter, or change it visually. You can test it out by making another configuration and changing that parameter manually. It doesn't seem to matter what you set the value to.
There must be something we are missing here...
Thanks for the help. It's at least reassuring to know I'm not the only one that can't make it work!