Cannot retrieve object information for each of the toolpaths selected in the 'string list'

Cannot retrieve object information for each of the toolpaths selected in the 'string list'

kjk04166
Participant Participant
601 Views
2 Replies
Message 1 of 3

Cannot retrieve object information for each of the toolpaths selected in the 'string list'

kjk04166
Participant
Participant

I am a beginner Korean. I need your help...

 

STRING $msg = ""
INT $start_time = 0
INT $tp_time = 0
INT $final_time = 0
INT $count = 0

STRING LIST $calculate_Toolpaths = Input Entity Multiple Toolpath"Select the toolpath to calculate."


INFOBOX NEW "Batch Time Process"
INFOBOX STYLE "NORMAL"

foreach tp in calculate_Toolpaths {

ACTIVATE TOOLPATH $tp

$msg = " TOOLPATH: '" + $tp +"' ->"
INFOBOX APPEND $msg
if not ($tp.Computed) {
if ($tp.batch == 0) {
$msg = " Batch Process Off " + CRLF

 

It's part of the macro I'm making with reference to the forum.

Usually I know you use this phrase. ' foreach $tp in FOLDER ('toolpath') '

but 'string list' prevents 'tp.name' and 'tp.computed' from working. 

 

How shall I do it?

 

0 Likes
Accepted solutions (1)
602 Views
2 Replies
Replies (2)
Message 2 of 3

ondrej.mikulec
Advocate
Advocate
Accepted solution

Hi,

try to use

ENTITY LIST $calculate_Toolpaths = Input Entity Multiple Toolpath"Select the toolpath to calculate."
Message 3 of 3

kjk04166
Participant
Participant

I LOVE YOU 

0 Likes