| Object type issues [message #1067642] |
Tue, 09 July 2013 14:50  |
lin zhang Messages: 2 Registered: July 2013 |
Junior Member |
|
|
I am very new to QVTo, recently I got this very issue:
I created a model with two BranchRecord and one LoadRecord, totally three objects.
log(lsein.objects()->size().toString());
log(lsein.objects()[BranchRecord]->size().toString());
log(lsein.objectsOfType(LoadRecord)->size().toString());
for these three lines of code, I am supposed to get
3
2
1
Instead I got
3
0
0.
Does anyone know why?
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01977 seconds