Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Selecting a RevolveFeature

0 REPLIES 0
Reply
Message 1 of 1
bravaiser
136 Views, 0 Replies

Selecting a RevolveFeature

Is it possible to select a RevolveFeature from a SelectSet, I am getting an error that is not implemented as such. Maybe I am doing something wrong

 

RevolveFeature[] oRevolve = new RevolveFeature[oDoc.SelectSet.Count];

int pointcount = 0;

foreach (RevolveFeature wk in oDoc.SelectSet)
{
    if (wk is RevolveFeature)
    {
        oRevolve[pointcount] = wk;
        pointcount++;

    }
}

oDoc.SelectSet.Clear();

for (int i = 1; i < pointcount; i++)
{
oDoc.SelectSet.Select(oRevolve[i]);
}

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report