Hole Wizard Features and WizardHoleFeatureData2 Objects
You can create a Hole Wizard feature by:
To create a Hole Wizard feature by using an existing hole wizard feature:
Select an existing hole wizard feature to get
its IWizardHoleFeatureData2 object.
Use IFeature::GetDefinition
to get the IWizardHoleFeatureData2 object.
Select the reference entities to use to create
the hole wizard feature.
Use IFeatureManager::CreateFeature
to create the new hole wizard feature.
To create a new Hole Wizard feature :
Use IFeatureManager::CreateDefinition
to create a new WizardHoleFeatureData2 object.
Initialize the feature data object using IWizardHoleFeatureData2::InitializeHole.
Change any default settings using the corresponding
WizardHoleFeatureData2 properties.
Select the reference entities to use to create
the hole wizard feature.
Use IFeatureManager::CreateFeature
to create the new hole wizard feature.