Rename highlighted workplane without activating macro

Rename highlighted workplane without activating macro

keeganh
Explorer Explorer
559 Views
1 Reply
Message 1 of 2

Rename highlighted workplane without activating macro

keeganh
Explorer
Explorer

I'm having trouble making a macro that grabs the highlighted workplane (non activated) without having to know the name of the workplane.

 

eg.

RENAME Workplane "2"

 

what i want is something like

 

RENAME Workplane " selected workplane" "Orientation Home"

 

any ideas?

0 Likes
Accepted solutions (1)
560 Views
1 Reply
Reply (1)
Message 2 of 2

TK.421
Advisor
Advisor
Accepted solution

this'll do it:

 

FOREACH wp IN explorer_selected_entities() {
    RENAME WORKPLANE $wp.name "new name"
}


the numbers never lie