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 hole wizard feature by creating the IWizardHoleFeatureData2
object :
Use IFeatureManager::CreateDefinition
to create a new IWizardHoleFeatureData2 object.
Initialize the feature data object using IWizardHoleFeatureData2::InitializeHole.
Change any default settings using the corresponding
IWizardHoleFeatureData2 properties.
Select the reference entities to use to create
the hole wizard feature.
Create the hole wizard feature using IFeatureManager::CreateFeature.