Problem with script

Problem with script

roger.olofsson
Enthusiast Enthusiast
703 Views
1 Reply
Message 1 of 2

Problem with script

roger.olofsson
Enthusiast
Enthusiast

 

Hi,

 

I have a script that I just can't get to work.

The workflow is that first I use a script that export a textfile with the names of selectionset in a scene and its members, it works fine. I have attached a textfile called SelectionSetFile.txt that shows the format of the file. (Name of the selectionset followed by the object names) 

 

I then have a script called SelectionSetsImport and tha tis the script that doesn't work (it was worked before). It reads the created text file end lets the user recreate selectionset in a new scene. What I can see it is the line

skipToString OpenTextFil "Selection set:"  that doesn't behave as I want.

 

Input is greately appreciated,

 

Thanks,

Roger

 

0 Likes
Accepted solutions (1)
704 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

I ran your scripts but used my own objects and my own generated text file using your program.

I had no problems.