Clicking Advanced options in the Stories dialog opens the following dialog.
This dialog lets you select structure elements (bars or geometrical objects) that are ignored when defining stories.