Hi everyone
I created a macro to import the block model choosing from 3d files.
EDIT BLOCK RESET
DELETE BLOCK
STRING File_B = ''
$File_B = FILESELECT "SELECT BLOCK FILE"
GET BLOCK $File_B
STRING Msg = "Select Toolpath to change block, and press"+crlf+"RESUME when ready to continue"
MACRO PAUSE $Msg
FOREACH tp IN explorer_selected_entities() {
INVALIDATE TOOLPATH NOQUERY $tp.name
$tp.Block = $Block
}
Unfortunately I have error as seen in picture below.
Where is the error?
Thank you all for your attention and help
Solved! Go to Solution.
Solved by kevin.hammond3WX4X. Go to Solution.
Try this, worked for me
EDIT BLOCK RESET
DELETE BLOCK
EDIT BLOCKTYPE TRIANGLES
STRING File_B = ''
$File_B = FILESELECT "SELECT BLOCK FILE"
GET BLOCK $File_B
STRING Msg = "Select Toolpath to change block, and press"+crlf+"RESUME when ready to continue"
MACRO PAUSE $Msg
FOREACH tp IN explorer_selected_entities() {
INVALIDATE TOOLPATH NOQUERY $tp.name
$tp.Block = $Block
}
Can't find what you're looking for? Ask the community or share your knowledge.