Community
PowerMill Forum
Welcome to Autodesk’s PowerMill Forums. Share your knowledge, ask questions, and explore popular PowerMill topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
kjk04166
288 Views, 2 Replies

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

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?

 

Labels (1)
2 REPLIES 2
Message 2 of 3
ondrej.mikulec
in reply to: kjk04166

Hi,

try to use

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

I LOVE YOU 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report