View unanswered posts | View active topics It is currently Thu Aug 06, 2020 1:47 am



Reply to topic  [ 2 posts ] 
Loop throughout folders 
Author Message

Joined: Tue Jun 10, 2014 3:06 pm
Posts: 35
Hello,

I used to run a script which call QDirIterator, but it seems the last releases do not accept anymore this Qt function!

Is there an other way to loop throughout folders?

The error message: " ReferenceError: Can't find variable: QDirIterator"

The code which was working previously:

Code:
var it= new QDirIterator("F:\\TLiDAR2\\Processed_data\\Cameroun\\Alpicam\\traitement");
print(it.path());
var i=-1
while (it.hasNext())
{

}




Cheers


Wed Feb 15, 2017 11:09 am
Profile

Joined: Thu Feb 12, 2015 1:05 pm
Posts: 22
Hello,

The QDirIterator is not available anymore.
You can use a batch import.
Have a look at the example here:https://github.com/3DReshaper/Scripts/tree/master/Utils
You can dowload and use this example freely.

_________________
jennifer.ludwig@hexagon.com


Wed Feb 15, 2017 12:19 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.