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: 

Need macro help! Translate workplane to world

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
johnc4668
658 Views, 3 Replies

Need macro help! Translate workplane to world

We recently took on overflow work from a customer and there workplanes are in the right spot but its not in world position. I know how to do it manually in powermill but i was wondering if you can do it with a macro instead? Any help would be great, thanks! 

 

2019-01-16_8-27-42.jpg

3 REPLIES 3
Message 2 of 4
richard.pedley
in reply to: johnc4668

Something like:

 

ACTIVATE WORKPLANE ${Folder('workplane')[0]}
TRANSFORM RESET TRANSFORM TYPE WORLD TRANSFORM MODEL ALL

Should work.

 

Hope that helps

 

Richard



Richard Pedley
Research Engineer
Message 3 of 4
johnc4668
in reply to: richard.pedley

@richard.pedley work beautifully, thanks!

Message 4 of 4
karan30782
in reply to: richard.pedley

HI !

how could I do it for multiple models in the project.

Suppose I have 10 models in the same project.

So, How can I use FOREACH or WHILE or LOOP command ?

 

Thanks ,

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

Post to forums  

Autodesk Design & Make Report