Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unit ApplyCustomScriptedFilter;
- function Filter(e: IInterface): Boolean;
- begin
- Result := ElementExists(e, 'Power Grid');
- end;
- function Initialize: Integer;
- begin
- FilterConflictAll := False;
- FilterConflictThis := False;
- FilterByInjectStatus := False;
- FilterInjectStatus := False;
- FilterByNotReachableStatus := False;
- FilterNotReachableStatus := False;
- FilterByReferencesInjectedStatus := False;
- FilterReferencesInjectedStatus := False;
- FilterByEditorID := False;
- FilterEditorID := '';
- FilterByName := False;
- FilterName := '';
- FilterByBaseEditorID := False;
- FilterBaseEditorID := '';
- FilterByBaseName := False;
- FilterBaseName := '';
- FilterScaledActors := False;
- FilterByPersistent := False;
- FilterPersistent := False;
- FilterUnnecessaryPersistent := False;
- FilterMasterIsTemporary := False;
- FilterIsMaster := False;
- FilterPersistentPosChanged := False;
- FilterDeleted := False;
- FilterByVWD := False;
- FilterVWD := False;
- FilterByHasVWDMesh := False;
- FilterHasVWDMesh := False;
- FilterBySignature := False;
- FilterSignatures := '';
- FilterByBaseSignature := False;
- FilterBaseSignatures := '';
- FlattenBlocks := False;
- FlattenCellChilds := False;
- AssignPersWrldChild := False;
- InheritConflictByParent := True; // color conflicts
- FilterScripted := True; // use custom Filter() function
- ApplyFilter;
- Result := 1;
- end;
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement