Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIVisuFilter
Interface for visibility in layer filter.
Interface implemented by the that you retrieve by the static function
.
public virtual IsVisible( | const | iObject, | |
iLayerNumber | =-1) |
In this case, you want to know whether a layer is visible in the current filter.
In this case, you want to know whether an object is visible in the current filter.
The reference layer filter for the query is the layer filter currently applied on the currently edited object. The currently edited object is the UIActive object in the current editor (CATFrmEditor).
This means an interactive context is needed for this method to work correctly. It may not work correctly if used in a batch context because there will be no current editor and no UIActive objects in editors. In a batch context the method will work fine only if the context contains only one editor and if this editor edits a single object and no assembly (i.e. no hierarchy of UIActivable objects).
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.