- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
Hello,
I want change the hole type (for example from simply hole to tap hole),
but if I found a IFMPointListPattern instead of an IFMHole, how can I get the Feature in the list ?
private void CompareCSVlinesFeatures()
{
foreach (FMSetup setup in doc.Setups)
{
if (setup.Enabled == true)
{
setup.Activate();
foreach (FMFeature feature in setup.Features)
{
if (feature.Enabled == true)
{
if (feature is IFMHole)
{
//MessageBox.Show("Feature hole found: " + feature.Name); // Hole is found, all okay
}
else if (feature is IFMPointListPattern)
{
// IFMPointListPattern ######## How can I get the Feature of it, to change the type ???
}
}
}
}
}
}
}
}
Best regards
Maurizio Manzi
¡Resuelto! Ir a solución.