get item from SelectSet in c#

get item from SelectSet in c#

petrxn
Advocate Advocate
1,605 Views
2 Replies
Message 1 of 3

get item from SelectSet in c#

petrxn
Advocate
Advocate

Hello,

could somebode help me how to get an item from SelectSet (or ObjectCollection) in C#? In VBA is possible to get item by method Item(ID), but in C# SelectSet[ID] (or ObjectCollection[ID] ) does not get me any result.

 

Thank you

0 Likes
Accepted solutions (1)
1,606 Views
2 Replies
Replies (2)
Message 2 of 3

Vladimir.Ananyev
Alumni
Alumni
Accepted solution

Could you please look at these posts:

Using C# with the Inventor API

http://modthemachine.typepad.com/my_weblog/2010/07/using-c-with-the-inventor-api-part-1.html

http://modthemachine.typepad.com/my_weblog/2010/08/using-c-with-the-inventor-api-part-2.html


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 3

petrxn
Advocate
Advocate

Thank you, I see my mistake, I did not know that these collection are not zero basedSmiley Wink

 

 

,

Petr

0 Likes