// COPYRIGHT DASSAULT SYSTEMES 1997 ... /** * Creates a new visualization filter from a name and a definition. * Fails if there is already a filter named iFilterName. * @param iFilterName * The filter name. * @param iFilterDefinition * The filter definition * <dt><b>Example:</b> * <dd> * This example creates the filter named "Filter001" and with "layer= 2 & layer= 1" definition * for the <tt>Doc</tt> document. * <pre> * Doc.<font color="red">CreateFilter</font> ("Filter001", "layer= 2 & layer= 1") * </pre> * </dl> */ HRESULT CreateFilter(in CATBSTR iFilterName, in CATBSTR iFilterDefinition); ...