I am trying to create a shortcut that does three things: match Layer, match displayMode, and match mapping. I am able to get the first one done. However, for the last two, I don’t have any clues to get them done. Is there any sample code that I can take a look?
For display override, I was able to find the SetDisplayModeOverride(DisplayModeDescription) method in ObjectAttributes Class, but I couldn’t find the method to GET DisplayModeOverride.
Right now I am using this one as a makeshift. It only returns True/False, so I have to assume the object with displayModeOverride always use certain mode (say, render mode). It won’t match objects with override modes other than render mode.
@dale, thanks but that seems to tell only that the viewport display mode has been overridden with True or False as pointed out above. I do not see a way to query an object for the display mode, which has been assigned to the object.