現在の選択フィルタの取得

 
 
 
// C++ API
Selection sel( Application().GetSelection() );
Filter myFilter = sel.GetFilter();

// C#
CXSIApplication app = new CXSIApplication();
Selection sel = app.Selection;
Filter myFilter = sel.Filter;

// JScript
var sel = Selection;
var myFilter = sel.Filter;

' VBScript
set sel = Selection
set myFilter = sel.Filter

# Python
sel = Application.Selection
myFilter = sel.Filter