🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Dinamically setting directory path throws: wrong parameter range format

User: "RPDECO"
New Altair Community Member
Updated by Jocelyn
I'm using RM 7.0.1 version with the parallel extension. I'm trying to set a path dinamically over multiple threads

i've got a basepath, inside the basepath there are N folders called just 1..2..N
I've made a macro that generates the base path and a loop parameters (parallel) operator that should dinamically set the 'directory' field of a loop file operator inside to navigate one of the inside folders according to thread.

in the loop parameters  (parallel) i've made a list of values for the interior loop files operator like this:
%{basepath}\1\
%{basepath}\2\
%{basepath}\...\
%{basepath}\N\

assume basepath was set previously in a macro to a value like: C:\My\Path, and we're using only subfolders 1 and 2,  what I get is an error:
PM SEVERE: Process failed: Illegal value for parameter Loop Files.directory: Unknown parameter value specification format: ' C:\My\Path\1\, C:\My\Path\2\' Error: wrong parameter range format.
 
(the path printed to the console are the actual, existing and correct paths that needs to be iterated






Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "MartinLiebig"
    Altair Employee
    Accepted Answer
    Hi @RPDECO ,
    most of the loops are moved to parallel execution in like 8.2 or so. This also involves a better thread handling then before. So: Yes. Just use the normal Loop for it.

    Cheers,
    Martin