Site Logo
Site Logo
 
It is currently Sun Apr 02, 2017 7:01 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: help please macros not running in powermill autodesk 2017
PostPosted: Thu Dec 01, 2016 8:39 am 
Offline
DELCAM Guru
DELCAM Guru

Joined: Wed Apr 09, 2014 7:43 am
Posts: 131
Hello
i have a big mountain of macros that contains the following things:

CREATE TOOLPATH ; RASTER
STRING $FolderName = dirname(pathname(entity('Toolpath','')))
DELETE TOOLPATH ;

now in 2017 version give me the message "CREATE TOOLPATH ; RASTER command not recognized"

I am desperate: in half of my macros there is this, so I need to replace it with an equivalent.
Can anyone help me? I do nearly all with buttons that have a macro under its.

I saw in autodesk forum a anser like mine , but they simply changed the macro. I need an expression to substitute that three lines.
I think that perhaps the problem is that if I delete use


//CREATE TOOLPATH ; RASTER
STRING $FolderName = active_folder()
//DELETE TOOLPATH ;
It works only in the first toolpaths folder if none is active, or works in the active folder toolpaths

BEFORE I could run the macro on the selected folder and if no folder was active the macro was operating on all toolpaths.
this is something usefull and practical


Thanks to the saint that solve my bad situation!

Daniele


Top
 Profile  
 
 Post subject: Re: help please macros not running in powermill autodesk 201
PostPosted: Tue Dec 06, 2016 11:37 pm 
Offline
DELCAM Staff
DELCAM Staff

Joined: Tue Mar 17, 2009 2:30 pm
Posts: 108
Hi

I think the format of command you are using is very old and has been removed from the latest version. This forum is being closed down. Please can you head over to the Autodesk Knowledge Network and ask your question on the forum over there?

https://forums.autodesk.com/t5/powermill-forum/bd-p/280

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB