Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
I'm trying to figure out the correct usage of the Design class select() method. Whenever I specify in select() a value for conditionList, sortList, or classList, the propertySets iterator hasNext() returns false. Any help as to what I'm doing wrong would be appreciated. I could not find an example of using this method.
Condition [] conditionList = new Condition [1];
conditionList[0] = new SimpleCondition ("type", "==", "DOCUMENT!dwg_sheet");
SortSpec [] sortList = new SortSpec [1];
sortList[0] = new SortSpec ("DOCUMENT!dwg_sheet", true);
String [] classList = new String[1];
classList[0] = new String ("rsdesigner.design.Sheet");
SelectFilter preFilter = null;
SelectFilter postFilter = null;
Iterator propertySets = design.select(conditionList, sortList, classList, preFilter, postFilter);
TIA,
Bob Monat
Jerand Technical Services
www.jerand.com
1-317-875-6087 US Tollfree 1-888-4JERAND (1-888-453-7263)
FAX 1-317-875-6612