HOLEFR ACTIVATE HOLE CS

From Macros Wiki
Jump to: navigation, search

Up

Command

HOLEFR_ACTIVATE_HOLE_CS <hole number> <hole cs> [<new cs>]


Activate a CS from a Hole Feature. If there is an existing CS that is aligned with the hole feature, use that CS. If there is not an aligned CS, create a new CS.
This is similar behaviour to right-clicking on a hole feature and using the Activate CS option from the popup-menu.

Parameters

<hole number>
Hole number
<cs number>
CS number
<new cs>
Optional variable, set to 1 if it is a new CS, 0 if it already exists.

Example

HOLEFR_ACTIVATE_HOLE_CS 4, iC, iNewCS