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: 

check whether user select surfaces or not?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
hx
Advocate
400 Views, 2 Replies

check whether user select surfaces or not?

At PowerMILL 2017

can use command to check whether user select surfaces or not?

2 REPLIES 2
Message 2 of 3
5axes
in reply to: hx

INT count = 0
    FOREACH m in folder('model') {
    $count = $count + number_selected(m.Components)
    }
	
MESSAGE INFO "There are " + $count + " surfaces selected."
Message 3 of 3
danmic7JH66
in reply to: 5axes

Nice, I'm going to use that!

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

Post to forums  

Autodesk Design & Make Report